故障提示NCC

This commit is contained in:
joylink_zhaoerwei 2023-05-06 17:26:09 +08:00
parent b472601fbc
commit f3ae97f7f8
2 changed files with 16 additions and 4 deletions

View File

@ -206,9 +206,11 @@ export default {
if (index !== undefined) {
this.alarmDetailMessageList.splice(0, index + 1);
}
if (newValue[0].handleMethod === 'NCC' && this.$store.getters['map/getDeviceByCode'](this.alarmDetailMessageList[0].deviceCode) !== undefined) {
this.showAlarmPlayAlarmMusic();
}
}
}
},
beforeDestroy() {
this.$store.dispatch('socket/setSimulationAlarmInfo', []);
@ -292,7 +294,17 @@ export default {
}
};
</script>
<style lang='scss'>
.yellow{
pointer-events: none !important;
.el-dialog {
.el-dialog__header,
.el-dialog__body {
pointer-events: all !important;
}
}
}
</style>
<style lang="scss" scoped>
.alarm-button{
position: absolute;
@ -394,7 +406,7 @@ export default {
z-index: 1508 !important;
}
.item8 {
top:400;
top:400px;
z-index: 1509 !important;
}
.item9 {

View File

@ -13,7 +13,7 @@
<training-left-slider ref="trainingLeftSlider" @overallTranslation="overallTranslation" />
<lineBoard ref="lineBoard" />
<bottomTable ref="bottomTable" />
<errrorMessageBoxVue />
<errrorMessageBoxVue v-if="this.$store.state.training.roles === 'NCC_DISPATCHER'" />
</div>
</template>
<script>