占线板闪烁调整

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

View File

@ -13,7 +13,7 @@
/>
</el-select>
<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=== '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>
@ -30,7 +30,7 @@
<!-- running && -->
<join-run-plan-view v-if="!dataError" ref="runPlanView" :group="group" />
<select-ibp ref="selectIbp" />
<line-board ref="lineBoard" />
<line-board ref="lineBoard" />
</div>
</template>
@ -52,7 +52,7 @@ export default {
components:{
JoinRunPlanView,
SelectIbp,
LineBoard
LineBoard
},
props: {
group: {
@ -138,12 +138,12 @@ export default {
running() {
return this.$store.state.training.started;
},
datie(){
return this.$route.query.lineCode == '16'
},
isCtc() {
return !!this.$route.query.ctc
},
datie() {
return this.$route.query.lineCode == '16';
},
isCtc() {
return !!this.$route.query.ctc;
},
isScreen() {
return this.$store.state.training.prdType === '07';
},
@ -313,9 +313,9 @@ export default {
this.$message.error('设置倍速失败!');
});
},
showLineBoard() {
this.$refs.lineBoard.doShow();
},
showLineBoard() {
this.$refs.lineBoard.doShow();
},
// ibp
goIbp() {
// this.$refs.selectIbp.doShow();