add(api): 新增多个 API接口

- 在 baseMonitorInfo.js 中新增 getEnergyTypeCount函数
- 在 recordBusbarAlarm.js 中新增 recordBusbarAlarmCount 函数
- 在 recordIOTInstant.js 中新增 selectLastTWTempertureData 函数
IOT
zch 1 month ago
parent 18d9651d30
commit 2f49f9639e

@ -51,3 +51,12 @@ export function getMonitorInfoTree(data) {
data: data
})
}
export function getEnergyTypeCount(energyType) {
return request({
url: '/ems/base/baseMonitorInfo/getEnergyTypeCount/' + energyType,
method: 'post'
})
}

@ -60,3 +60,12 @@ export function selectLastTWTempertureDataList(query) {
params: query
})
}
export function selectLastTWTempertureData(data) {
return request({
url: '/ems/record/recordIOTInstant/selectLastTWTempertureData',
method: 'post',
data: data
})
}

@ -43,6 +43,7 @@ export function delRecordBusbarAlarm(objId) {
})
}
// 查询巡检报警记录列表
export function recordBusbarAlarmList(query) {
return request({
url: '/record/recordBusbarAlarm/recordBusbarAlarmList',
@ -50,3 +51,12 @@ export function recordBusbarAlarmList(query) {
params: query
})
}
//记录母排近七天每天一天的巡检记录次数。
export function recordBusbarAlarmCount(data) {
return request({
url: '/record/recordBusbarAlarm/recordBusbarAlarmCount',
method: 'post',
data: data
})
}

Loading…
Cancel
Save