| | |
| | | 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 |
| | | }); |
| | | }; |