哈尔滨实训
This commit is contained in:
parent
e45ec364a5
commit
97eca75407
@ -42,36 +42,6 @@ export default {
|
||||
menu: [],
|
||||
menuNormal: {
|
||||
Local: [
|
||||
{
|
||||
label: '单操到定位',
|
||||
handler: this.locate,
|
||||
cmdType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION
|
||||
},
|
||||
{
|
||||
label: '单操到反位',
|
||||
handler: this.reverse,
|
||||
cmdType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION
|
||||
},
|
||||
{
|
||||
label: '道岔单锁',
|
||||
handler: this.lock,
|
||||
cmdType:CMD.Switch.CMD_SWITCH_SINGLE_LOCK
|
||||
},
|
||||
{
|
||||
label: '道岔单解',
|
||||
handler: this.unlock,
|
||||
cmdType:CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK
|
||||
},
|
||||
{
|
||||
label: '道岔封锁',
|
||||
handler: this.block,
|
||||
cmdType:CMD.Switch.CMD_SWITCH_BLOCK
|
||||
},
|
||||
{
|
||||
label: '道岔解封',
|
||||
handler: this.unblock,
|
||||
cmdType:CMD.Switch.CMD_SWITCH_UNBLOCK
|
||||
}
|
||||
],
|
||||
Center: [
|
||||
{
|
||||
@ -210,6 +180,7 @@ export default {
|
||||
lock() {
|
||||
const step = {
|
||||
start: true,
|
||||
code: `${this.selected.code}`,
|
||||
operation: OperationEvent.Switch.lock.menu.operation,
|
||||
param: {
|
||||
switchCode: this.selected.code
|
||||
@ -227,6 +198,7 @@ export default {
|
||||
const step = {
|
||||
start: true,
|
||||
operation: OperationEvent.Switch.unlock.menu.operation,
|
||||
code: `${this.selected.code}`,
|
||||
param: {
|
||||
switchCode: this.selected.code
|
||||
}
|
||||
@ -243,6 +215,7 @@ export default {
|
||||
const step = {
|
||||
start: true,
|
||||
operation: OperationEvent.Switch.block.menu.operation,
|
||||
code: `${this.selected.code}`,
|
||||
param: {
|
||||
switchCode: this.selected.code
|
||||
}
|
||||
@ -259,6 +232,7 @@ export default {
|
||||
const step = {
|
||||
start: true,
|
||||
operation: OperationEvent.Switch.unblock.menu.operation,
|
||||
code: `${this.selected.code}`,
|
||||
param: {
|
||||
switchCode: this.selected.code
|
||||
}
|
||||
@ -275,6 +249,7 @@ export default {
|
||||
const operate = {
|
||||
start: true,
|
||||
operation: OperationEvent.Switch.locate.menu.operation,
|
||||
code: `${this.selected.code}`,
|
||||
param: {
|
||||
switchCode: this.selected.code
|
||||
}
|
||||
@ -291,6 +266,7 @@ export default {
|
||||
const operate = {
|
||||
start: true,
|
||||
operation: OperationEvent.Switch.reverse.menu.operation,
|
||||
code: `${this.selected.code}`,
|
||||
param: {
|
||||
switchCode: this.selected.code
|
||||
}
|
||||
|
@ -48,7 +48,6 @@ class ValidateHandler {
|
||||
|
||||
/** 判断操作步骤是否正确 */
|
||||
judge (operate) {
|
||||
debugger;
|
||||
const steps = Handler.getSteps();
|
||||
const order = Handler.getOrder();
|
||||
let valid = false;
|
||||
|
Loading…
Reference in New Issue
Block a user