From 8314c2943734770c6a38e67147e6367f683df8d1 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期五, 07 三月 2025 11:02:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 src/views/structural/capabilityAndLaboratory/laboratory/index.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
index 8ab749f..fc2642c 100644
--- a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
@@ -328,8 +328,11 @@
     },
     // 璧勮川鏄庣粏闄勪欢涓嬭浇
     handleDownLoad(row) {
-      const url = process.env.VUE_APP_BASE_API + "/img/" + row.fileUrl;
-      this.$download.saveAs(url, row.fileUrl);
+      if (!row.fileUrl) {
+        this.$message.warning('鏆傛棤闄勪欢')
+        return;
+      }
+      this.$download.downloadFileFromUrl(row.fileUrl, row.fileUrl);
     },
     openAdd() {
       this.qualificationsConnectVisible = true;

--
Gitblit v1.9.3