feat(board): 添加看板5数据统计接口
- 实现工单统计功能(工单总数、已完成、完成率、停机工单) - 添加维修时间统计功能(平均响应时间、平均维修时间) - 集成保养执行情况统计数据获取 - 集成巡检执行情况统计数据获取 - 实现设备状态分布数据获取 - 添加故障来源分布数据获取 - 实现故障数量曲线数据获取 - 添加产量机台TOP5数据获取master
parent
6449316949
commit
a25e72e95b
@ -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' })
|
||||
}
|
||||
Loading…
Reference in New Issue