地图绘制设置运行等级激活起始区段调整
This commit is contained in:
parent
ab87adabb3
commit
dd83568d04
@ -354,11 +354,10 @@ export default {
|
|||||||
this.addModel.endStationCode = selected.code;
|
this.addModel.endStationCode = selected.code;
|
||||||
} else if (selected._type.toUpperCase() === 'Section'.toUpperCase() && this.field.toUpperCase() === 'startSectionCode'.toUpperCase()) {
|
} else if (selected._type.toUpperCase() === 'Section'.toUpperCase() && this.field.toUpperCase() === 'startSectionCode'.toUpperCase()) {
|
||||||
if (selected.standTrack || selected.reentryTrack || selected.transferTrack) {
|
if (selected.standTrack || selected.reentryTrack || selected.transferTrack) {
|
||||||
this.addModel.endSectionCode = selected.code;
|
this.addModel.startSectionCode = selected.code;
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选择正确的起始区段');
|
this.$message.error('请选择正确的起始区段');
|
||||||
}
|
}
|
||||||
this.addModel.startSectionCode = selected.code;
|
|
||||||
} else if (selected._type.toUpperCase() === 'Section'.toUpperCase() && this.field.toUpperCase() === 'endSectionCode'.toUpperCase()) {
|
} else if (selected._type.toUpperCase() === 'Section'.toUpperCase() && this.field.toUpperCase() === 'endSectionCode'.toUpperCase()) {
|
||||||
if (selected.standTrack || selected.reentryTrack || selected.transferTrack) {
|
if (selected.standTrack || selected.reentryTrack || selected.transferTrack) {
|
||||||
this.addModel.endSectionCode = selected.code;
|
this.addModel.endSectionCode = selected.code;
|
||||||
|
Loading…
Reference in New Issue
Block a user