设备统计界面

This commit is contained in:
kerwincui
2022-06-06 17:45:16 +08:00
parent e6ccf6ee58
commit 1aa94d3e50
5 changed files with 64 additions and 36 deletions

View File

@@ -34,6 +34,7 @@ export function listAllDeviceShort() {
method: 'get',
})
}
// 查询设备详细
export function getDevice(deviceId) {
return request({
@@ -42,6 +43,14 @@ export function getDevice(deviceId) {
})
}
// 查询设备统计信息
export function getDeviceStatistic() {
return request({
url: '/iot/device/statistic',
method: 'get'
})
}
// 查询设备运行状态详细
export function getDeviceRunningStatus(deviceId) {
return request({