维修详情隐藏状态字段

This commit is contained in:
hayu 2025-12-19 10:25:06 +08:00
parent 2fe150308f
commit bba91d423e
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@
</div>
</template>
</el-table-column>
<el-table-column v-if="routerParams.isEdit" label="状态" align="center" prop="status" width="90">
<!-- 详情里不显示状态了 -->
<el-table-column v-if="false" label="状态" align="center" prop="status" width="90">
<template #default="scope">
<el-tag
:type="scope.row.status === '通过' ? 'success' : scope.row.status === '驳回' ? 'danger' : 'warning'"