From 5808f76456ca0d40de5074f132b73a5a488e3e13 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 09 Dec 2025 09:12:03 +0800
Subject: [PATCH] Merge branch 'refs/heads/feature/v9.0/9.0.1' into test

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

diff --git a/src/api/home/index.js b/src/api/home/index.js
index d453e93..0715709 100644
--- a/src/api/home/index.js
+++ b/src/api/home/index.js
@@ -6,6 +6,14 @@
     method: 'get',
   });
 };
+// 大屏首页=>事件状态数量
+export const getEventStatusNum = data => {
+  return request({
+    url: '/drone-device-core/jobEvent/eventStatusNum',
+    method: 'post',
+    data,
+  })
+}
 // 事件概况分类数
 export const getJobEventByStatus = data => {
   return request({
@@ -56,6 +64,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 +104,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 +119,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