From fe2c38273024c74f28e59c24c867eb67c841be16 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 11 四月 2025 11:35:10 +0800
Subject: [PATCH] 原辅材修改

---
 src/views/CNAS/systemManagement/internalAuditManagement/components/auditInspectionDia.vue |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/views/CNAS/systemManagement/internalAuditManagement/components/auditInspectionDia.vue b/src/views/CNAS/systemManagement/internalAuditManagement/components/auditInspectionDia.vue
index a1f1e58..b6c32ff 100644
--- a/src/views/CNAS/systemManagement/internalAuditManagement/components/auditInspectionDia.vue
+++ b/src/views/CNAS/systemManagement/internalAuditManagement/components/auditInspectionDia.vue
@@ -33,7 +33,8 @@
         <el-button size="small" type="primary" @click="addRow">娣诲姞</el-button>
         <el-button size="small" type="danger" @click="clearTable">娓呯┖</el-button>
       </div>
-      <el-table :data="checkDetailList" border height="300" style="width: 100%">
+      <el-table :data="checkDetailList" border height="300" style="width: 100%"
+                :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }">
         <el-table-column align="center" label="搴忓彿" type="index" width="60" />
         <el-table-column header-align="center" label="娑夊強瑕佺礌鍜岃川閲忎綋绯绘枃浠舵潯娆�" prop="element">
           <template slot-scope="{row}">
@@ -134,7 +135,6 @@
       this.diaLoading = true
       getInternalCheckOne({ checkId: row.checkId }).then(res => {
         this.diaLoading = false
-        if (res.code === 201) return
         this.form = res.data
         this.checkDetailList = this.form.checkDetailList
       }).catch(err => {
@@ -156,7 +156,6 @@
           if (this.operationType === 'add') {
             addInternalCheck(internalCheckDto).then(res => {
               this.loading = false
-              if (res.code === 201) return
               this.$message.success('鎿嶄綔鎴愬姛')
               this.closeImplementDia()
             }).catch(err => {
@@ -166,7 +165,6 @@
           } else if (this.operationType === 'edit') {
             updateInternalCheck(internalCheckDto).then(res => {
               this.loading = false
-              if (res.code === 201) return
               this.$message.success('鎿嶄綔鎴愬姛')
               this.closeImplementDia()
             }).catch(err => {

--
Gitblit v1.9.3