From f16c91bc9b96c415b7129e3eccf29b5b9f93d7a3 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期三, 26 三月 2025 08:29:13 +0800 Subject: [PATCH] 工时查询修改, 样品搜索问题修复 --- src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue | 91 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 90 insertions(+), 1 deletions(-) diff --git a/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue b/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue index d503422..d12d8a3 100644 --- a/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue +++ b/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue @@ -47,7 +47,7 @@ @closeDia="closeDia"></detail-form-dialog> <!--瀹炴柦娴佺▼寮规--> <carry-out-dialog v-if="carryOutDia" ref="carryOutDia" :qualityMonitorId="qualityMonitorId" - @closeDia="closeCarryOutDia"></carry-out-dialog> + @closeCarryOutDia="closeCarryOutDia"></carry-out-dialog> <!--璇勪环娴佺▼寮规--> <evaluate-dialog v-if="evaluateDialog" ref="evaluateDialog" @closeEvaDia="closeEvaDia"></evaluate-dialog> <el-dialog :visible.sync="examineDialog" title="瀹℃牳" width="30%" @close="closeExamineDia"> @@ -375,6 +375,95 @@ label: '鐩戞帶鏂瑰紡', prop: 'monitorWay', width: '150px' + },{ + dataType: 'tag', + label: '瀹炴柦鐘舵��', + prop: 'detailsRatifyStatus', + width: '100', + formatData: (params) => { + if (params === 0) { + return '鏈紑濮�'; + } else if (params === 1) { + return '寰呮壒鍑�'; + } else if (params === 2) { + return '宸叉壒鍑�'; + } else { + return null; + } + }, + formatType: (params) => { + if (params === 0) { + return ''; + } else if (params === 1) { + return 'warning'; + } else if (params === 2) { + return 'success'; + } else { + return null; + } + } + },{ + dataType: 'tag', + label: '鎶ュ憡鐘舵��', + prop: 'reportStatus', + width: '100', + formatData: (params) => { + if (params === 0) { + return '鏈紑濮�'; + } else if (params === 1) { + return '寰呰瘎浠�'; + } else if (params === 2) { + return '涓嶆壒鍑�'; + } else if (params === 3) { + return '宸叉壒鍑�'; + } else { + return null; + } + }, + formatType: (params) => { + if (params === 0) { + return ''; + } else if (params === 1) { + return 'warning'; + } else if (params === 2) { + return 'danger'; + } else if (params === 3) { + return 'success'; + } else { + return null; + } + } + },{ + dataType: 'tag', + label: '璇勪环鐘舵��', + prop: 'evaluateStatus', + width: '100', + formatData: (params) => { + if (params === 0) { + return '鏈紑濮�'; + } else if (params === 1) { + return '寰呰瘎浠�'; + } else if (params === 2) { + return '寰呮壒鍑�'; + } else if (params === 3) { + return '宸叉壒鍑�'; + } else { + return null; + } + }, + formatType: (params) => { + if (params === 0) { + return ''; + } else if (params === 1) { + return 'warning'; + } else if (params === 2) { + return 'info'; + } else if (params === 3) { + return 'success'; + } else { + return null; + } + } }, { dataType: 'action', label: '鎿嶄綔', -- Gitblit v1.9.3