You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.0 KiB
58 lines
1.0 KiB
import request from '@/utils/request'
|
|
|
|
// 设备故障预警
|
|
export function faultWarn() {
|
|
return request({
|
|
url: '/devicesData/faultWarn',
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
// 综合统计
|
|
export function allIndex() {
|
|
return request({
|
|
url: '/devicesData/index',
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
// 品牌故障率TOP10
|
|
export function monthFault() {
|
|
return request({
|
|
url: '/devicesData/monthFault',
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
// 品牌故障率TOP10
|
|
export function realTimeStat() {
|
|
return request({
|
|
url: '/devicesData/realTimeStat',
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
|
|
// 故障持续时间TOP10
|
|
export function faultTimeTop() {
|
|
return request({
|
|
url: '/devicesData/faultTimeTop',
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
// 设备占比
|
|
export function eqPercent() {
|
|
return request({
|
|
url: '/devicesData/eqPercent',
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
// 故障分类统计
|
|
export function faultCategory() {
|
|
return request({
|
|
url: '/devicesData/faultCategory',
|
|
method: 'get',
|
|
})
|
|
}
|