You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.1 KiB
JavaScript

2 years ago
import request from '@/utils/request'
2 years ago
// 左下
2 years ago
export function monitorUnitPercentage(query) {
return request({
2 years ago
// baseURL:'/monitoring-api',
url: '/business/monitorPlatform/monitorUnitPercentage',
method: 'get',
})
}
// 左上
export function monitorPercentage(query) {
return request({
// baseURL:'/monitoring-api',
url: '/business/monitorPlatform/monitorPercentage',
method: 'get',
})
}
// 中
export function allNums(query) {
return request({
// baseURL:'/monitoring-api',
url: '/business/monitorPlatform/allNums',
2 years ago
method: 'get',
})
}
// 右下
export function getAlarmInfos(query) {
return request({
// baseURL:'/monitoring-api',
url: '/business/monitorPlatform/getAlarmInfos',
method: 'get',
})
}
// 右上
export function getDeviceOperations(query) {
return request({
// baseURL:'/monitoring-api',
url: '/business/monitorPlatform/getDeviceOperations/1',
method: 'get',
})
}
2 years ago
// 问题处理
export function handleAlarmInfo(query) {
return request({
// baseURL:'/monitoring-api',
url: '/business/monitorPlatform/handleAlarmInfo',
method: 'put',
data:query
})
}