From cfece63631cf3bef57a9fd3f10cc9c08bc43a216 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 05 三月 2025 10:32:39 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/views/CNAS/systemManagement/customerSatisfaction/index.vue | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue index 414a023..4a1900c 100644 --- a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue +++ b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue @@ -144,8 +144,8 @@ page: { size: 20, current: 1, + total: 0, }, - total: 0, tableColumn1: [ { label: '闄勪欢鍚嶇О', @@ -197,8 +197,8 @@ page1: { size: 20, current: 1, + total: 0, }, - total1: 0, formDialog: false, upLoading: false, currentInfo: {}, @@ -220,7 +220,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 @@ -231,7 +231,7 @@ this.tableLoading1 = false if (res.code === 201) return this.tableData1 = res.data.records - this.total1 = res.data.total + this.page1.total = res.data.total }).catch(err => { console.log('err---', err); this.tableLoading1 = false @@ -310,13 +310,10 @@ let url = ''; if (row.type == 1) { url = this.javaApi + '/img/' + row.fileUrl - file.downloadIamge(url, row.fileName) + this.$download.saveAs(url, row.fileName); } else { url = this.javaApi + '/word/' + row.fileUrl - const link = document.createElement('a'); - link.href = url; - link.download = row.fileName; - link.click(); + this.$download.saveAs(url, row.fileName); } }, // 鍒犻櫎瀹㈡埛鍒嗘瀽闄勪欢 -- Gitblit v1.9.3