From e5fae45afc610c0cbc5620f2e9138e2188dcf243 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 16 一月 2025 12:20:29 +0800 Subject: [PATCH] 资产管理权限、工单故障显示优化 --- src/views/system/work-order/detail/index.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/views/system/work-order/detail/index.vue b/src/views/system/work-order/detail/index.vue index 71d323d..52b102d 100644 --- a/src/views/system/work-order/detail/index.vue +++ b/src/views/system/work-order/detail/index.vue @@ -16,7 +16,16 @@ <div class="item-warp"> <div>鏁呴殰绫诲瀷锛�</div> <div> - <el-tag style="margin-right: 5px;height:24px;overflow:auto" effect="dark" v-for="(error, index) in workOrderInfo.errorTypeList" :key="index" size="small" type="warning">{{ error }}</el-tag> + <el-tag + style="margin-right: 5px;height:24px;overflow:auto" effect="dark" + v-for="(error, index) in workOrderInfo.errorTypeList" + :key="index" size="small" + :type="error === '鍥惧儚寮傚父' + || error === '鐐逛綅淇℃伅閿欒' + || error === '鏃堕挓鍋忓樊' + || error === 'OSD寮傚父' + ? 'danger' : 'warning'">{{ error }} + </el-tag> </div> </div> <div class="item-warp"> -- Gitblit v1.8.0