forked from drone/command-center-dashboard

罗广辉
2025-04-21 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import request from '@/axios'
 
// 大屏首页=>行业数据分析(行业类型)
export const getEventIndustryData = data => {
    return request({
        url: '/drone-device-core/jobEvent/industryData',
        method: 'post',
        data,
    })
}
 
// 大屏首页=>事件趋势分析(事件日期数量折线)
export const getEventTrend = data => {
    return request({
        url: '/drone-device-core/jobEvent/eventData',
        method: 'post',
        data,
    })
}
 
// 大屏首页=>同类事件top5(事件数量)
export const getEventTopFive = data => {
    return request({
        url: '/drone-device-core/jobEvent/topFive',
        method: 'post',
        data,
    })
}
 
// 大屏首页=>事件分页列表
export const getEventPage = (data,params) => {
    return request({
        url: '/drone-device-core/jobEvent/eventPage',
        method: 'post',
        data,
        params
    })
}
 
 
// 大屏首页=>事件状态数量
export const getEventStatusNum = data => {
    return request({
        url: '/drone-device-core/jobEvent/eventStatusNum',
        method: 'post',
        data,
    })
}
 
// 工单列表=>事件数量(所有)
export const getEvenNum = data => {
    return request({
        url: '/drone-device-core/jobEvent/evenNum',
        method: 'post',
        data,
    })
}
// 点击图片关联的事件历史图片列表
export const findImgHistory = id => {
    return request({
        url: '/drone-device-core/jobEvent/findImgHistory?eventId='+id,
        method: 'get',
    })
}