From 6c0eaf8a5698e8fc9ea2f0dbccda7d48838c8c1a Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 16 Apr 2025 18:39:59 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard

---
 src/api/home/aggregation.js |   35 ++++++++++++++++++++++++++---------
 1 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/src/api/home/aggregation.js b/src/api/home/aggregation.js
index eb33377..fd79d76 100644
--- a/src/api/home/aggregation.js
+++ b/src/api/home/aggregation.js
@@ -1,17 +1,34 @@
-import request from '@/axios';
+import request from '@/axios'
 
+export const getDeviceRegionCount = params => {
+	return request({
+		url: '/drone-device-core/manage/api/v1/devices/getDeviceRegionCount',
+		method: 'get',
+		params,
+	})
+}
 
-export const getDeviceRegionCount = () => {
+export const getDeviceRegion = params => {
+	return request({
+		url: '/drone-device-core/manage/api/v1/devices/getDeviceRegion',
+		method: 'get',
+		params,
+	})
+}
+
+// 事件聚合 和 事件散点
+export const getMapEvents = (data) => {
   return request({
-    url: '/drone-device-core/manage/api/v1/devices/getDeviceRegionCount',
-    method: 'get',
+    url: '/drone-device-core/jobEvent/mapEvents',
+    method: 'post',
+    data
   });
 };
-
-
-export const getDeviceRegion = () => {
+// 事件散点详情
+export const getEventDetails = (params) => {
   return request({
-    url: '/drone-device-core/manage/api/v1/devices/getDeviceRegion',
-    method: 'get',
+    url: '/drone-device-core/jobEvent/eventDetails',
+    method: 'post',
+    params
   });
 };

--
Gitblit v1.9.3