From 4bd9ecdb092c88d050e58d5a150b62e5e90b65b0 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 14 三月 2025 16:10:14 +0800
Subject: [PATCH] 删除无用代码

---
 src/views/CNAS/systemManagement/correctiveAction/index.vue |   22 ++++++----------------
 1 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/src/views/CNAS/systemManagement/correctiveAction/index.vue b/src/views/CNAS/systemManagement/correctiveAction/index.vue
index 9360848..7a0e3d5 100644
--- a/src/views/CNAS/systemManagement/correctiveAction/index.vue
+++ b/src/views/CNAS/systemManagement/correctiveAction/index.vue
@@ -11,16 +11,10 @@
       </span>
     </div>
     <div class="table">
-      <div>
-        <TableCard :showForm="false" :showTitle="false">
-          <template v-slot:table>
-            <limsTable :column="tableColumn" :height="'calc(100vh - 17em)'" :table-data="tableData"
-              :table-loading="tableLoading" style="padding: 0 15px;margin-bottom: 16px" @pagination="pagination"
-              :page="page">
-            </limsTable>
-          </template>
-        </TableCard>
-      </div>
+      <limsTable :column="tableColumn" :height="'calc(100vh - 17em)'" :table-data="tableData"
+                 :table-loading="tableLoading" style="padding: 0 15px;margin-bottom: 16px" @pagination="pagination"
+                 :page="page">
+      </limsTable>
     </div>
     <corrective-info v-if="correctiveInfo" ref="correctiveInfo"></corrective-info>
     <ViewTestRecord v-if="viewTestRecordDialog" ref="viewTestRecordDialog"></ViewTestRecord>
@@ -28,10 +22,8 @@
 </template>
 
 <script>
-import TableCard from '@/components/TableCard/index.vue';
 import limsTable from "@/components/Table/lims-table.vue";
 import CorrectiveInfo from './components/correctiveInfo.vue';
-// import QualityInfo from '../do/a7-nonconforming-item/qualityInfo.vue';
 import ViewTestRecord from './components/ViewTestRecord.vue';
 import {
   pageSuperviseDetailCorrect,
@@ -39,13 +31,12 @@
 } from '@/api/cnas/systemManagement/correctiveAction.js'
 
 export default {
-  name: 'a8-corrective-action',
+  name: 'CorrectiveAction',
   // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢�
   components: {
-    // QualityInfo, 
+    // QualityInfo,
     CorrectiveInfo,
     limsTable,
-    TableCard,
     ViewTestRecord
   },
   data() {
@@ -129,7 +120,6 @@
       this.tableLoading = true
       pageSuperviseDetailCorrect({ ...entity, ...page }).then(res => {
         this.tableLoading = false
-        if (res.code === 201) return
         this.tableData = res.data.records
         this.page.total = res.data.total
       }).catch(err => {

--
Gitblit v1.9.3