From bcb67f336c2b352177884b8db6decc3fcf382bb0 Mon Sep 17 00:00:00 2001
From: jihongshun <1151753686@qq.com>
Date: 星期四, 11 九月 2025 16:58:13 +0800
Subject: [PATCH] 航线模拟  差视锥体的head值和时间轴

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

diff --git a/src/views/system/project/components/addPorjectDialog.vue b/src/views/system/project/components/addPorjectDialog.vue
index cb12104..659c0fd 100644
--- a/src/views/system/project/components/addPorjectDialog.vue
+++ b/src/views/system/project/components/addPorjectDialog.vue
@@ -250,6 +250,8 @@
       this.$emit('close')
     },
     flyToLocal(row){
+
+      console.log(row)
        const position = Cesium.Cartesian3.fromDegrees(row.longitude,row.latitude, row.deviceHeight);
       // rotationAngle  = Cesium.Math.toRadians(row.face)  ||  Cesium.Math.toRadians(0)
       rotationAngle  = Cesium.Math.toRadians(row.face)  ||  Cesium.Math.toRadians(0)
@@ -740,6 +742,12 @@
               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);  // 涓嬭浇鍚庣Щ闄ら摼鎺�
         }
       })
     },

--
Gitblit v1.9.3