Prechádzať zdrojové kódy

清空等条件判断

zhouna 6 rokov pred
rodič
commit
2897015cc3
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  1. 3 2
      src/utils/tools.js

+ 3 - 2
src/utils/tools.js

@@ -601,8 +601,9 @@ function isAllClear(jsonData,jsonStr,baseList){
     jsonData.chief.length < 1 &&
     jsonData.present.length < 1 &&
     // jsonData.other.length < 1 && 
-    (jsonData.other.length > 0 ? baseList.checkBody.isEmpty : true) &&
-    jsonData.vital.length < 1 &&
+    (jsonData.other.length > 0 ? baseList.otherHistory.isEmpty : true) &&
+    //jsonData.vital.length < 1 &&
+    (jsonData.vital.length > 0 ? baseList.checkBody.isEmpty : true) &&
     jsonData.diag.length < 1 &&
     jsonData.pacs.length < 1 &&
     jsonData.lis.labelList.length < 1 &&