From 0a26d58a3906b9e13946c7cb46fae51a0de98920 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 17 三月 2025 15:49:08 +0800
Subject: [PATCH] Merge branch 'dev' into dev_tides

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

diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
index fc2642c..ef5109e 100644
--- a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue
@@ -151,6 +151,7 @@
 import { getToken } from "@/utils/auth";
 
 export default {
+  name: 'Laboratory',
   components: {
     limsTable,
   },
@@ -332,7 +333,7 @@
         this.$message.warning('鏆傛棤闄勪欢')
         return;
       }
-      this.$download.downloadFileFromUrl(row.fileUrl, row.fileUrl);
+      this.$download.saveAs(row.fileUrl, row.fileUrl);
     },
     openAdd() {
       this.qualificationsConnectVisible = true;
@@ -380,7 +381,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