1:枚举替换,2:新增格式化函数来优化金额显示,3:新增格式化函数,4:表格状态标识优化

This commit is contained in:
wangjian963
2026-02-28 17:48:28 +08:00
parent a05b3a8d3c
commit 6add091a7b
2 changed files with 38 additions and 47 deletions

View File

@@ -47,22 +47,22 @@
<el-table-column label="申请医生" prop="applyDocName" width="120" align="center" header-align="center" />
<el-table-column label="急" width="60" align="center" header-align="center">
<template #default="scope">
<el-checkbox :model-value="scope.row.priorityCode" disabled />
<el-icon v-if="scope.row.priorityCode == 1" color="#409EFF" :size="18"><Check /></el-icon>
</template>
</el-table-column>
<el-table-column label="收费" width="60" align="center" header-align="center">
<template #default="scope">
<el-checkbox :model-value="scope.row.applyStatus" disabled />
<el-icon v-if="scope.row.applyStatus == 1" color="#409EFF" :size="18"><Check /></el-icon>
</template>
</el-table-column>
<el-table-column label="退费" width="60" align="center" header-align="center">
<template #default="scope">
<el-checkbox :model-value="scope.row.needRefund" disabled />
<el-icon v-if="scope.row.needRefund" color="#409EFF" :size="18"><Check /></el-icon>
</template>
</el-table-column>
<el-table-column label="执行" width="60" align="center" header-align="center">
<template #default="scope">
<el-checkbox :model-value="scope.row.needExecute" disabled />
<el-icon v-if="scope.row.needExecute" color="#409EFF" :size="18"><Check /></el-icon>
</template>
</el-table-column>
<el-table-column label="金额" prop="amount" width="90" align="center" header-align="center">
@@ -489,7 +489,7 @@
<script setup>
import {onMounted, reactive, ref, watch} from 'vue'
import {ElMessage, ElMessageBox} from 'element-plus'
import { DocumentChecked, Plus, Document, Printer, Delete } from '@element-plus/icons-vue'
import { DocumentChecked, Plus, Document, Printer, Delete, Check } from '@element-plus/icons-vue'
import {
checkInspectionApplicationNo,
deleteInspectionApplication, getApplyList,