l3能源成本分摊(部分完成留存)
This commit is contained in:
@@ -42,3 +42,19 @@ export function delLocation(locationId) {
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取位置及其子位置下的所有设备
|
||||
export function getLocationMeters(locationId) {
|
||||
return request({
|
||||
url: '/ems/location/' + locationId + '/meters',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取位置树及其设备信息(用于拓扑图展示)
|
||||
export function getLocationTree() {
|
||||
return request({
|
||||
url: '/ems/location/tree/topology',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user