From 13a60da2424da8cd50e52e35e0126e23e34ea6f3 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期日, 16 三月 2025 15:58:25 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/views/structural/capabilityAndLaboratory/laboratory/index.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue index 16a9d49..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,8 +333,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 +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