|
@@ -14,8 +14,8 @@
|
|
|
<div class="echarts" style="height:90%;width:100%;" ref="zhexian"></div>
|
|
|
</div>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -27,8 +27,8 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
// websocket
|
|
|
- // path: 'ws://192.168.2.244:8080/itdmServer/itdmWebsocket/itdmSecondServer',
|
|
|
- path: 'ws://127.0.0.1:8080/itdmServer/itdmWebsocket/itdmSecondServer',
|
|
|
+ path: 'ws://localhost:8080/itdmServer/itdmWebsocket/itdmSecondServer',
|
|
|
+ // path: 'ws://127.0.0.1:8080/itdmServer/itdmWebsocket/itdmSecondServer',
|
|
|
socket: '',
|
|
|
|
|
|
// 通用数据1(电压、进水口出水口温度、水压)
|
|
@@ -105,7 +105,7 @@ export default {
|
|
|
this.deviceOptions = this.allDevOptions
|
|
|
return false
|
|
|
}
|
|
|
- for (var i = 0; i < deOption.length; i++) {
|
|
|
+ for (var i = 0; i < deOption.length; i++) {
|
|
|
console.log(deOption[i].deviceStatus)
|
|
|
if(deOption[i].deviceStatus == num){
|
|
|
this.deviceOptions.push(deOption[i])
|