From 42892b485a2ddebb04c0b96c4b6c420001f699b2 Mon Sep 17 00:00:00 2001
From: jihongshun <1151753686@qq.com>
Date: 星期三, 08 十月 2025 15:10:22 +0800
Subject: [PATCH] 项目修改 &&  航线模拟的动作

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

diff --git a/src/views/system/project/components/addPorjectDialog.vue b/src/views/system/project/components/addPorjectDialog.vue
index 9ad2e80..8ac1ed6 100644
--- a/src/views/system/project/components/addPorjectDialog.vue
+++ b/src/views/system/project/components/addPorjectDialog.vue
@@ -437,7 +437,7 @@
                 if(newChild.label.includes('鍔犻珮')) {
 
                 }else {
-                  newChild.label = newChild.label + '-鍔犻珮'
+                  newChild.label = newChild.label + '-鍔犻珮鐐�'
                   // 楂樺害澧炲姞20
                   // newChild.height += 20;
                   //濉旈珮 - 楂樺害  + 寰�涓婇澶氬皯绫�
@@ -457,7 +457,7 @@
                 const newChild = JSON.parse(JSON.stringify(lastChild));
                 if(newChild.label.includes('鍔犻珮')) {
                 }else {
-                  newChild.label = newChild.label + '-鍔犻珮'
+                  newChild.label = newChild.label + '-鍔犻珮鐐�'
                   newChild.height += (device.ardTowerModel?.modelHeight  - newChild.height +  20) ;
                   // 娣诲姞鍒癱hildren鏁扮粍鏈熬
                   device.children.unshift(newChild);
@@ -475,13 +475,13 @@
                 //楂樺害澧炲姞20
                 if(newFirstChild.label.includes('鍔犻珮')) {
                 }else {
-                    newFirstChild.label = newFirstChild.label + '-鍔犻珮'
+                    newFirstChild.label = newFirstChild.label + '-鍔犻珮鐐�'
                     newFirstChild.height += (device.ardTowerModel?.modelHeight  - newFirstChild.height +  20) ;
                     device.children.unshift(firstChild);
                 }
                 if(newLastChildChild.label.includes('鍔犻珮')) {
                 }else {
-                    newLastChildChild.label = newLastChildChild.label + '-鍔犻珮'
+                    newLastChildChild.label = newLastChildChild.label + '-鍔犻珮鐐�'
                     newLastChildChild.height += (device.ardTowerModel?.modelHeight  - newLastChildChild.height +  20) ;
                     device.children.push(newLastChildChild);
                 }
@@ -725,6 +725,7 @@
       })
       console.log(this.treeData)
       this.treeData.forEach(device => {
+        console.log(device)
         device.children.forEach((airPoint, index) => {
           console.log(airPoint)
           routePointList.push({
@@ -734,7 +735,7 @@
             height: airPoint.height,
             isStartAndEndPoint: false,
             actions:airPoint.children?.length !=0 ? airPoint.children[0]?.actions || [] : [],
-            waypointName: airPoint.label,
+            waypointName: device.deviceName + airPoint.label,
             coordinatePointReq: airPoint.children?.length !=0 ? {
                 height: airPoint.children[0].height,
                 latitude:airPoint.children[0].latitude,

--
Gitblit v1.9.3