From 15a79f18ace29e0c69d68c7fb5e3079b395ffecd Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 14 三月 2025 10:20:21 +0800
Subject: [PATCH] 外来文件确认记录分页修改

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

diff --git a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue
index ab7529b..8e371d5 100644
--- a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue
+++ b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue
@@ -218,7 +218,6 @@
         this.tableLoading = true
         pageClientSatisfaction({ ...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 => {
@@ -229,7 +228,6 @@
         this.tableLoading1 = true
         pageAnalyseFile({ ...entity, ...page }).then(res => {
           this.tableLoading1 = false
-          if (res.code === 201) return
           this.tableData1 = res.data.records
           this.page1.total = res.data.total
         }).catch(err => {
@@ -286,7 +284,6 @@
         this.tableLoading = true
         delClientSatisfaction({ clientSatisfactionId: row.clientSatisfactionId }).then(res => {
           this.tableLoading = false
-          if (res.code === 201) return
           this.$message.success('鍒犻櫎鎴愬姛')
           this.searchList()
         }).catch(err => {
@@ -307,7 +304,7 @@
     },
     // 涓嬭浇瀹㈡埛绂忓缓
     upload(row) {
-      this.$download.downloadFileFromUrl(row.fileUrl, row.fileName);
+      this.$download.saveAs(row.fileUrl, row.fileName);
     },
     // 鍒犻櫎瀹㈡埛鍒嗘瀽闄勪欢
     delFile(row) {
@@ -319,7 +316,6 @@
         this.tableLoading = true
         delAnalyseFile({ analyseFileId: row.analyseFileId }).then(res => {
           this.tableLoading = false
-          if (res.code === 201) return
           this.$message.success('鍒犻櫎鎴愬姛')
           this.searchList()
         }).catch(err => {

--
Gitblit v1.9.3