From 0f80d9b8140f6eb2b6935e4a7eb5f1252da5f0c2 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 04 三月 2025 17:28:18 +0800
Subject: [PATCH] 文件管理bug修改

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

diff --git a/src/views/CNAS/systemManagement/correctiveAction/index.vue b/src/views/CNAS/systemManagement/correctiveAction/index.vue
index 85c46e0..9360848 100644
--- a/src/views/CNAS/systemManagement/correctiveAction/index.vue
+++ b/src/views/CNAS/systemManagement/correctiveAction/index.vue
@@ -15,7 +15,8 @@
         <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">
+              :table-loading="tableLoading" style="padding: 0 15px;margin-bottom: 16px" @pagination="pagination"
+              :page="page">
             </limsTable>
           </template>
         </TableCard>
@@ -108,8 +109,8 @@
       page: {
         size: 20,
         current: 1,
+        total: 0,
       },
-      total: 0,
       correctiveInfo: false,
       viewTestRecordDialog: false,
     };
@@ -130,7 +131,7 @@
         this.tableLoading = false
         if (res.code === 201) return
         this.tableData = res.data.records
-        this.total = res.data.total
+        this.page.total = res.data.total
       }).catch(err => {
         console.log('err---', err);
         this.tableLoading = false
@@ -140,7 +141,6 @@
     handleDown(row) {
       exportSuperviseDetaillCorrect({ superviseDetailsCorrectId: row.superviseDetailsCorrectId }).then(res => {
         this.outLoading = false
-        this.$message.success('瀵煎嚭鎴愬姛')
         const blob = new Blob([res], { type: 'application/msword' });
         this.$download.saveAs(blob, '鐩戠潱绾犳鎺柦' + '.docx');
       })

--
Gitblit v1.9.3