Browse Source

去掉慢病流程

zhouna 5 years ago
parent
commit
56a4a5efa2

+ 2 - 2
src/components/DiagnosticItem/index.jsx

@@ -71,9 +71,9 @@ class DiagnosticItem extends Component{
         const {item, isChronicMag,mode,EMRScrollCont,type,addDiagnostic, clearInput, hideSearch} = this.props;
         item.type = diagType;
 
-         if(item.type == 2&&mode=='0') {      //文本模式不走慢病
+         /*if(item.type == 2&&mode=='0') {      //文本模式不走慢病。6.0慢病取消
              isChronicMag(item);
-         }
+         }*/
          addDiagnostic&&addDiagnostic(item);
          clearInput&&clearInput();
          hideSearch&&hideSearch();

+ 3 - 3
src/components/MainSuit/index.jsx

@@ -232,14 +232,14 @@ class MainSuit extends Component{
         if(res.data.code==0){
           const result = res.data.data;
           // 慢病
-          if(result && result[0].chronicLabel==1){
+          /*if(result && result[0].chronicLabel==1){
             let flg = this.ifClear();
             if(!flg){
               saveChronic && saveChronic(result[0]);
             }
-          }else{
+          }else{*/
             getSymptomFeature && getSymptomFeature(result);
-          }
+          //}
         }
       })
     }

+ 1 - 1
src/store/async-actions/pushMessage.js

@@ -252,7 +252,7 @@ export const getConceptDetail = (item,noTips,noDetails,noNotify) => {
                           flag:true
                         });
                     }
-                    document.getElementById("tipsMsg").scrollIntoView(true)
+                    //document.getElementById("tipsMsg").scrollIntoView(true)
                     //点击i同时打开详情弹窗 点击诊断名称不打开弹窗
                     if(!noDetails) {
                       dispatch({