占线板排列进路指令调整
This commit is contained in:
parent
4310f07a9b
commit
656e7a13aa
@ -266,8 +266,8 @@ export default {
|
|||||||
commit() {
|
commit() {
|
||||||
if (this.route) {
|
if (this.route) {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
const type = this.route.lock ? menuOperate.Signal.cancelTrainRoute : menuOperate.Signal.arrangementRoute;
|
const type = this.route.lock ? menuOperate.Signal.cancelTrainRoute : menuOperate.CTC.setRoute;
|
||||||
const param = this.route.lock ? { signalCode: this.route.startSignalCode } : { routeCode:this.route.code };
|
const param = this.route.lock ? { signalCode: this.route.startSignalCode } : { routeCode:this.route.code, tripNumber: this.selected.tripNumber, force: false, duration: null };
|
||||||
commitOperate(type, param, 3).then(({valid, operate})=>{
|
commitOperate(type, param, 3).then(({valid, operate})=>{
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user