Browse Source

清空等条件判断

zhouna 6 năm trước cách đây
mục cha
commit
2897015cc3
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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 &&