From c34fe6f588045e527bccfd4c67b9764b2a141ea2 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期三, 26 二月 2025 15:24:41 +0800 Subject: [PATCH] 设施和环境条件代码迁移 --- src/views/CNAS/systemManagement/customerSatisfaction/index.vue | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue index 7b76b7c..a85c943 100644 --- a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue +++ b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue @@ -34,7 +34,8 @@ <TableCard :showForm="false" :showTitle="false"> <template v-slot:table> <limsTable :column="tableColumn" :height="'calc(100vh - 22em)'" :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> @@ -309,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