From c832bf2e80ac465e71b7a1c1f7a59d4252030989 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 05 Aug 2025 17:33:08 +0800
Subject: [PATCH] feat:事件工单滚动条

---
 src/api/home/index.js |   31 ++++++++++++++++++++++---------
 1 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/src/api/home/index.js b/src/api/home/index.js
index d453e93..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,17 +96,14 @@
   });
 };
 // 获取事件工单或者智飞工单的信息
-export const getOrderOrEventApi = (type,areaCode) => {
+
+export const getOrderOrEventApi = data => {
   return request({
     url: '/drone-device-core/jobEvent/getOrderOrEvent',
-    method: 'get',
-    params: {
-      type,
-      areaCode
-    },
-  });
-};
-
+    method: 'post',
+    data: data,
+  })
+}
 // 任务成果
 export const getdisposeApi = data => {
 	return request({
@@ -106,4 +111,12 @@
 		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