首页和设备监控页面
This commit is contained in:
@@ -196,7 +196,6 @@ export default {
|
||||
this.Sagv = srgvRows.map(it => ({ id: it.deviceId || it.guid || it.id, name: it.deviceName || it.name, kind: 'srgv', raw: it }))
|
||||
this.SSJ = ssjRows.map(it => ({ id: it.id || it.deviceCode, name: it.name, kind: 'ssj', raw: it }))
|
||||
this.TSJ = tsjRows.map(it => ({ id: it.id, name: it.name, kind: 'tsj', raw: it }))
|
||||
console.log(srgvRows)
|
||||
}).catch(() => {})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -427,7 +427,6 @@ export default {
|
||||
if (response.code === 200) {
|
||||
const statusData = response.data
|
||||
|
||||
console.log(statusData)
|
||||
// SRGV数据
|
||||
if (statusData.SRGV) {
|
||||
runningData[0] = statusData.SRGV['运行'] || 0 // 运行
|
||||
|
||||
Reference in New Issue
Block a user