From 02409bfbe15f22fc3b5dccadabfd860a660a49d9 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 11 Oct 2025 10:37:14 +0800
Subject: [PATCH] feat: 名称修改

---
 src/api/home/index.js |   38 ++++++++++++++++++++++++++++++--------
 1 files changed, 30 insertions(+), 8 deletions(-)

diff --git a/src/api/home/index.js b/src/api/home/index.js
index 5c22844..3b7e45f 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -56,6 +56,14 @@
     data,
   });
 };
+// 飞行统计111
+export const tongjiNestApi = data => {
+	return request({
+		url: `/drone-device-core/manage/api/v1/devices/getAllDeviceStatistics`,
+		method: 'post',
+		data,
+	})
+}
 // 飞行时长 里程 任务数
 export const getFlyTime = data => {
   return request({
@@ -88,13 +96,27 @@
   });
 };
 // 获取事件工单或者智飞工单的信息
-export const getOrderOrEventApi = (type,areaCode) => {
+
+export const getOrderOrEventApi = data => {
   return request({
     url: '/drone-device-core/jobEvent/getOrderOrEvent',
-    method: 'get',
-    params: {
-      type,
-      areaCode
-    },
-  });
-};
\ No newline at end of file
+    method: 'post',
+    data: data,
+  })
+}
+// 任务成果
+export const getdisposeApi = data => {
+	return request({
+		url: `/drone-device-core/jobEvent/eventStatusLine`,
+		method: 'post',
+		data,
+	})
+}
+// 任务成果
+export const gettaskOutcomApi = data => {
+	return request({
+		url: `/blade-resource/attach/getManageAttachTypeStatistics`,
+		method: 'post',
+		data,
+	})
+}
\ No newline at end of file

--
Gitblit v1.9.3