From 39ec001f02bde6fd7b7a40bdf7b2313df87e8e76 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 17 Jan 2026 17:34:51 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 uniapps/work-wx/src/api/index.js |   85 ++++++++++++++++++++++++++++++++++++++----
 1 files changed, 77 insertions(+), 8 deletions(-)

diff --git a/uniapps/work-wx/src/api/index.js b/uniapps/work-wx/src/api/index.js
index 63d5015..7ee400f 100644
--- a/uniapps/work-wx/src/api/index.js
+++ b/uniapps/work-wx/src/api/index.js
@@ -19,6 +19,15 @@
   })
 }
 
+// 我的空域查询
+export const droneFlightTaskApi = data => {
+  return request({
+    url: `/webservice/droneFlightTask/pageInfoOfMy`,
+    method: 'post',
+    data,
+  })
+}
+
 // 设备列表
 export const aircraftInfoPageInfoOfMyApi = data => {
   return request({
@@ -28,14 +37,14 @@
   })
 }
 
-// 我的设备
-export const myDevicePageInfoApi = params => {
-  return request({
-    url: `/webservice/aircraftInfo/queryById/${params.id}`,
-    method: 'post',
-    params,
-  })
-}
+// // 我的设备
+// export const myDevicePageInfoApi = params => {
+//   return request({
+//     url: `/webservice/aircraftInfo/queryById/${params.id}`,
+//     method: 'post',
+//     params,
+//   })
+// }
 
 // 飞行申请列表
 export const flightPlanPageInfoApi = data => {
@@ -45,6 +54,13 @@
     data,
   })
 }
+// 飞行申请详情
+export const flightPlanDetailsApi = id => {
+  return request({
+    url: `/webservice/flightPlan/queryById/${id}`,
+    method: 'get'
+  })
+}
 
 // 航空器注册
 export const aircraftInfoSaveApi = data => {
@@ -52,6 +68,13 @@
     url: `/webservice/aircraftInfo/save`,
     method: 'post',
     data,
+  })
+}
+// 注册器详情
+export const aircraftInfoDetailsApi = id => {
+  return request({
+    url: `/webservice/aircraftInfo/queryById/${id}`,
+    method: 'get'
   })
 }
 
@@ -107,3 +130,49 @@
     method: 'get'
   })
 }
+
+// 下拉接口数据-飞行类型
+export const proTypeApi = () => {
+  return request({
+    url: `/system/dict/data/type/pro_type`,
+    method: 'get'
+  })
+}
+// 申报 警务 文旅
+export const flightTaskApi = () => {
+  return request({
+    url: `/system/dict/data/type/flight_task`,
+    method: 'get'
+  })
+}
+// 飞行规则
+export const flightRulesApi = () => {
+  return request({
+    url: `/system/dict/data/type/flight_rules`,
+    method: 'get'
+  })
+}
+// 飞行规则 视距内飞行
+export const flightModeApi = () => {
+  return request({
+    url: `/system/dict/data/type/flight_mode`,
+    method: 'get'
+  })
+}
+// 飞行计划 一般 紧急
+export const flightPlanApi = () => {
+  return request({
+    url: `/system/dict/data/type/flight_plan`,
+    method: 'get'
+  })
+}
+
+// 无人机厂商
+export const manufacturerInfoApi = data => {
+  return request({
+    url: `/webservice/webservice/manufacturerInfo/pageInfo`,
+    method: 'post',
+    data,
+  })
+}
+

--
Gitblit v1.9.3