From c6aa7ef60a23d677af0870e453717241fa3b1368 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期日, 28 四月 2024 10:50:46 +0800
Subject: [PATCH] 修改

---
 src/main.js                                 |    4 ++--
 src/components/view/b1-inspection-order.vue |    8 +++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/components/view/b1-inspection-order.vue b/src/components/view/b1-inspection-order.vue
index 7a4c8e1..4ebd08c 100644
--- a/src/components/view/b1-inspection-order.vue
+++ b/src/components/view/b1-inspection-order.vue
@@ -482,7 +482,13 @@
 			},
 			// 涓嬭浇鎶ュ憡
 			download(row) {
-        console.log(row);
+        // console.log(row);
+        let url = row.url;
+        const link = document.createElement('a');
+        link.href = this.javaApi + url;
+        link.target = '_blank';
+        document.body.appendChild(link);
+        link.click();
       },
 			// 瀹℃牳
 			handleVerify(row) {
diff --git a/src/main.js b/src/main.js
index 43d09d1..4d5253b 100644
--- a/src/main.js
+++ b/src/main.js
@@ -13,9 +13,9 @@
 
 //鏈湴
 Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80";
-// const javaApi = 'http://192.168.11.200:8001';//鏉�
+const javaApi = 'http://192.168.11.200:8001';//鏉�
 // const javaApi = 'http://192.168.11.249:8001';//寮�
-const javaApi = 'http://192.168.11.50:8001';//濮�
+// const javaApi = 'http://192.168.11.50:8001';//濮�
 // const javaApi = 'http://192.168.11.2:8001';//鏌�
 // const javaApi = 'http://114.132.189.42:9006';//娴嬭瘯鏈�
 //鑳滀簯鏈嶅姟鍣�

--
Gitblit v1.9.3