src/api/newpage.js
@@ -8,6 +8,14 @@
  });
}
// 获取平台在线
export function getPlatform() {
  return request({
    url: "/dashboard/platform",
    method: "get",
  });
}
// 设备数据
export function getDeviceData(dataScope, deptId) {
  return request({
@@ -63,3 +71,11 @@
    method: "get",
  });
}
// 考核积分数据
export function checkScore(dataScope, deptId) {
  return request({
    url: "/dashboard/check/score?dataScope=" + dataScope + "&deptId=" + deptId,
    method: "get",
  });
}