From 8fd9e43b8ae22e64c62afee56c24df682f8c47c9 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期日, 16 三月 2025 15:57:54 +0800 Subject: [PATCH] 成品下单下载为pdf --- src/views/structural/capabilityAndLaboratory/laboratory/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/structural/capabilityAndLaboratory/laboratory/index.vue b/src/views/structural/capabilityAndLaboratory/laboratory/index.vue index ad3396d..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; -- Gitblit v1.9.3