|
|
@@ -273,6 +273,7 @@ export default {
|
|
|
monitor.online = onLineTotal
|
|
|
monitor.offline = offLineTotal
|
|
|
monitor.inactive = deactivatedTotal + notConnectedTotal
|
|
|
+ monitor.deactivated = deactivatedTotal
|
|
|
monitor.loaded = true
|
|
|
this.getDeviesByMonitor()
|
|
|
},
|
|
|
@@ -301,7 +302,7 @@ export default {
|
|
|
activate: 1,
|
|
|
org: this.group.path
|
|
|
}
|
|
|
- const { total, online, offline, inactive } = this.monitor
|
|
|
+ const { total, online, offline, deactivated } = this.monitor
|
|
|
if (this.active === 'online') {
|
|
|
query.pageSize = online
|
|
|
query.onlineStatus = 1
|
|
|
@@ -309,7 +310,7 @@ export default {
|
|
|
query.pageSize = offline
|
|
|
query.onlineStatus = 2
|
|
|
} else {
|
|
|
- query.pageSize = total - inactive
|
|
|
+ query.pageSize = total - deactivated
|
|
|
}
|
|
|
if (query.pageSize === 0) {
|
|
|
this.deviceOptions = { list: [], loaded: true }
|