|
@@ -144,7 +144,7 @@ async function getStationList() {
|
|
|
el.linkstatusC = el.linkstatus ? '连接' : '未连接'
|
|
|
el.children = el.devInfoList
|
|
|
el.children.forEach(v => {
|
|
|
- v.key = v.deviceID
|
|
|
+ v.key = v.id
|
|
|
v.linkstatus = v.netStatus
|
|
|
v.linkstatusC = v.linkstatus ? '连接' : '未连接'
|
|
|
v.updateTime = v.time
|
|
@@ -163,7 +163,7 @@ function pageChange(val) {
|
|
|
}
|
|
|
//启动新设备
|
|
|
async function handlerunDeviceMonitor(record) {
|
|
|
- let res = await runDeviceMonitor({ devId: record.deviceID })
|
|
|
+ let res = await runDeviceMonitor({ devId: record.id })
|
|
|
console.log(res,'新设备启动---')
|
|
|
getStationList();
|
|
|
}
|