Parcourir la source

医保身份审核可以强制审核通过

lighter il y a 3 ans
Parent
commit
699862629d
1 fichiers modifiés avec 25 ajouts et 3 suppressions
  1. 25 3
      src/views/medical-insurance/inpatient/MedInsVerification.vue

+ 25 - 3
src/views/medical-insurance/inpatient/MedInsVerification.vue

@@ -1,6 +1,6 @@
 <template>
   <el-container>
-    <el-header style="height: 35px">
+    <el-header style="height: 80px">
       <el-select size="small" v-model="patient.medType" placeholder="请选择医疗类别" style="width: 145px">
         <el-option v-for="item in medTypes" :key="item.code" :label="item.name" :value="item.code"></el-option>
       </el-select>
@@ -11,7 +11,10 @@
       <el-button style="margin-left: 10px" type="primary" icon="el-icon-tickets" @click="getPsnInsuinfo(1)">待遇检查</el-button>
       <el-button type="success" icon="el-icon-check" @click="getPsnInsuinfo(2)">审核通过</el-button>
       <el-button type="danger" icon="el-icon-close" @click="reject">审核不通过</el-button>
-      <el-button type="primary" icon="el-icon-refresh-left" @click="showDrawer">取消医保登记审核</el-button>
+      <div style="margin-top: 4px; margin-left: 300px">
+        <el-button type="primary" icon="el-icon-refresh-left" @click="showDrawer">取消登记审核</el-button>
+        <el-button type="warning" icon="el-icon-edit" @click="forceApprove">强制审核通过</el-button>
+      </div>
     </el-header>
     <el-main>
       <div class="his-info">
@@ -171,7 +174,7 @@
         </div>
       </el-dialog>
       <el-dialog title="人员待遇信息" v-model="showTrtInfos" width="65%">
-        <el-table :data="trtInfos" stripe>
+        <el-table :data="trtInfos" stripe height="360">
           <el-table-column label="人员编号" prop="psnNo"></el-table-column>
           <el-table-column label="待遇检查类型" prop="trtChkTypeName"></el-table-column>
           <el-table-column label="基金支付类型" prop="fundPayTypeName"></el-table-column>
@@ -468,6 +471,24 @@ export default {
       }
     }
 
+    const forceApprove = () => {
+      ElMessageBox.confirm('确认将此患者的审核状态更改为【已审核】吗?', {
+        title: '提示',
+        type: 'warning',
+      })
+        .then(() => {
+          approveYbsf(patient.value).then(() => {
+            ElMessage({
+              message: '操作成功。',
+              type: 'success',
+              duration: 2500,
+              showClose: true,
+            })
+          })
+        })
+        .catch(() => {})
+    }
+
     onMounted(() => {
       getMedTypesByFlag('hospitalization').then((res) => {
         medTypes.value = res
@@ -510,6 +531,7 @@ export default {
       showDrawer,
       handleClickRow,
       beforeHandleRequest,
+      forceApprove,
     }
   },
 }