From 292770a7c2553db7953186c85d8dc9fdc8d04f6a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 24 三月 2025 15:57:52 +0800
Subject: [PATCH] 样式优化

---
 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