From a1fddf659da7d3ad8b5280cb76071eae50a86d46 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 25 二月 2025 15:05:58 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev

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

diff --git a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue
index 414a023..a85c943 100644
--- a/src/views/CNAS/systemManagement/customerSatisfaction/index.vue
+++ b/src/views/CNAS/systemManagement/customerSatisfaction/index.vue
@@ -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