forked from drone/command-center-dashboard

罗广辉
2025-04-02 de61feb06c164238302da048c2f05789911e1d17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import request from '@/axios';
 
// 机巢聚合
export const getDeviceRegionCount = (params) => {
  return request({
    url: '/drone-device-core/manage/api/v1/devices/getDeviceRegionCount',
    method: 'get',
    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/jobEvent/mapEvents',
    method: 'post',
    data
  });
};
// 事件散点详情
export const getEventDetails = (params) => {
  return request({
    url: '/drone-device-core/jobEvent/eventDetails',
    method: 'post',
    params
  });
};