From 368b525db5f3f4f82b13c074341708a46b9a4111 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 11 三月 2025 09:11:29 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev

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

diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
index 16a9d49..4e20b20 100644
--- a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
@@ -332,8 +332,7 @@
         this.$message.warning('鏆傛棤闄勪欢')
         return;
       }
-      const url = this.javaApi + "/img/" + row.fileUrl;
-      this.$download.saveAs(url, row.fileUrl);
+      this.$download.saveAs(row.fileUrl, row.fileUrl);
     },
     openAdd() {
       this.qualificationsConnectVisible = true;
@@ -381,7 +380,6 @@
           addCertificationDetail({ ...this.formData })
             .then((res) => {
               this.loading = false;
-              if (res.code === 201) return;
               this.$message.success("宸叉彁浜�");
               this.refreshTable();
               this.resetForm("formDataRef");

--
Gitblit v1.9.3