调整宁波一号线传参字段

This commit is contained in:
zyy 2020-02-10 17:02:00 +08:00
parent f06bab2f1c
commit f82dfa53ff
6 changed files with 37 additions and 37 deletions

View File

@ -188,7 +188,7 @@ export default {
operation: OperationEvent.Signal.arrangementRoute.menu.operation,
cmdType: CMD.Signal.CMD_SIGNAL_SET_ROUTE,
param: {
Route_Code: this.row.code
routeCode: this.row.code
}
};

View File

@ -211,7 +211,7 @@ export default {
operation: '',
cmdType: '',
param: {
Station_List: list
stationList: list
}
};
if (this.controlMode == 'center') {

View File

@ -161,7 +161,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Section.alxeFailure.menu.operation,
param: {
Section_Code: this.selected.code
sectionCode: this.selected.code
}
};
@ -183,7 +183,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Section.fault.menu.operation,
param: {
Section_Code: this.selected.code
sectionCode: this.selected.code
}
};
@ -201,7 +201,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Section.split.menu.operation,
param: {
Section_Code: this.selected.code
sectionCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -218,7 +218,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Section.alxeEffective.menu.operation,
param: {
Section_Code: this.selected.code
sectionCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -235,7 +235,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Section.active.menu.operation,
param: {
Section_Code: this.selected.code
sectionCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -252,7 +252,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Section.lock.menu.operation,
param: {
Section_Code: this.selected.code
sectionCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -269,7 +269,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Section.unlock.menu.operation,
param: {
Section_Code: this.selected.code
sectionCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -286,7 +286,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Section.setSpeed.menu.operation,
param: {
Section_Code: this.selected.code
sectionCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {

View File

@ -212,7 +212,7 @@ export default {
operation: OperationEvent.Signal.stoppage.menu.operation,
cmdType: CMD.Signal.CMD_SIGNAL_ADD_FAULT,
param: {
Signal_Code: `${this.selected.code}`
signalCode: `${this.selected.code}`
}
};
this.mouseCancelState(this.selected);
@ -234,7 +234,7 @@ export default {
operation: OperationEvent.Signal.cancelStoppage.menu.operation,
cmdType: CMD.Signal.CMD_SIGNAL_REMOVE_FAULT,
param: {
Signal_Code: `${this.selected.code}`
signalCode: `${this.selected.code}`
}
};
this.mouseCancelState(this.selected);
@ -255,7 +255,7 @@ export default {
code: `${this.selected.code}`,
operation: OperationEvent.Signal.arrangementRoute.menu.operation,
param: {
Signal_Code: this.selected.code
signalCode: this.selected.code
}
};
@ -278,7 +278,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Signal.cancelTrainRoute.menu.operation,
param: {
Signal_Code: this.selected.code
signalCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -295,7 +295,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Signal.lock.menu.operation,
param: {
Signal_Code: this.selected.code
signalCode: this.selected.code
}
};
@ -315,7 +315,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Signal.unlock.menu.operation,
param: {
Signal_Code: this.selected.code
signalCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -332,7 +332,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Signal.reopenSignal.menu.operation,
param: {
Signal_Code: this.selected.code
signalCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -349,7 +349,7 @@ export default {
code: `${this.selected.code}`,
operation: OperationEvent.Signal.signalClose.menu.operation,
param: {
Signal_Code: `${this.selected.code}`
signalCode: `${this.selected.code}`
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -366,7 +366,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Signal.humanControl.menu.operation,
param: {
Signal_Code: this.selected.code
signalCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -386,7 +386,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Signal.atsAutoControl.menu.operation,
param: {
Signal_Code: this.selected.code
signalCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -406,7 +406,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Signal.setAutoInterlock.menu.operation,
param: {
Signal_Code: `${this.selected.code}`
signalCode: `${this.selected.code}`
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -423,7 +423,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Signal.cancelAutoInterlock.menu.operation,
param: {
Signal_Code: `${this.selected.code}`
signalCode: `${this.selected.code}`
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -440,7 +440,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Signal.detail.menu.operation,
param: {
Signal_Code: `${this.selected.code}`
signalCode: `${this.selected.code}`
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {

View File

@ -118,7 +118,7 @@ export default {
operation: OperationEvent.StationControl.requestCentralControl.menu.operation,
// cmdType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL,
param: {
StationControl_Code: this.selected.code
stationControlCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', step).then(({ valid }) => {
@ -135,7 +135,7 @@ export default {
operation: OperationEvent.StationControl.requestStationControl.menu.operation,
// cmdType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL,
param: {
StationControl_Code: this.selected.code
stationControlCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', step).then(({ valid }) => {

View File

@ -172,7 +172,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.stoppage.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
@ -194,7 +194,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.cancelStoppage.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
@ -216,7 +216,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.locate.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -233,7 +233,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.reverse.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -250,7 +250,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.lock.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -267,7 +267,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.unlock.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -284,7 +284,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.block.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -301,7 +301,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.unblock.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -318,7 +318,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.split.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -335,7 +335,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.active.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -352,7 +352,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.setSpeed.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
@ -369,7 +369,7 @@ export default {
code: this.selected.code,
operation: OperationEvent.Switch.alxeEffective.menu.operation,
param: {
Switch_Code: this.selected.code
switchCode: this.selected.code
}
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {