فهرست منبع

医保出院审核记录所有审核条目

lighter 2 سال پیش
والد
کامیت
e950d7070b

+ 9 - 8
src/views/medical-insurance/inpatient/DiscSettlement.vue

@@ -392,7 +392,7 @@ const closeActOrder = () => {
   dismissCalMsg.value = ''
   showActOrders.value = false
 }
-const executeDismissCalculate = (midSetl, disdate) => {
+const executeDismissCalculate = (midSetl, disdate, sortNo) => {
   showPreDischargeErrors.value = false
   dismissCalculate(patient.value).then(() => {
     settleApply.value.patNo = patient.value.inpatientNo
@@ -403,6 +403,7 @@ const executeDismissCalculate = (midSetl, disdate) => {
     settleApply.value.acctUsedFlag = '0'
     settleApply.value.deathFlag = patient.value.deathFlag
     settleApply.value.inputComment = midSetl ? null : '医嘱离院。'
+    settleApply.value.sortNo = sortNo
     showSettleApplyForm.value = true
   }).catch((res2) => {
     if (res2.code && res2.code === 1004) {
@@ -429,12 +430,12 @@ const cancelDischarge = () => {
   setlDatetime.value = ''
 }
 
-const preDischarge = (midSetl, settleDatetime) => {
+const preDischarge = (midSetl, settleDatetime, sortNo) => {
   if (midSetl) {
-    executeDismissCalculate(midSetl, settleDatetime)
+    executeDismissCalculate(midSetl, settleDatetime, sortNo)
   } else {
     powersiPreDischarge(makeVisitId()).then(() => {
-      executeDismissCalculate(midSetl, settleDatetime)
+      executeDismissCalculate(midSetl, settleDatetime, sortNo)
     }).catch((e) => {
       setlDatetime.value = settleDatetime
       preDischargeErrors.value = e.data
@@ -467,11 +468,11 @@ const beforeSettle = (midSetl) => {
         closeOnPressEscape: false
       }).then(() => {
         patient.value.deathFlag = false
-        preDischarge(midSetl, res.settleDatetime)
+        preDischarge(midSetl, res.settleDatetime, res.sortNo)
       }).catch((action) => {
         if (action === 'cancel') {
           patient.value.deathFlag = true
-          preDischarge(midSetl, res.settleDatetime)
+          preDischarge(midSetl, res.settleDatetime, res.sortNo)
         }
       })
     } else {
@@ -513,10 +514,10 @@ const beforeSettle = (midSetl) => {
                 cancelButtonText: '患者已死亡'
               }).then(() => {
                 patient.value.deathFlag = false
-                executeDismissCalculate(midSetl, res.settleDatetime)
+                executeDismissCalculate(midSetl, res.settleDatetime, res.sortNo)
               }).catch(() => {
                 patient.value.deathFlag = true
-                executeDismissCalculate(midSetl, res.settleDatetime)
+                executeDismissCalculate(midSetl, res.settleDatetime, res.sortNo)
               })
             }
           })

+ 25 - 26
src/views/medical-insurance/inpatient/SettleVerification.vue

@@ -1,10 +1,10 @@
 <template>
   <page-layer>
     <template #header>
-      <el-select v-model="medType" placeholder="医疗类别" style="width: 145px" clearable>
+      <el-select v-model="medType" placeholder="医疗类别" style="width: 100px" clearable>
         <el-option v-for="item in trueMedTypes" :key="item.code" :label="item.name" :value="item.code"></el-option>
       </el-select>
-      <el-select v-model="statusFlag" placeholder="审核状态" style="width: 100px" clearable>
+      <el-select v-model="statusFlag" placeholder="审核状态" style="width: 90px" clearable>
         <el-option v-for="item in statusFlags" :key="item.code" :label="item.name" :value="item.code"></el-option>
       </el-select>
       <el-divider direction="vertical"></el-divider>
@@ -29,6 +29,7 @@
             <span v-html="getStatusFlag(scope.row.status, scope.row.patNo)"></span>
           </template>
         </el-table-column>
+        <el-table-column prop="sortNo" label="序号" width="45"></el-table-column>
         <el-table-column prop="wardName" label="病房" width="110"></el-table-column>
       </el-table>
     </template>
@@ -240,30 +241,28 @@ export default {
     const currentRow = ref({})
     const handleClickSettleApply = (row) => {
       store.commit('ptnt/setInjuryMode', row.medType === '42')
-      selectPatientInfo(row)
-        .then((res) => {
-          currentRow.value = row
-          patient.value = res.patient
-          currentApply.value = res.apply
-          zyInYbDiags.value = res.indiags
-          zyDisDiags.value = res.disdiags
-          zySurgeries.value = res.surgeries
-          if (res.warning) {
-            ElMessage({
-              message: res.warning,
-              type: 'warning',
-              duration: 6000,
-              showClose: true,
-            })
-          }
-        })
-        .catch(() => {
-          patient.value = {}
-          currentApply.value = {}
-          zyInYbDiags.value = []
-          zyDisDiags.value = []
-          zySurgeries.value = []
-        })
+      selectPatientInfo(row).then((res) => {
+        currentRow.value = row
+        patient.value = res.patient
+        currentApply.value = res.apply
+        zyInYbDiags.value = res.indiags
+        zyDisDiags.value = res.disdiags
+        zySurgeries.value = res.surgeries
+        if (res.warning) {
+          ElMessage({
+            message: res.warning,
+            type: 'warning',
+            duration: 6000,
+            showClose: true,
+          })
+        }
+      }).catch(() => {
+        patient.value = {}
+        currentApply.value = {}
+        zyInYbDiags.value = []
+        zyDisDiags.value = []
+        zySurgeries.value = []
+      })
     }
 
     const beforeHandleApply = (approve) => {