【仿真功能】iscs界面,屏蔽门系统切换车站时以前是有订阅的,现在没了
This commit is contained in:
parent
b94a5d4842
commit
52970e9e9a
@ -47,6 +47,7 @@ export default {
|
|||||||
return ['iscs', (Math.random().toFixed(5)) * 100000].join('_');
|
return ['iscs', (Math.random().toFixed(5)) * 100000].join('_');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
'$store.state.iscs.alarmList': function(list) {
|
'$store.state.iscs.alarmList': function(list) {
|
||||||
if (list.length) {
|
if (list.length) {
|
||||||
@ -60,6 +61,9 @@ export default {
|
|||||||
document.querySelector('#teleRing').pause();
|
document.querySelector('#teleRing').pause();
|
||||||
this.$store.commit('iscs/setCloseMusic', 0);
|
this.$store.commit('iscs/setCloseMusic', 0);
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
'$store.state.socket.iscsStateMessages': function (list) {
|
||||||
|
this.$store.dispatch('iscs/updateIscsState', list);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
Loading…
Reference in New Issue
Block a user