From 60327fb12f2dff643a0fd969283cd28f02fa6698 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 24 三月 2025 15:33:00 +0800
Subject: [PATCH] 质量监控计划,质量监督计划明细表格-添加流程展示状态

---
 src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue |   83 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 82 insertions(+), 1 deletions(-)

diff --git a/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue b/src/views/CNAS/process/ensureResults/qualityControlPlan/index.vue
index 80bc235..719c8be 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>
         鎵瑰噯澶囨敞锛�
@@ -271,6 +271,87 @@
           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',

--
Gitblit v1.9.3