大铁线路 终端切换代码调整
This commit is contained in:
parent
bf4b376d04
commit
9657620d15
@ -375,6 +375,7 @@ export default {
|
||||
this.isShow = false;
|
||||
this.rpMenuPopShow = false;
|
||||
this.clearRpRow();
|
||||
this.$emit('close');
|
||||
},
|
||||
// 大铁 调度台 发布所有行车计划
|
||||
sendRunplan() {
|
||||
|
@ -769,6 +769,7 @@ export default {
|
||||
},
|
||||
doClose() {
|
||||
this.dialogShow = false;
|
||||
this.$emit('close');
|
||||
},
|
||||
tabClick() {
|
||||
console.log('tabClick');
|
||||
|
@ -1,11 +1,21 @@
|
||||
<template>
|
||||
<div v-if="isShow" class="terminalList">
|
||||
<div v-for="(eachTerminal,index) in terminalList" :key="index" :class="active==index?'eachTerminal active':'eachTerminal'" @click="eachTerminal.click(index)">{{ eachTerminal.name }}</div>
|
||||
<div>
|
||||
<div v-if="isShow" class="terminalList">
|
||||
<div v-for="(eachTerminal,index) in terminalList" :key="index" :class="active==index?'eachTerminal active':'eachTerminal'" @click="eachTerminal.click(index)">{{ eachTerminal.name }}</div>
|
||||
</div>
|
||||
<DispatchCmd ref="dispatchCmd" @close="close" />
|
||||
<DispatcherLoger ref="dispatcherLoger" @close="close" />
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import DispatchCmd from '@/views/dispatcherStationManage/dispatchCmd';
|
||||
import DispatcherLoger from '@/views/dispatcherLoger/index';
|
||||
export default {
|
||||
name:'TerminalList',
|
||||
components: {
|
||||
DispatchCmd,
|
||||
DispatcherLoger
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
terminalList:[],
|
||||
@ -19,8 +29,8 @@ export default {
|
||||
],
|
||||
'02':[
|
||||
{name:'行调工作站', code:'dispatchWork', click:this.noEvent},
|
||||
{name:'调度计划', code:'schedulingPlan', click:this.noEvent},
|
||||
{name:'调度命令', code:'dispatchingCommand', click:this.noEvent}
|
||||
{name:'调度计划', code:'schedulingPlan', click:this.schedulingPlan},
|
||||
{name:'调度命令', code:'dispatchingCommand', click:this.dispatchingCommand}
|
||||
]
|
||||
},
|
||||
'subway':{
|
||||
@ -59,6 +69,17 @@ export default {
|
||||
methods:{
|
||||
noEvent(index) {
|
||||
this.active = index;
|
||||
},
|
||||
schedulingPlan(index) {
|
||||
this.active = index;
|
||||
this.$refs.dispatcherLoger.doShow();
|
||||
},
|
||||
dispatchingCommand(index) {
|
||||
this.active = index;
|
||||
this.$refs.dispatchCmd.doShow();
|
||||
},
|
||||
close() {
|
||||
this.active = 0;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user