Browse Source

其他史数据判断补充

Luolei 6 years ago
parent
commit
f18aff0c73
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/utils/tools.js

+ 1 - 2
src/utils/tools.js

@@ -585,13 +585,12 @@ function didPushParamChange(){
 }
 //判断页面所有数据是否为空
 function isAllClear(jsonData,jsonStr,baseList){
-  console.log(baseList.checkBody.isEmpty)
   if (      //结构化和文本数据都为空
     JSON.stringify(jsonData.advice) == '{}' &&
     jsonData.chief.length < 1 &&
     jsonData.present.length < 1 &&
     // jsonData.other.length < 1 && 
-    baseList.checkBody.isEmpty &&
+    (jsonData.other.length > 0 ? baseList.checkBody.isEmpty : true) &&
     jsonData.vital.length < 1 &&
     jsonData.diag.length < 1 &&
     jsonData.pacs.length < 1 &&