diff --git a/src/api/board/board5.js b/src/api/board/board5.js new file mode 100644 index 0000000..39cf84c --- /dev/null +++ b/src/api/board/board5.js @@ -0,0 +1,41 @@ +import request from '@/utils/request' + +// 获取工单统计(工单总数、已完成、完成率、停机工单) +export function getOrderWorkStatistics() { + return request({ url: '/board5/orderWorkStatistics', method: 'get' }) +} + +// 获取维修时间统计(平均响应时间、平均维修时间) +export function getRepairTimeStatistics() { + return request({ url: '/board5/repairTimeStatistics', method: 'get' }) +} + +// 获取保养执行情况统计 +export function getMaintStatistics() { + return request({ url: '/board5/maintStatistics', method: 'get' }) +} + +// 获取巡检执行情况统计 +export function getInspectStatistics() { + return request({ url: '/board5/inspectStatistics', method: 'get' }) +} + +// 获取设备状态分布 +export function getDeviceStatusDistribution() { + return request({ url: '/board5/deviceStatusDistribution', method: 'get' }) +} + +// 获取故障来源分布 +export function getFaultSourceDistribution() { + return request({ url: '/board5/faultSourceDistribution', method: 'get' }) +} + +// 获取故障数量曲线 +export function getFaultTrendList() { + return request({ url: '/board5/faultTrendList', method: 'get' }) +} + +// 获取产量机台TOP5 +export function getProductionTop5() { + return request({ url: '/board5/productionTop5', method: 'get' }) +}