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.
54 lines
1.1 KiB
JavaScript
54 lines
1.1 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询计量设备信息列表
|
|
export function listBaseMonitorInfo(query) {
|
|
return request({
|
|
url: '/ems/base/baseMonitorInfo/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询计量设备信息详细
|
|
export function getBaseMonitorInfo(objId) {
|
|
return request({
|
|
url: '/ems/base/baseMonitorInfo/' + objId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增计量设备信息
|
|
export function addBaseMonitorInfo(data) {
|
|
return request({
|
|
url: '/ems/base/baseMonitorInfo',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改计量设备信息
|
|
export function updateBaseMonitorInfo(data) {
|
|
return request({
|
|
url: '/ems/base/baseMonitorInfo',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除计量设备信息
|
|
export function delBaseMonitorInfo(objId) {
|
|
return request({
|
|
url: '/ems/base/baseMonitorInfo/' + objId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 查询计量设备信息下拉树结构
|
|
export function getMonitorInfoTree(data) {
|
|
return request({
|
|
url: '/ems/base/baseMonitorInfo/monitorInfoTree',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|