xiangpei
2024-08-15 cdcd42c6e24b6ede604fab2e9437bbd34930fc23
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
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 getNormalRate(id) {
  return request({
    url: "/dashboard/monitor/rate?dataScope=" + id,
    method: "get",
  });
}