From 5bdc9914710b6cc4a1fcf19093ca5d76d7f3593c Mon Sep 17 00:00:00 2001
From: jihongshun <1151753686@qq.com>
Date: 星期三, 17 九月 2025 17:27:57 +0800
Subject: [PATCH] fix+

---
 src/views/system/project/components/addPorjectDialog.vue |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/views/system/project/components/addPorjectDialog.vue b/src/views/system/project/components/addPorjectDialog.vue
index adf9956..a5a9a23 100644
--- a/src/views/system/project/components/addPorjectDialog.vue
+++ b/src/views/system/project/components/addPorjectDialog.vue
@@ -744,20 +744,20 @@
       this.ruleForm.routePointList = routePointList
       console.log(this.ruleForm)
       console.log('鐢熸垚鑸嚎')
-      // buildKmz(this.ruleForm).then(res=>{
-      //   if(res.code == 200) {
-      //      this.$message({
-      //         message: '鐢熸垚鑸嚎鎴愬姛',
-      //         type: 'success'
-      //       })
-      //       const link = document.createElement('a');
-      //       link.href = res.msg;  // 璁剧疆涓嬭浇閾炬帴
-      //       // link.download = 'filename.ext';  // 鍙�夛細鎸囧畾鏂囦欢鍚�
-      //       document.body.appendChild(link);  // 灏嗛摼鎺ユ坊鍔犲埌 DOM
-      //       link.click();  // 妯℃嫙鐐瑰嚮涓嬭浇
-      //       document.body.removeChild(link);  // 涓嬭浇鍚庣Щ闄ら摼鎺�
-      //   }
-      // })
+      buildKmz(this.ruleForm).then(res=>{
+        if(res.code == 200) {
+           this.$message({
+              message: '鐢熸垚鑸嚎鎴愬姛',
+              type: 'success'
+            })
+            const link = document.createElement('a');
+            link.href = res.msg;  // 璁剧疆涓嬭浇閾炬帴
+            // link.download = 'filename.ext';  // 鍙�夛細鎸囧畾鏂囦欢鍚�
+            document.body.appendChild(link);  // 灏嗛摼鎺ユ坊鍔犲埌 DOM
+            link.click();  // 妯℃嫙鐐瑰嚮涓嬭浇
+            document.body.removeChild(link);  // 涓嬭浇鍚庣Щ闄ら摼鎺�
+        }
+      })
     },
     lineSet(){
       this.drawer =true

--
Gitblit v1.9.3