代码调整
This commit is contained in:
parent
80ef093b10
commit
a33556ce64
@ -567,7 +567,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 换端操作
|
// 换端操作
|
||||||
turnDirection() {
|
turnDirection() {
|
||||||
commitOperate(menuOperate.Train.turnDirection, { code: this.selected.code }, 3).then(({valid, operate})=>{
|
commitOperate(menuOperate.Train.turnDirection, { groupNumber: this.selected.groupNumber }, 3).then(({valid, operate})=>{
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
||||||
}
|
}
|
||||||
|
@ -555,7 +555,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 换端操作
|
// 换端操作
|
||||||
turnDirection() {
|
turnDirection() {
|
||||||
commitOperate(menuOperate.Train.turnDirection, { code: this.selected.code }, 3).then(({valid, operate})=>{
|
commitOperate(menuOperate.Train.turnDirection, { groupNumber: this.selected.groupNumber }, 3).then(({valid, operate})=>{
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
||||||
}
|
}
|
||||||
|
@ -567,7 +567,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 换端操作
|
// 换端操作
|
||||||
turnDirection() {
|
turnDirection() {
|
||||||
commitOperate(menuOperate.Train.turnDirection, { code: this.selected.code }, 3).then(({valid, operate})=>{
|
commitOperate(menuOperate.Train.turnDirection, { groupNumber: this.selected.groupNumber }, 3).then(({valid, operate})=>{
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
this.$store.dispatch('menuOperation/handleBreakFlag', { break: true });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user