Luolei 6 سال پیش
والد
کامیت
627af49717
2فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  1. 0 1
      src/store/async-actions/homePage.js
  2. 0 4
      src/utils/tools.js

+ 0 - 1
src/store/async-actions/homePage.js

@@ -86,7 +86,6 @@ export const getInitModules= (dispatch,getStore)=>{
             // 慢病现病史没有空模板
           });
         }
-
         dispatch(getOtherHisRecord());          //获取其他史最近记录
       }
     })

+ 0 - 4
src/utils/tools.js

@@ -856,12 +856,10 @@ function inspectAndAssist(){
   const state = store.getState();
   let mainType = state.typeConfig.typeConfig
   if(mainType == 1){return}//文本模式不放化验辅检的模板
-
   let tmpAll = state.homePage.allModules;
   let tmpInspected = state.inspect.labelList;
   let tmpAssisted = state.assistCheck.assistLabel;
   let tmpInspect = [],tmpAssist = [],assayArr = [],tmpDetail=[],checkArr = [];
-
   for(let i = 0;i < tmpAll.length;i++){
     let tmpItem = tmpAll[i];
     if(tmpItem.type == 5){
@@ -877,7 +875,6 @@ function inspectAndAssist(){
       questionId: '',
       showType: 1,
     }
-    // let tmpObj = JSON.parse(JSON.stringify(obj));
     if (tmpInspect[i].controlType == 0) {
       tmpDetail = tmpInspect[i].questionMapping
     }else if(tmpInspect[i].controlType == 1 || tmpInspect[i].controlType == 6){
@@ -896,7 +893,6 @@ function inspectAndAssist(){
       time:getCurrentDate(),
       value:''
     }
-    // let tmpObj = JSON.parse(JSON.stringify(obj1));
     tmpObj.questionId = tmpAssist[i].id
     tmpObj.name = tmpAssist[i].name
     checkArr.push(tmpObj)