From d2a06b827fdcf4b274c503c25b3c21fd727ccbbc Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 10:18:45 +0800
Subject: [PATCH] 文件下载全局修改

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

diff --git a/src/views/CNAS/systemManagement/correctiveAction/index.vue b/src/views/CNAS/systemManagement/correctiveAction/index.vue
index 6e92fbd..9360848 100644
--- a/src/views/CNAS/systemManagement/correctiveAction/index.vue
+++ b/src/views/CNAS/systemManagement/correctiveAction/index.vue
@@ -109,8 +109,8 @@
       page: {
         size: 20,
         current: 1,
+        total: 0,
       },
-      total: 0,
       correctiveInfo: false,
       viewTestRecordDialog: false,
     };
@@ -131,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
@@ -141,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