From 462af9b826c8de88c3aa1586591897ddf6f044eb Mon Sep 17 00:00:00 2001
From: jihongshun <1151753686@qq.com>
Date: 星期四, 14 八月 2025 17:19:22 +0800
Subject: [PATCH] 编辑航线模板、编辑航线时、航线库模拟时,可查询、显示每一个"巡检点"关联的无人机空中点杆塔巡检点的距离值、载荷方位俯仰及焦距值。

---
 src/api/system/template.js |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/src/api/system/template.js b/src/api/system/template.js
index 9d0387a..4f8b3d2 100644
--- a/src/api/system/template.js
+++ b/src/api/system/template.js
@@ -8,3 +8,35 @@
     data: data
   });
 }
+
+// 鏌ヨ鍙傛暟璇︾粏
+export function getPointInfo(id) {
+  return request({
+    url: '/tower/point/' + id,
+    method: 'get'
+  });
+}
+
+// 鏍规嵁璁惧di鑾峰彇璁惧鐨勯琛岃埅绾挎ā鐗�
+export function obtainRealData(flightTemplateId, deviceId) {
+  return request({
+    url: `/tower/route/getTrueBearing/${flightTemplateId}/${deviceId}`,
+    method: 'get'
+  });
+}
+
+// 鏍规嵁璁惧di鑾峰彇璁惧鐨勯琛岃埅绾挎ā鐗�
+export function flyDataInfo(deviceId) {
+  return request({
+    url: '/tower/point/device/' + deviceId,
+    method: 'get'
+  });
+}
+
+export function buildKmz(data) {
+  return request({
+    url: '/buildKmz',
+    method: 'post',
+    data: data
+  });
+}

--
Gitblit v1.9.3