소스 검색

不获取慢病列表

zhouna 5 년 전
부모
커밋
1d4260a38c
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      src/components/DiagnosticItem/index.jsx
  2. 1 1
      src/modules/HomePage/index.jsx

+ 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') {      //文本模式不走慢病。6.0慢病取消
+         /*if(item.type == 2&&mode=='0') {      //文本模式不走慢病。6.0慢病取消
              isChronicMag(item);
-         }
+         }*/
          addDiagnostic&&addDiagnostic(item);
          clearInput&&clearInput();
          hideSearch&&hideSearch();

+ 1 - 1
src/modules/HomePage/index.jsx

@@ -33,7 +33,7 @@ class HomePage extends Component {
         clearAddItems();
         //获取配置
         getConfig();
-        getChronicList&&getChronicList();//获取慢病列表
+        //getChronicList&&getChronicList();//获取慢病列表
         // 获取并监听窗口宽度,用于有横向滚动条时患者信息和打印预览跟随滚动
         let width = $(window).width();
         let height = $(window).height();