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.

95 lines
1.9 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/0',
method: 'get',
})
}
2 years ago
// 问题处理
export function handleAlarmInfo(query) {
return request({
// baseURL:'/monitoring-api',
url: '/business/monitorPlatform/handleAlarmInfo',
method: 'put',
data:query
})
}
1 year ago
// 地图信息
export function getDeviceByAreaId(query) {
return request({
// baseURL:'/monitoring-api',
url: 'business/monitorPlatform/getDeviceByAreaId/'+query,
method: 'get',
})
}
// 获取租户信息
export function getTenantData(query) {
return request({
// baseURL:'/monitoring-api',
url: '/business/tenant/'+query,
method: 'get',
})
}
// 获取电子围栏
export function selectMonitorElectronic(query) {
return request({
// baseURL:'/monitoring-api',
url: '/business/monitorPlatform/selectMonitorElectronic/'+query,
method: 'get',
})
}
// 搜索地图标点
export function selectDeviceByName(query) {
return request({
// baseURL:'/monitoring-api',
url: '/business/monitorPlatform/selectDeviceByName',
method: 'post',
data:query
})
}