From 5de64605a978e6ca7eefb710c3d42ae3332fce94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=A6=8D?= <1455167345@qq.com> Date: Sat, 28 Jun 2025 15:35:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E7=82=B9=E9=A3=9E=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../flightoperation/src/FlightControl.vue | 8 +++++++ .../flightoperation/src/FlyToForm.vue | 24 ++++++++++--------- .../flightoperation/src/LoadControl.vue | 8 +++++-- 3 files changed, 27 insertions(+), 13 deletions(-) diff --git a/src/views/demo/workmanagement/flightoperation/src/FlightControl.vue b/src/views/demo/workmanagement/flightoperation/src/FlightControl.vue index fa620cb..83ba23a 100644 --- a/src/views/demo/workmanagement/flightoperation/src/FlightControl.vue +++ b/src/views/demo/workmanagement/flightoperation/src/FlightControl.vue @@ -340,6 +340,14 @@ createMessage.error('DRC连接失败,状态码' + rs.data.result); } } + // 指点飞行 + if (rs.method == 'fly_to_point') { + if (rs.data.result == 0) { + createMessage.success('指点飞行成功'); + } else { + createMessage.error('指点飞行失败,状态码' + rs.data.result); + } + } }); }); onUnmounted(() => { diff --git a/src/views/demo/workmanagement/flightoperation/src/FlyToForm.vue b/src/views/demo/workmanagement/flightoperation/src/FlyToForm.vue index 36c7661..d4cc412 100644 --- a/src/views/demo/workmanagement/flightoperation/src/FlyToForm.vue +++ b/src/views/demo/workmanagement/flightoperation/src/FlyToForm.vue @@ -10,20 +10,20 @@