Commit 160de698 authored by co_dengxiongwen's avatar co_dengxiongwen

tj

parent d07633a8
...@@ -199,7 +199,8 @@ export default { ...@@ -199,7 +199,8 @@ export default {
//wsuri.substring(0, wsuri.indexOf(':')) //wsuri.substring(0, wsuri.indexOf(':'))
if (wsuri != null && wsuri.indexOf(':') <= -1) { if (wsuri != null && wsuri.indexOf(':') <= -1) {
// webpath = 'ws://59.110.43.122:8091/websocket/1001' // webpath = 'ws://59.110.43.122:8091/websocket/1001'
webpath = 'ws://10.20.2.33:8091/websocket/1001' // webpath = 'ws://10.20.2.33:8091/websocket/1001'
webpath = 'ws://192.168.0.222:8091/websocket/1001'
} else { } else {
webpath = webpath =
'ws:' + 'ws:' +
...@@ -257,7 +258,8 @@ export default { ...@@ -257,7 +258,8 @@ export default {
//wsuri.substring(0, wsuri.indexOf(':')) //wsuri.substring(0, wsuri.indexOf(':'))
if (wsuri != null && wsuri.indexOf(':') <= -1) { if (wsuri != null && wsuri.indexOf(':') <= -1) {
// webpath = 'ws://59.110.43.122:8091/websocket/1002' // webpath = 'ws://59.110.43.122:8091/websocket/1002'
webpath = 'ws://10.20.2.33:8091/websocket/1002' // webpath = 'ws://10.20.2.33:8091/websocket/1002'
webpath = 'ws://192.168.0.222:8091/websocket/1002'
} else { } else {
webpath = webpath =
'ws:' + 'ws:' +
......
...@@ -229,7 +229,12 @@ export default { ...@@ -229,7 +229,12 @@ export default {
this.typeList[5].num = this.socketData.carbon_dioxide this.typeList[5].num = this.socketData.carbon_dioxide
this.typeList[6].num = this.socketData.fine_particles this.typeList[6].num = this.socketData.fine_particles
this.typeList[7].num = this.socketData.radiation this.typeList[7].num = this.socketData.radiation
this.typeList[8].num = this.socketData.region if (this.socketData.status == 4) {
this.typeList[8].num = 1
} else {
this.typeList[8].num = 0
}
//列表 //列表
for (var i = 0; i < this.dataList.length; i++) { for (var i = 0; i < this.dataList.length; i++) {
this.$set(this.dataList[i], 'temperature', this.socketData.temperature) this.$set(this.dataList[i], 'temperature', this.socketData.temperature)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment