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