监控中心 - 设备监测 添加查询选择设备点位列表接口添加type参数 0:查看,1:配置

This commit is contained in:
fks-yangshouda
2024-08-15 17:02:54 +08:00
parent df589c5a8e
commit 0f81a21cb5
2 changed files with 2 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
// 设备监测 // 设备监测
export enum deviceMonitor { export enum deviceMonitor {
getDeviceGraph = '/carbon-smart/api/monitor/getDeviceGraph', getDeviceGraph = '/carbon-smart/api/monitor/getDeviceGraph',
getDevicePointToMonitor = '/carbon-smart//api/monitor/getDevicePointToMonitor', getDevicePointToMonitor = '/carbon-smart/api/monitor/getDevicePointToMonitor',
} }
// 能耗监测 // 能耗监测

View File

@@ -212,6 +212,7 @@
.post(deviceMonitor.getDevicePointToMonitor, { .post(deviceMonitor.getDevicePointToMonitor, {
deviceIds: checkedKeys.value, deviceIds: checkedKeys.value,
orgId: orgId.value, orgId: orgId.value,
type: 0,
}) })
.then((res) => { .then((res) => {
if (res.retcode == 0) { if (res.retcode == 0) {