diff --git a/public/config/project.config.json b/public/config/project.config.json index 206a4f9..052adfe 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -4,7 +4,7 @@ "theme":"blue", "uri":"http://111.198.10.15:21610/", "baseUrl": "http://111.198.10.15:21608/", - "wsUrl": "ws://192.168.10.6:5903/websocket/", + "wsUrl": "ws://111.198.10.15:21608/websocket/", "icsUrl": "ws://127.0.0.1:1234", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, diff --git a/public/config/project.config.json b/public/config/project.config.json index 206a4f9..052adfe 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -4,7 +4,7 @@ "theme":"blue", "uri":"http://111.198.10.15:21610/", "baseUrl": "http://111.198.10.15:21608/", - "wsUrl": "ws://192.168.10.6:5903/websocket/", + "wsUrl": "ws://111.198.10.15:21608/websocket/", "icsUrl": "ws://127.0.0.1:1234", "mainPage": "http://111.198.10.15:11404/dcms/#", "singleSys": true, diff --git a/src/views/overview/listoverview.vue b/src/views/overview/listoverview.vue index 764e2c1..f46458a 100644 --- a/src/views/overview/listoverview.vue +++ b/src/views/overview/listoverview.vue @@ -53,8 +53,25 @@ - - +
+
+ 设备列表 +
+ + +
+
+ + + + + + + -
-
-
- 设备列表 -
- - -
- - - - - - @@ -173,7 +174,7 @@ this.cartypelist = response.data }) this.initMap() - this.fetchData() + // this.fetchData() setInterval(() => { this.sec-- }, 1000) @@ -297,10 +298,10 @@ this.listQuery.offset = 1 } - // offlineCount(this.listQuery).then(response => { - // this.online = response.data.online - // this.offline = response.data.offline - // }) + offlineCount(this.listQuery).then(response => { + this.online = response.data.online + this.offline = response.data.offline + }) getDeviceListPage(this.listQuery).then(response => { if (response.code === 200) { @@ -416,14 +417,14 @@