Browse Source

解决审问题

lihong 2 years ago
parent
commit
40c8eff758

+ 8 - 8
src/components/si-sheet-upload/jie-suan-dan-xiu-gai/JieSuanDanXiangQing.vue

@@ -699,7 +699,7 @@ function createSaveData(newData,flag) {
     data['saveAuditPassFlag'] = flag? flag : ''
     data.batjBa4 = oprninfo.value
     data.ybZyDisDiag = diseinfo.value
-   return {data}
+   return data
 }
 //病案首页效验
 function bingAnShouYeXiaoYan(flag) {
@@ -709,18 +709,18 @@ function bingAnShouYeXiaoYan(flag) {
     }
     forceVerifies.value = []
     adviceVerifies.value = []
-    let newData = {
-        decType: setlinfo.value.decType,
-        operation: setlinfo.value.operation,
-        diseinfo: diseinfo.value,
-        oprninfo: oprninfo.value,
-    }
     sheetVerification(sheetVerificationParam).then((res) => {
         if( !listIsBlank(res.force) ){
             forceVerifies.value = res.force
             adviceVerifies.value = res.advice
             showMessageDrawer.value  = true
         }else {
+            let newData = {
+                decType: setlinfo.value.decType,
+                operation: setlinfo.value.operation,
+                diseinfo: diseinfo.value,
+                oprninfo: oprninfo.value,
+            }
             let data =  createSaveData(newData,flag)
             baoCunXiuGaiData.value = data
             beiZhuRef.value = true
@@ -894,9 +894,9 @@ const qualityTest = () => {
   newData.decType=setlinfo.value.decType
   newData.operation=setlinfo.value.operation
   qualityData.value = []
+    qualityDialogFlag.value = true
   drgQualityTest(newData).then((res) => {
     if(res.length > 0){
-      qualityDialogFlag.value = true
       qualityData.value = res
     }
   })