From de61feb06c164238302da048c2f05789911e1d17 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Wed, 02 Apr 2025 19:12:58 +0800
Subject: [PATCH] feat: 事件聚合80%
---
src/api/home/aggregation.js | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/api/home/aggregation.js b/src/api/home/aggregation.js
index f68ed63..293ea18 100644
--- a/src/api/home/aggregation.js
+++ b/src/api/home/aggregation.js
@@ -1,6 +1,6 @@
import request from '@/axios';
-
+// 机巢聚合
export const getDeviceRegionCount = (params) => {
return request({
url: '/drone-device-core/manage/api/v1/devices/getDeviceRegionCount',
@@ -9,7 +9,7 @@
});
};
-
+// 机巢散点
export const getDeviceRegion = (params) => {
return request({
url: '/drone-device-core/manage/api/v1/devices/getDeviceRegion',
@@ -17,3 +17,20 @@
params
});
};
+
+// 事件聚合 和 事件散点
+export const getMapEvents = (data) => {
+ return request({
+ url: '/drone-device-core/jobEvent/mapEvents',
+ method: 'post',
+ data
+ });
+};
+// 事件散点详情
+export const getEventDetails = (params) => {
+ return request({
+ url: '/drone-device-core/jobEvent/eventDetails',
+ method: 'post',
+ params
+ });
+};
--
Gitblit v1.9.3