Browse Source

其他史模板为空容错,样式修改

zhouna 6 years ago
parent
commit
85a495d05e

+ 1 - 0
src/common/components/MiniToast/index.less

@@ -18,6 +18,7 @@
     .closeIcon{
       // vertical-align: middle;
       float: right;
+      cursor: pointer;
     }
   }
   .infoCon{

+ 1 - 0
src/components/AssessResult/index.less

@@ -156,6 +156,7 @@
   border-radius: 4px;
   cursor: auto;
   margin-top: 15px;
+  cursor: pointer;
 }
 .textareaStatic {
   display: none;

+ 1 - 0
src/components/ChronicInfo/index.less

@@ -271,4 +271,5 @@
     border-radius: 4px;
     cursor: auto;
     margin-top: 15px;
+    cursor: pointer;
   }

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

@@ -181,7 +181,7 @@ export function setOtherHisModule(){
     const state = getStore();
     const initData = state.homePage.initData;
     const mode = state.typeConfig.typeConfig;
-    const model = JSON.parse(JSON.stringify(initData.otherHisModel));     //查体模板
+    const model = JSON.parse(JSON.stringify(initData.otherHisModel || null));     //查体模板
     const arr = JSON.parse(JSON.stringify(initData.otherHis || null));        //最近其他史数据
     const arrSave = JSON.parse(JSON.stringify(initData.otherHisSave || null));    //最近其他史saveText
     const selects = JSON.parse(JSON.stringify(initData.otherSelecteds || null));  //其他史杂音类选中项