增加 区段的新建列车操作,以及菜单实训operate配置
This commit is contained in:
parent
527f59cc58
commit
584a30a634
@ -245,6 +245,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
console.log(OperationEvent.Command.commandNingBo.line_stand)
|
||||||
return {
|
return {
|
||||||
classA: -1,
|
classA: -1,
|
||||||
classB: -1,
|
classB: -1,
|
||||||
@ -256,7 +257,7 @@ export default {
|
|||||||
Local: [
|
Local: [
|
||||||
// {
|
// {
|
||||||
// title: '窗口(W)',
|
// title: '窗口(W)',
|
||||||
// operate: OperationEvent.Command.mBar.system,
|
// operate: '',
|
||||||
// children: [
|
// children: [
|
||||||
// {
|
// {
|
||||||
// title: '报警',
|
// title: '报警',
|
||||||
@ -412,118 +413,139 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '线路(G)',
|
title: '线路(G)',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '站台',
|
title: '站台',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line_stand,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '开放/关闭',
|
title: '开放/关闭',
|
||||||
click: this.standOpenOrClose
|
click: this.standOpenOrClose,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_openOrClose
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '设置/取消扣车',
|
title: '设置/取消扣车',
|
||||||
click: this.setStandDetain
|
click: this.setStandDetain,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_holdOrNot
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '设置站间列车数量',
|
title: '设置站间列车数量',
|
||||||
// click: this.setIntervalStopNumber
|
click: this.undeveloped,
|
||||||
click: this.undeveloped
|
operate: OperationEvent.Command.commandNingBo.line_stand_trainNum
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '分配停站时间',
|
title: '分配停站时间',
|
||||||
click: this.setAllocateTime
|
click: this.setAllocateTime,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_stopTime
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '授权转移',
|
title: '授权转移',
|
||||||
click: this.authorizeTransfer
|
click: this.authorizeTransfer,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_transfer
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '显示',
|
title: '显示',
|
||||||
click: this.showStandDetail
|
click: this.showStandDetail,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_detail
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '道岔',
|
title: '道岔',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line_switch,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '命令',
|
title: '命令',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_cmd,
|
||||||
click: this.setSwitchCommand
|
click: this.setSwitchCommand
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '封锁',
|
title: '封锁',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_block,
|
||||||
click: this.setBlockSwitch
|
click: this.setBlockSwitch
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '解除封锁',
|
title: '解除封锁',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_unblock,
|
||||||
click: this.setUnblockSwitch
|
click: this.setUnblockSwitch
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '请求动岔/请求或授权/取消',
|
title: '请求动岔/请求或授权/取消',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_empower,
|
||||||
click: this.setSwitchActive
|
click: this.setSwitchActive
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '显示',
|
title: '显示',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_detail,
|
||||||
click: this.showSwitchDetail
|
click: this.showSwitchDetail
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '信号机',
|
title: '信号机',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line_signal,
|
||||||
children: [
|
children: [
|
||||||
|
|
||||||
{
|
{
|
||||||
title: '引导',
|
title: '引导',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_guide,
|
||||||
click: this.setSignalGuide
|
click: this.setSignalGuide
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '取消允许锁闭',
|
title: '取消允许锁闭',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_lockOrNot,
|
||||||
click: this.setSignalCanBlock
|
click: this.setSignalCanBlock
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '进路/命令',
|
title: '进路/命令',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_cmd,
|
||||||
click: this.setRouteCommand
|
click: this.setRouteCommand
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '信号指示模式',
|
title: '信号指示模式',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_indicator,
|
||||||
click: this.setSignalModel
|
click: this.setSignalModel
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '封锁',
|
title: '封锁',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_block,
|
||||||
click: this.setSignalBlock
|
click: this.setSignalBlock
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '解除封锁',
|
title: '解除封锁',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_unblock,
|
||||||
click: this.setSignalCancelBlock
|
click: this.setSignalCancelBlock
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '显示',
|
title: '显示',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_detail,
|
||||||
click: this.showSignalDetail
|
click: this.showSignalDetail
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '轨道',
|
title: '轨道',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line_section,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '开放',
|
title: '开放',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_section_open,
|
||||||
click: this.handleOpenSection
|
click: this.handleOpenSection
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '关闭',
|
title: '关闭',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_section_close,
|
||||||
click: this.handleCloseSection
|
click: this.handleCloseSection
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '临时限速',
|
title: '临时限速',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_section_limitSpeed,
|
||||||
click: this.handleLimitSpeed
|
click: this.handleLimitSpeed
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '显示',
|
title: '显示',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_section_detail,
|
||||||
click: this.handleSectionShow
|
click: this.handleSectionShow
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -887,117 +909,138 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '线路(G)',
|
title: '线路(G)',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '站台',
|
title: '站台',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line_stand,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '开放/关闭',
|
title: '开放/关闭',
|
||||||
click: this.standOpenOrClose
|
click: this.standOpenOrClose,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_openOrClose
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '设置/取消扣车',
|
title: '设置/取消扣车',
|
||||||
click: this.setStandDetain
|
click: this.setStandDetain,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_holdOrNot
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '设置站间列车数量',
|
title: '设置站间列车数量',
|
||||||
click: this.setIntervalStopNumber
|
click: this.undeveloped,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_trainNum
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '分配停站时间',
|
title: '分配停站时间',
|
||||||
click: this.setAllocateTime
|
click: this.setAllocateTime,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_stopTime
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '授权转移',
|
title: '授权转移',
|
||||||
click: this.authorizeTransfer
|
click: this.authorizeTransfer,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_transfer
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '显示',
|
title: '显示',
|
||||||
click: this.showStandDetail
|
click: this.showStandDetail,
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_stand_detail
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '道岔',
|
title: '道岔',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line_switch,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '命令',
|
title: '命令',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_cmd,
|
||||||
click: this.setSwitchCommand
|
click: this.setSwitchCommand
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '封锁',
|
title: '封锁',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_block,
|
||||||
click: this.setBlockSwitch
|
click: this.setBlockSwitch
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '解除封锁',
|
title: '解除封锁',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_unblock,
|
||||||
click: this.setUnblockSwitch
|
click: this.setUnblockSwitch
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '请求动岔/请求或授权/取消',
|
title: '请求动岔/请求或授权/取消',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_empower,
|
||||||
click: this.setSwitchActive
|
click: this.setSwitchActive
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '显示',
|
title: '显示',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_switch_detail,
|
||||||
click: this.showSwitchDetail
|
click: this.showSwitchDetail
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '信号机',
|
title: '信号机',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line_signal,
|
||||||
children: [
|
children: [
|
||||||
|
|
||||||
{
|
{
|
||||||
title: '引导',
|
title: '引导',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_guide,
|
||||||
click: this.setSignalGuide
|
click: this.setSignalGuide
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '取消允许锁闭',
|
title: '取消允许锁闭',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_lockOrNot,
|
||||||
click: this.setSignalCanBlock
|
click: this.setSignalCanBlock
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '进路/命令',
|
title: '进路/命令',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_cmd,
|
||||||
click: this.setRouteCommand
|
click: this.setRouteCommand
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '信号指示模式',
|
title: '信号指示模式',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_indicator,
|
||||||
click: this.setSignalModel
|
click: this.setSignalModel
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '封锁',
|
title: '封锁',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_block,
|
||||||
click: this.setSignalBlock
|
click: this.setSignalBlock
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '解除封锁',
|
title: '解除封锁',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_unblock,
|
||||||
click: this.setSignalCancelBlock
|
click: this.setSignalCancelBlock
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '显示',
|
title: '显示',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_signal_detail,
|
||||||
click: this.showSignalDetail
|
click: this.showSignalDetail
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '轨道',
|
title: '轨道',
|
||||||
operate: '',
|
operate: OperationEvent.Command.commandNingBo.line_section,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: '开放',
|
title: '开放',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_section_open,
|
||||||
click: this.handleOpenSection
|
click: this.handleOpenSection
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '关闭',
|
title: '关闭',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_section_close,
|
||||||
click: this.handleCloseSection
|
click: this.handleCloseSection
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '临时限速',
|
title: '临时限速',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_section_limitSpeed,
|
||||||
click: this.handleLimitSpeed
|
click: this.handleLimitSpeed
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '显示',
|
title: '显示',
|
||||||
|
operate: OperationEvent.Command.commandNingBo.line_section_detail,
|
||||||
click: this.handleSectionShow
|
click: this.handleSectionShow
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<div>
|
||||||
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="600px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
|
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="600px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-table
|
<el-table
|
||||||
@ -41,8 +42,9 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
|
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
|
||||||
<signal-block ref="signalBlock" @commandSuccess="commandSuccess" @cancelCommand="cancelCommand" />
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<signal-block ref="signalBlock" @commandSuccess="commandSuccess" @cancelCommand="cancelCommand" />
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<div>
|
||||||
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="700px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
|
<el-dialog v-dialogDrag class="ningbo-01__systerm route-setting" :title="title" :visible.sync="show" width="700px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-table
|
<el-table
|
||||||
@ -37,8 +38,9 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
|
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
|
||||||
<signal-can-block ref="signalCanBlock" @commandSuccess="commandSuccess" @cancelCommand="cancelCommand" />
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<signal-can-block ref="signalCanBlock" @commandSuccess="commandSuccess" @cancelCommand="cancelCommand" />
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -122,21 +122,21 @@ export default {
|
|||||||
this.$store.dispatch('training/emitTipFresh');
|
this.$store.dispatch('training/emitTipFresh');
|
||||||
},
|
},
|
||||||
commit(isClose = false) {
|
commit(isClose = false) {
|
||||||
// const operate = {
|
const operate = {
|
||||||
// cmdType: this.command ? CMD.Signal.CMD_SIGNAL_BLOCK : CMD.Signal.CMD_SIGNAL_UNBLOCK,
|
cmdType: this.command ? CMD.Signal.CMD_SIGNAL_BLOCK : CMD.Signal.CMD_SIGNAL_UNBLOCK,
|
||||||
// operation: this.command ? OperationEvent.Signal.lock.confirm1.operation : OperationEvent.Signal.unlock.confirm1.operation,
|
operation: this.command ? OperationEvent.Signal.lock.confirm1.operation : OperationEvent.Signal.unlock.confirm1.operation,
|
||||||
// over: true,
|
over: true,
|
||||||
// param: {signalCode: this.selected.code}
|
param: {signalCode: this.selected.code}
|
||||||
// };
|
};
|
||||||
// this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
|
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
|
||||||
// if (valid) {
|
if (valid) {
|
||||||
// isClose && this.doClose();
|
isClose && this.doClose();
|
||||||
// this.$emit('commandSuccess', this.selected.code);
|
this.$emit('commandSuccess', this.selected.code);
|
||||||
// }
|
}
|
||||||
// }).catch(() => {
|
}).catch(() => {
|
||||||
// isClose && this.doClose();
|
isClose && this.doClose();
|
||||||
// this.$refs.noticeInfo.doShow();
|
this.$refs.noticeInfo.doShow();
|
||||||
// });
|
});
|
||||||
},
|
},
|
||||||
handleCurrentChange(val) {
|
handleCurrentChange(val) {
|
||||||
this.$refs.singleTable.setCurrentRow(this.selected);
|
this.$refs.singleTable.setCurrentRow(this.selected);
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
|
<notice-info ref="noticeInfo" pop-class="ningbo-01__systerm" />
|
||||||
<set-fault ref="setFault" pop-class="ningbo-01__systerm" />
|
<set-fault ref="setFault" pop-class="ningbo-01__systerm" />
|
||||||
<train-add-plan ref="trainAddPlan" pop-class="ningbo-01__systerm" />
|
<train-add-plan ref="trainAddPlan" pop-class="ningbo-01__systerm" />
|
||||||
|
<load-spare-train ref="loadSpareTrain" pop-class="foshan-01__systerm" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -25,6 +26,8 @@ import CMD from '@/scripts/cmdPlugin/CommandEnum';
|
|||||||
import { DeviceMenu, OperateMode } from '@/scripts/ConstDic';
|
import { DeviceMenu, OperateMode } from '@/scripts/ConstDic';
|
||||||
import MenuContextHandler from '@/scripts/cmdPlugin/MenuContextHandler';
|
import MenuContextHandler from '@/scripts/cmdPlugin/MenuContextHandler';
|
||||||
import {menuOperate, commitOperate} from '@/jmapNew/theme/components/utils/menuOperate';
|
import {menuOperate, commitOperate} from '@/jmapNew/theme/components/utils/menuOperate';
|
||||||
|
import LoadSpareTrain from '@/jmapNew/theme/components/menus/dialog/loadSpareTrain';
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'SectionMenu',
|
name: 'SectionMenu',
|
||||||
@ -36,7 +39,8 @@ export default {
|
|||||||
AlxeEffective,
|
AlxeEffective,
|
||||||
NoticeInfo,
|
NoticeInfo,
|
||||||
TrainAddPlan,
|
TrainAddPlan,
|
||||||
SetFault
|
SetFault,
|
||||||
|
LoadSpareTrain
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
selected: {
|
selected: {
|
||||||
@ -110,6 +114,11 @@ export default {
|
|||||||
label: this.$t('menu.menuSection.cancelFault'),
|
label: this.$t('menu.menuSection.cancelFault'),
|
||||||
handler: this.cancelStoppage,
|
handler: this.cancelStoppage,
|
||||||
cmdType: CMD.Fault.CMD_CANCEL_FAULT
|
cmdType: CMD.Fault.CMD_CANCEL_FAULT
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '设置备用车',
|
||||||
|
handler: this.loadSpare,
|
||||||
|
cmdType: CMD.Section.CMD_TRAIN_LOAD_SPARE_TRAIN
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
@ -267,6 +276,14 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs.setFault.doShow(menuOperate.Common.cancelFault, this.selected);
|
this.$refs.setFault.doShow(menuOperate.Common.cancelFault, this.selected);
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
// 新建备用车
|
||||||
|
loadSpare() {
|
||||||
|
commitOperate(menuOperate.Section.loadSpareTrain, {sectionCode:this.selected.code}).then(({valid, operate})=>{
|
||||||
|
if (valid) {
|
||||||
|
this.$refs.loadSpareTrain.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -235,6 +235,7 @@ export const OperationEvent = {
|
|||||||
domId: '_Tips-commandHaerbin-confirmCr2{BOTTOM}'
|
domId: '_Tips-commandHaerbin-confirmCr2{BOTTOM}'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 西安
|
||||||
commandXian: {
|
commandXian: {
|
||||||
confirm: {
|
confirm: {
|
||||||
operation: '009',
|
operation: '009',
|
||||||
@ -248,6 +249,144 @@ export const OperationEvent = {
|
|||||||
operation: '0092',
|
operation: '0092',
|
||||||
domId: '_Tips-commandXian-requestBar{TOP}'
|
domId: '_Tips-commandXian-requestBar{TOP}'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// 宁波三
|
||||||
|
commandNingBo: {
|
||||||
|
//线路
|
||||||
|
line: {
|
||||||
|
operation: '00a',
|
||||||
|
domId: '_Tips-ningBo-line{TOP}'
|
||||||
|
},
|
||||||
|
//站台
|
||||||
|
line_stand: {
|
||||||
|
operation: '00a0',
|
||||||
|
domId: '_Tips-ningBo-line-stand{TOP}'
|
||||||
|
},
|
||||||
|
//开放或关闭
|
||||||
|
line_stand_openOrClose: {
|
||||||
|
operation: '00a01',
|
||||||
|
domId: '_Tips-ningBo-line-stand-openOrClose{TOP}'
|
||||||
|
},
|
||||||
|
//设置或取消扣车
|
||||||
|
line_stand_holdOrNot: {
|
||||||
|
operation: '00a02',
|
||||||
|
domId: '_Tips-ningBo-line_stand_holdOrNote{TOP}'
|
||||||
|
},
|
||||||
|
//设置站间列车数量
|
||||||
|
line_stand_trainNum: {
|
||||||
|
operation: '00a03',
|
||||||
|
domId: '_Tips-ningBo-line_stand_trainNum{TOP}'
|
||||||
|
},
|
||||||
|
//设置站间停站时间
|
||||||
|
line_stand_stopTime: {
|
||||||
|
operation: '00a04',
|
||||||
|
domId: '_Tips-ningBo-line_stand_stopTime{TOP}'
|
||||||
|
},
|
||||||
|
//授权转移
|
||||||
|
line_stand_transfer: {
|
||||||
|
operation: '00a05',
|
||||||
|
domId: '_Tips-ningBo-line_stand_transfer{TOP}'
|
||||||
|
},
|
||||||
|
//显示
|
||||||
|
line_stand_detail: {
|
||||||
|
operation: '00a06',
|
||||||
|
domId: '_Tips-ningBo-line_stand_detail{TOP}'
|
||||||
|
},
|
||||||
|
//道岔
|
||||||
|
line_switch: {
|
||||||
|
operation: '00a1',
|
||||||
|
domId: '_Tips-ningBo-line-switch{TOP}'
|
||||||
|
},
|
||||||
|
//命令
|
||||||
|
line_switch_cmd: {
|
||||||
|
operation: '00a11',
|
||||||
|
domId: '_Tips-ningBo-line-switch-cmd{TOP}'
|
||||||
|
},
|
||||||
|
//封锁
|
||||||
|
line_switch_block: {
|
||||||
|
operation: '00a12',
|
||||||
|
domId: '_Tips-ningBo-line-switch-block{TOP}'
|
||||||
|
},
|
||||||
|
//解除封锁
|
||||||
|
line_switch_unblock: {
|
||||||
|
operation: '00a13',
|
||||||
|
domId: '_Tips-ningBo-line-switch-unblock{TOP}'
|
||||||
|
},
|
||||||
|
//请求动岔/请求/授权
|
||||||
|
line_switch_empower: {
|
||||||
|
operation: '00a14',
|
||||||
|
domId: '_Tips-ningBo-line-switch-empower{TOP}'
|
||||||
|
},
|
||||||
|
//显示
|
||||||
|
line_switch_detail: {
|
||||||
|
operation: '00a15',
|
||||||
|
domId: '_Tips-ningBo-line-switch-detail{TOP}'
|
||||||
|
},
|
||||||
|
//信号机
|
||||||
|
line_signal: {
|
||||||
|
operation: '00a2',
|
||||||
|
domId: '_Tips-ningBo-line-signal{TOP}'
|
||||||
|
},
|
||||||
|
//引导
|
||||||
|
line_signal_guide: {
|
||||||
|
operation: '00a21',
|
||||||
|
domId: '_Tips-ningBo-line-signal-guide{TOP}'
|
||||||
|
},
|
||||||
|
//取消允许锁闭
|
||||||
|
line_signal_lockOrNot: {
|
||||||
|
operation: '00a22',
|
||||||
|
domId: '_Tips-ningBo-line-signal-lockOrNot{TOP}'
|
||||||
|
},
|
||||||
|
//进路
|
||||||
|
line_signal_cmd: {
|
||||||
|
operation: '00a23',
|
||||||
|
domId: '_Tips-ningBo-line-signal-cmd{TOP}'
|
||||||
|
},
|
||||||
|
//信号指示模式
|
||||||
|
line_signal_indicator: {
|
||||||
|
operation: '00a24',
|
||||||
|
domId: '_Tips-ningBo-line-signal-indicator{TOP}'
|
||||||
|
},
|
||||||
|
//封锁
|
||||||
|
line_signal_block: {
|
||||||
|
operation: '00a25',
|
||||||
|
domId: '_Tips-ningBo-line-signal-block{TOP}'
|
||||||
|
},
|
||||||
|
//解封
|
||||||
|
line_signal_unblock: {
|
||||||
|
operation: '00a26',
|
||||||
|
domId: '_Tips-ningBo-line-signal-unblock{TOP}'
|
||||||
|
},
|
||||||
|
//显示
|
||||||
|
line_signal_detail: {
|
||||||
|
operation: '00a27',
|
||||||
|
domId: '_Tips-ningBo-line-signal-detail{TOP}'
|
||||||
|
},
|
||||||
|
//轨道
|
||||||
|
line_section: {
|
||||||
|
operation: '00a3',
|
||||||
|
domId: '_Tips-ningBo-line-section{TOP}'
|
||||||
|
},
|
||||||
|
//开放
|
||||||
|
line_section_open: {
|
||||||
|
operation: '00a31',
|
||||||
|
domId: '_Tips-ningBo-line-section-open{TOP}'
|
||||||
|
},
|
||||||
|
//关闭
|
||||||
|
line_section_close: {
|
||||||
|
operation: '00a32',
|
||||||
|
domId: '_Tips-ningBo-line-section-close{TOP}'
|
||||||
|
},
|
||||||
|
//临时限速
|
||||||
|
line_section_limitSpeed: {
|
||||||
|
operation: '00a33',
|
||||||
|
domId: '_Tips-ningBo-line-section-limitSpeed{TOP}'
|
||||||
|
},
|
||||||
|
//显示
|
||||||
|
line_section_detail: {
|
||||||
|
operation: '00a34',
|
||||||
|
domId: '_Tips-ningBo-line-section-detail{TOP}'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 站台概要表
|
// 站台概要表
|
||||||
@ -2597,6 +2736,8 @@ export const OperationEvent = {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log(OperationEvent);
|
||||||
|
|
||||||
import { MapDeviceType } from './Config.js';
|
import { MapDeviceType } from './Config.js';
|
||||||
|
|
||||||
class OperationHandler {
|
class OperationHandler {
|
||||||
|
Loading…
Reference in New Issue
Block a user