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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
| import request from "@/utils/request";
|
| // 获取地区部门
| export function getDepartmentData() {
| return request({
| url: "/dashboard/department",
| method: "get",
| });
| }
|
| // 获取平台在线
| export function getPlatform() {
| return request({
| url: "/dashboard/platform",
| method: "get",
| });
| }
|
| // 设备数据
| export function getDeviceData(dataScope, deptId) {
| return request({
| url: "/dashboard/monitor/total?dataScope=" + dataScope + "&deptId=" + deptId,
| method: "get",
| });
| }
|
| // 工单数据
| export function getWorkOrderData(dataScope, deptId) {
| return request({
| url: "/dashboard/workOrder/total?dataScope=" + dataScope + "&deptId=" + deptId,
| method: "get",
| });
| }
|
| // 工单地区
| export function getWorkOrderRegion(dataScope, deptId) {
| return request({
| url: "/dashboard/workOrder/region?dataScope=" + dataScope + "&deptId=" + deptId,
| method: "get",
| });
| }
|
| //设备正常率
| export function getNormalRate(dataScope, deptId) {
| return request({
| url: "/dashboard/monitor/rate?dataScope=" + dataScope + "&deptId=" + deptId,
| method: "get",
| });
| }
|
| //人脸考核数据
| export function checkFace(dataScope, deptId) {
| return request({
| url: "/dashboard/check/face?dataScope=" + dataScope + "&deptId=" + deptId,
| method: "get",
| });
| }
|
| // 车辆考核数据
| export function checkCar(dataScope, deptId) {
| return request({
| url: "/dashboard/check/car?dataScope=" + dataScope + "&deptId=" + deptId,
| method: "get",
| });
| }
|
| // 视频考核数据
| export function checkVideo(dataScope, deptId) {
| return request({
| url: "/dashboard/check/video?dataScope=" + dataScope + "&deptId=" + deptId,
| method: "get",
| });
| }
|
| // 考核积分数据
| export function checkScore(dataScope, deptId) {
| return request({
| url: "/dashboard/check/score?dataScope=" + dataScope + "&deptId=" + deptId,
| method: "get",
| });
| }
|
|