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