Bladeren bron

修复工伤登记

lighter 2 jaren geleden
bovenliggende
commit
730bb56361
1 gewijzigde bestanden met toevoegingen van 17 en 18 verwijderingen
  1. 17 18
      src/views/medical-insurance/inpatient/AdmissVerification.vue

+ 17 - 18
src/views/medical-insurance/inpatient/AdmissVerification.vue

@@ -289,27 +289,26 @@ export default {
         type: 'warning',
         confirmButtonText: '确定',
         cancelButtonText: '取消',
-      })
-        .then(() => {
-          const param = {
-            baseinfo: patient.value,
-            injuryinfo: row,
-          }
-          admissRegistration(param).then((res) => {
-            currentApply.value.status = 1
-            currentApply.value.handleComment = '同意办理'
-            handleApply(currentApply.value).then((res) => {
-              ElMessage({
-                message: '审核已通过,医保入院登记成功。',
-                type: 'success',
-                duration: 2500,
-                showClose: true,
-              })
-              showPsnInsuinfo.value = false
+      }).then(() => {
+        row.patNo = patient.value.inpatientNo
+        row.times = patient.value.admissTimes
+        row.ledgerSn = patient.value.ledgerSn
+        row.aka130 = '42'
+        row.bka003 = '420'
+        admissRegistration(row).then((res) => {
+          currentApply.value.status = 1
+          currentApply.value.handleComment = '同意办理'
+          handleApply(currentApply.value).then((res) => {
+            ElMessage({
+              message: '审核已通过,医保入院登记成功。',
+              type: 'success',
+              duration: 2500,
+              showClose: true,
             })
+            showPsnInsuinfo.value = false
           })
         })
-        .catch(() => {})
+      }).catch(() => {})
     }
 
     const handleClickInsuinfo = (row) => {