From 1d22e1b84c1b64a43dc09f6ae8fd1f1fdf243a32 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期六, 29 三月 2025 14:33:19 +0800 Subject: [PATCH] 设备工具明细bug --- src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue | 88 ++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 85 insertions(+), 3 deletions(-) diff --git a/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue b/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue index 80bc235..9086b86 100644 --- a/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue +++ b/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue @@ -58,7 +58,7 @@ @closeProcessingDia="closeProcessingDia"></processing-sheet> <!--绾犳澶勭悊娴佺▼寮规--> <rectify-dialog-new v-if="rectifyDia" ref="rectifyDia" :superviseId="superviseId" - @closeProcessingDia="closeRectifyDia"></rectify-dialog-new> + @closeRectifyDia="closeRectifyDia"></rectify-dialog-new> <el-dialog :visible.sync="ratifyDialog" title="鎵瑰噯" width="30%" @close="closeRatifyDia"> <span> 鎵瑰噯澶囨敞锛� @@ -258,11 +258,11 @@ }, { label: '鐩戠潱鐩殑', prop: 'supervisePurpose', - width: '150px', + width: '180px', }, { label: '鐩戞帶椤圭洰', prop: 'superviseProject', - width: '150px' + width: '180px' }, { label: '琚洃鐫d汉鍛�', prop: 'supervisee', @@ -271,11 +271,93 @@ label: '鐩戠潱鍘熷洜', prop: 'superviseReason', width: '150px' + },{ + dataType: 'tag', + label: '璁板綍鐘舵��', + prop: 'recordStatus', + 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: 'accordingStatus', + 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: 'correctStatus', + 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; + } + } }, { label: '澶囨敞', prop: 'remark', }, { dataType: 'action', + fixed: 'right', label: '鎿嶄綔', operation: [ { -- Gitblit v1.9.3