From 29ef871aa6793a8f3e808dfa0702fd8ce8e6dae2 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 03 三月 2025 16:29:49 +0800
Subject: [PATCH] 检验任务不合格处理报错修改

---
 src/views/business/reportPreparation/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue
index 0da6616..50e0e16 100644
--- a/src/views/business/reportPreparation/index.vue
+++ b/src/views/business/reportPreparation/index.vue
@@ -697,7 +697,11 @@
     },
     download(row) {
       let url = row.urlS ? row.urlS : row.url;
-      this.$download.saveAs(url, row.fileName);
+      const link = document.createElement('a');
+      link.href = this.javaApi + url;
+      link.target = '_blank';
+      document.body.appendChild(link);
+      link.click();
     },
     // 杩樺師鎿嶄綔
     handleRestore(row) {

--
Gitblit v1.9.3