From 3cd9c972c3a9336194b18f5518c10fa1a6125055 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Wed, 02 Apr 2025 19:47:19 +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, 25 insertions(+), 10 deletions(-)

diff --git a/src/api/home/aggregation.js b/src/api/home/aggregation.js
index f68ed63..fd79d76 100644
--- a/src/api/home/aggregation.js
+++ b/src/api/home/aggregation.js
@@ -1,19 +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 = (params) => {
+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',
-    params
+    url: '/drone-device-core/jobEvent/mapEvents',
+    method: 'post',
+    data
   });
 };
-
-
-export const getDeviceRegion = (params) => {
+// 事件散点详情
+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