浏览代码

医院审批可以重复审核

lighter 9 月之前
父节点
当前提交
3b770d7e37
共有 1 个文件被更改,包括 4 次插入8 次删除
  1. 4 8
      src/views/medical-insurance/inpatient/HospitalApproveVerify.vue

+ 4 - 8
src/views/medical-insurance/inpatient/HospitalApproveVerify.vue

@@ -38,7 +38,7 @@
         <el-table-column>
           <template #default="scope">
             <el-button type="success" circle icon="Check" @click="approve(scope.row)" :disabled="scope.row.applyStatus === 1"></el-button>
-            <el-button type="danger" circle icon="Close" @click="reject(scope.row)" :disabled="scope.row.applyStatus === 1"></el-button>
+            <el-button type="danger" circle icon="Close" @click="reject(scope.row)"></el-button>
           </template>
         </el-table-column>
       </el-table>
@@ -51,8 +51,9 @@ import maleIcon from '@/assets/male-icon.png'
 import femaleIcon from '@/assets/female-icon.png'
 import {computed, onMounted, ref, Ref} from "vue";
 import {getAllApplies, confirmHandleApply} from '@/api/medical-insurance/hospital-approval.js'
-import {ElMessage, ElMessageBox} from "element-plus";
+import {ElMessageBox} from "element-plus";
 import {formatMonth} from "@/utils/date";
+import {xcMessage} from "@/utils/xiaochan-element-plus";
 
 interface ApplyItem {
   name: string
@@ -123,12 +124,7 @@ const reject = (row: ApplyItem): void => {
 
 const executeHandle = (row: ApplyItem): void => {
   confirmHandleApply(row).then(res => {
-    ElMessage({
-      message: res,
-      type: 'success',
-      duration: 2500,
-      showClose: true
-    })
+    xcMessage.success(res)
   })
 }