龚焕茏
2024-08-20 bfd3aa99f6f97d7daa9c81f01b349ba50225b523
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
import request from "@/utils/request";
 
// 设备数据
export function getDeviceData() {
  return request({
    url: "/dashboard/monitor/total",
    method: "get",
  });
}
 
// 工单数据
export function getWorkOrderData() {
  return request({
    url: "/dashboard/workOrder/total",
    method: "get",
  });
}
 
// 工单地区
export function getWorkOrderRegion() {
  return request({
    url: "/dashboard/workOrder/region",
    method: "get",
  });
}
 
//设备正常率
export function getNormalRate(id) {
  return request({
    url: "/dashboard/monitor/rate?dataScope=" + id,
    method: "get",
  });
}
 
//人脸考核数据
export function checkFace(id) {
  return request({
    url: "/dashboard/check/face",
    method: "get",
  });
}
 
// 车辆考核数据
export function checkCar(id) {
  return request({
    url: "/dashboard/check/car",
    method: "get",
  });
}
 
// 视频考核数据
export function checkVideo(id) {
  return request({
    url: "/dashboard/check/video",
    method: "get",
  });
}