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 |   64 ++++++++++++++++++++++++++++++++
 1 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/src/api/home/index.js b/src/api/home/index.js
index 91b4c83..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({
@@ -64,3 +80,51 @@
     data,
   });
 };
+
+// 获取事件工单和智飞工单的数量
+export const getOrderCountApi = (areaCode) => {
+  return request({
+    url: '/drone-device-core/jobEvent/getOrderCount',
+    method: 'get',
+    params: {
+    
+      areaCode
+    },
+  });
+};
+// 标记事件工单或智飞工单已读
+export const addOrderRecordApi = (type,ticketId) => {
+  return request({
+    url: '/drone-device-core/jobEvent/addOrderRecord',
+    method: 'post',
+    params: {
+      type,
+      ticketId
+    },
+  });
+};
+// 获取事件工单或者智飞工单的信息
+
+export const getOrderOrEventApi = data => {
+  return request({
+    url: '/drone-device-core/jobEvent/getOrderOrEvent',
+    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