占线板闪烁调整

This commit is contained in:
fan 2022-06-24 14:57:20 +08:00
parent 0931e54a40
commit 8dd185cd9a
2 changed files with 14 additions and 15 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<el-dialog <el-dialog
title="车站股道图" title="车站股道图"
:visible.sync="dialogVisible" :visible="dialogVisible"
width="99%" width="99%"
z-index="3000" z-index="3000"
top="5vh" top="5vh"
@ -299,7 +299,7 @@ export default {
data() { data() {
return { return {
menu: [{label: '设置自触', handler: this.setTrigger, disabled: false}, {label: '取消自触', handler: this.cancelTrigger, disabled: false}], menu: [{label: '设置自触', handler: this.setTrigger, disabled: false}, {label: '取消自触', handler: this.cancelTrigger, disabled: false}],
dialogVisible: true, dialogVisible: false,
triggerParam: {}, triggerParam: {},
selectCode: '', selectCode: '',
selectCode1: '', selectCode1: '',
@ -406,7 +406,6 @@ export default {
} }
}, },
mounted() { mounted() {
this.dialogVisible = false;
}, },
methods: { methods: {
handleClose() { handleClose() {

View File

@ -13,7 +13,7 @@
/> />
</el-select> </el-select>
<el-button-group> <el-button-group>
<el-button v-if="isCtc" size="small" @click="showLineBoard">占线板</el-button> <el-button v-if="isCtc" size="small" @click="showLineBoard">占线板</el-button>
<el-button v-if="userRole=== 'STATION_SUPERVISOR' && !$route.query.projectDevice && $route.query.lineCode!='08'" size="small" @click="goIbp">IBP盘</el-button> <el-button v-if="userRole=== 'STATION_SUPERVISOR' && !$route.query.projectDevice && $route.query.lineCode!='08'" size="small" @click="goIbp">IBP盘</el-button>
<el-button v-if="userRole=== 'DISPATCHER' && !$route.query.projectDevice && hasBigScreen" size="small" @click="goBigScreen">大屏</el-button> <el-button v-if="userRole=== 'DISPATCHER' && !$route.query.projectDevice && hasBigScreen" size="small" @click="goBigScreen">大屏</el-button>
<el-button v-if="(userRole==='DISPATCHER' || userRole=== 'STATION_SUPERVISOR') && !$route.query.projectDevice && iscsShow" size="small" @click="goIscs">ISCS</el-button> <el-button v-if="(userRole==='DISPATCHER' || userRole=== 'STATION_SUPERVISOR') && !$route.query.projectDevice && iscsShow" size="small" @click="goIscs">ISCS</el-button>
@ -30,7 +30,7 @@
<!-- running && --> <!-- running && -->
<join-run-plan-view v-if="!dataError" ref="runPlanView" :group="group" /> <join-run-plan-view v-if="!dataError" ref="runPlanView" :group="group" />
<select-ibp ref="selectIbp" /> <select-ibp ref="selectIbp" />
<line-board ref="lineBoard" /> <line-board ref="lineBoard" />
</div> </div>
</template> </template>
@ -52,7 +52,7 @@ export default {
components:{ components:{
JoinRunPlanView, JoinRunPlanView,
SelectIbp, SelectIbp,
LineBoard LineBoard
}, },
props: { props: {
group: { group: {
@ -138,12 +138,12 @@ export default {
running() { running() {
return this.$store.state.training.started; return this.$store.state.training.started;
}, },
datie(){ datie() {
return this.$route.query.lineCode == '16' return this.$route.query.lineCode == '16';
}, },
isCtc() { isCtc() {
return !!this.$route.query.ctc return !!this.$route.query.ctc;
}, },
isScreen() { isScreen() {
return this.$store.state.training.prdType === '07'; return this.$store.state.training.prdType === '07';
}, },
@ -313,9 +313,9 @@ export default {
this.$message.error('设置倍速失败!'); this.$message.error('设置倍速失败!');
}); });
}, },
showLineBoard() { showLineBoard() {
this.$refs.lineBoard.doShow(); this.$refs.lineBoard.doShow();
}, },
// ibp // ibp
goIbp() { goIbp() {
// this.$refs.selectIbp.doShow(); // this.$refs.selectIbp.doShow();