|
|
@@ -155,7 +155,7 @@ export default {
|
|
|
], width: 300 }
|
|
|
]
|
|
|
},
|
|
|
- curDeviceId: null,
|
|
|
+ currDeviceId: null,
|
|
|
currDeviceTenant: null,
|
|
|
title: '',
|
|
|
sn: ''
|
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
return {
|
|
|
list: getRemoteLogs,
|
|
|
autoRefresh: true,
|
|
|
- condition: { tenant: this.currDeviceTenant, deviceId: this.curDeviceId },
|
|
|
+ condition: { tenant: this.currDeviceTenant, deviceId: this.currDeviceId },
|
|
|
cols: [
|
|
|
{ prop: 'settingId', label: '事件' },
|
|
|
{ label: '执行状态', type: 'tag', render: ({ status }) => {
|
|
|
@@ -269,7 +269,7 @@ export default {
|
|
|
this.logSetting = { ...defaultLogSettingForm }
|
|
|
}
|
|
|
this.currDeviceTenant = device.tenant
|
|
|
- this.curDeviceId = device.id
|
|
|
+ this.currDeviceId = device.id
|
|
|
this.$refs.editDialog.show()
|
|
|
})
|
|
|
},
|
|
|
@@ -285,7 +285,7 @@ export default {
|
|
|
|
|
|
await startRemoteLog({
|
|
|
tenant: this.currDeviceTenant,
|
|
|
- deviceId: this.curDeviceId,
|
|
|
+ deviceId: this.currDeviceId,
|
|
|
duration,
|
|
|
activate: true,
|
|
|
commands: commands.split(';'),
|
|
|
@@ -296,7 +296,7 @@ export default {
|
|
|
onResult (device) {
|
|
|
this.$deviceName = device.name
|
|
|
this.currDeviceTenant = device.tenant
|
|
|
- this.curDeviceId = device.id
|
|
|
+ this.currDeviceId = device.id
|
|
|
this.$refs.resultDialog.show()
|
|
|
},
|
|
|
showDocument () {
|