Bladeren bron

删除随访计划参数

luolei 4 jaren geleden
bovenliggende
commit
08d7b04c33
2 gewijzigde bestanden met toevoegingen van 7 en 4 verwijderingen
  1. 5 2
      src/store/reducers/newAdvice.js
  2. 2 2
      src/utils/config.js

+ 5 - 2
src/store/reducers/newAdvice.js

@@ -150,10 +150,13 @@ export default (state = initSearchList, action) => {
             newState.labelListBig = [...tempArr]
         }else if(tmpLis&&tmpLis.flg == 6){
             tempArrs = tempArrs.filter((item,idx)=> {
+                if(item['hasTreat'] = 1){
+                    newState.operationName = {}
+                }
                 if(action.tip != idx){
                     return item
                 }
-            } )
+            })
             for(let i = 0;i < tempArrs.length;i++){
                 if(!tempArrs[i].hasTreat){
                     ++num
@@ -174,7 +177,7 @@ export default (state = initSearchList, action) => {
                 if(action.tip != idx){
                     return item
                 }
-            } )
+            })
             newState.labelListBlood = [...tmpArr]
         }
         tempBigOrder = tempArr.filter((item)=>item.check)

+ 2 - 2
src/utils/config.js

@@ -13,6 +13,6 @@ module.exports={
     prefix:'',            //带权限验证的api
     pushPage:'http://192.168.2.241:5488/icssIndex.html',        //右侧推送页面的地址
     imageUrlPrefix,
-    pushPage2:'http://192.168.2.241:5654/cdss.html',        //右侧推送页面的地址
-    // pushPage2:'http://localhost:8080/cdss.html',        //右侧推送页面的地址
+    // pushPage2:'http://192.168.2.241:5654/cdss.html',        //右侧推送页面的地址
+    pushPage2:'http://localhost:8080/cdss.html',        //右侧推送页面的地址
 };