diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/sectionCmdControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/sectionCmdControl.vue index b2364f5b6..7f7cd65b0 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/sectionCmdControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/sectionCmdControl.vue @@ -1,435 +1,455 @@ - - - - 命令信息 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{message}} - - - 下达({{timeCountCommand}}) - - - 确认1 - - - - 确认2({{timeCountConfirm}}) - - - 中止 - - - 关闭 - - - - + + + + 命令信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ message }} + + + 下达({{ timeCountCommand }}) + + + 确认1 + + + + 确认2({{ timeCountConfirm }}) + + + 中止 + + + 关闭 + + + + \ No newline at end of file +}; + diff --git a/src/jmapNew/theme/beijing_01/menus/dialog/sectionControl.vue b/src/jmapNew/theme/beijing_01/menus/dialog/sectionControl.vue index 7e9264dfc..ec4708039 100644 --- a/src/jmapNew/theme/beijing_01/menus/dialog/sectionControl.vue +++ b/src/jmapNew/theme/beijing_01/menus/dialog/sectionControl.vue @@ -77,9 +77,7 @@ export default { return this.dialogShow ? getDomIdByOperation(this.operation) : ''; }, title() { - if (this.operation == OperationEvent.Section.lock.menu.operation) { - return '区段封锁'; - } else if (this.operation == OperationEvent.Section.split.menu.operation) { + if (this.operation == OperationEvent.Section.split.menu.operation) { this.radio = '2'; return '区段控制'; } else if (this.operation == OperationEvent.Section.active.menu.operation) { @@ -129,10 +127,7 @@ export default { mouseCancelState(this.selected); }, commit() { - if (this.operation == OperationEvent.Section.lock.menu.operation) { - /** 区段封锁*/ - this.lock(); - } else if (this.operation == OperationEvent.Section.split.menu.operation) { + if (this.operation == OperationEvent.Section.split.menu.operation) { /** 轨道区段切除*/ this.split(); } else if (this.operation == OperationEvent.Section.active.menu.operation) { @@ -140,16 +135,6 @@ export default { this.active(); } }, - // 道岔单锁 - lock() { - const operate = { - over:true, - operation: OperationEvent.Section.lock.menu.operation, - cmdType: CMD.Section.CMD_SWITCH_SINGLE_LOCK - }; - - this.sendCommand(operate); - }, // 轨道区段切除 split() { const operate = { @@ -197,7 +182,7 @@ export default { this.doClose(); this.$refs.noticeInfo.doShow(operate, error.message); }); - }, + } } }; diff --git a/src/jmapNew/theme/beijing_01/menus/menuSection.vue b/src/jmapNew/theme/beijing_01/menus/menuSection.vue index 1d2575e64..77fdccda0 100644 --- a/src/jmapNew/theme/beijing_01/menus/menuSection.vue +++ b/src/jmapNew/theme/beijing_01/menus/menuSection.vue @@ -71,16 +71,6 @@ export default { handler: this.axlePreReset, cmdType: CMD.Section.CMD_SECTION_AXIS_PRE_RESET }, - { - label: '区段封锁', - handler: this.lock, - cmdType: CMD.Section.CMD_SECTION_BLOCK - }, - { - label: '区段解封', - handler: this.unlock, - cmdType: CMD.Section.CMD_SECTION_UNBLOCK - }, { label: '区段设置限速', handler: this.setSpeed, @@ -307,40 +297,6 @@ export default { } }); }, - // 区段解锁 - lock() { - const operate = { - start: true, - code: this.selected.code, - operation: OperationEvent.Section.lock.menu.operation, - param: { - sectionCode: `${this.selected.code}` - } - }; - this.$store.dispatch('training/next', operate).then(({ valid }) => { - if (valid) { - this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); - this.$refs.sectionControl.doShow(operate, this.selected); - } - }); - }, - // 区段封锁 - unlock() { - const operate = { - start: true, - code: this.selected.code, - operation: OperationEvent.Section.unlock.menu.operation, - param: { - sectionCode: `${this.selected.code}` - } - }; - this.$store.dispatch('training/nextNew', operate).then(({ valid }) => { - if (valid) { - this.$store.dispatch('menuOperation/handleBreakFlag', { break: true }); - this.$refs.sectionCmdControl.doShow(operate, this.selected); - } - }); - }, // 设置速度 setSpeed() { // let operate = {