src/api/station.js
@@ -77,6 +77,7 @@ }); } /** * 删除机房 */ @@ -230,6 +231,18 @@ }); } /** * 删除电池 设备 电源 机房 */ export function delBatt(stationId, powerId, battgroupId) { return request({ url: 'condition/delBatt', method: 'GET', params: { stationId, powerId, battgroupId } }); } /** * 设备下添加电池组 */ @@ -240,3 +253,13 @@ data }); } /** * 站点列表 树状 */ export function getStationTree() { return request({ url: 'stationInf/getLeftStation', method: 'GET' }); }