关联岔芯参数可删除

This commit is contained in:
fan 2021-03-10 17:28:09 +08:00
parent 56c6cebbfe
commit b05ab63bc6

View File

@ -213,7 +213,7 @@ export default {
{ prop: 'rightStopPointOffset', label: this.$t('map.rightStopPointOffset'), type: 'number', min: 0, max: this.maxLengthFact, isHidden: !this.isStopPointOffset }, //
{ prop: 'region', label: this.$t('map.sectionColon'), type: 'select', optionLabel: 'label', optionValue: 'value', options: this.regionList, isHidden: !this.sectionColonShow },
{ prop: 'trainWindowCode', label: '关联车次窗', type: 'input', disabled: true, isHidden: !this.isSwitchSectionShow },
{ prop: 'relCrossSection', label: '关联岔芯', type: 'select', optionLabel: 'name&&code', optionValue: 'code', isHidden: this.isSwitchSectionType, options: this.crossSectionList }
{ prop: 'relCrossSection', label: '关联岔芯', type: 'select', optionLabel: 'name&&code', optionValue: 'code', clearable: true, isHidden: this.isSwitchSectionType, options: this.crossSectionList }
// || !this.isCrossSectionType
]
}
@ -403,7 +403,7 @@ export default {
this.centralizedStationList = this.stationList.filter(station => station.centralized);
}
if (this.sectionList && this.sectionList.length) {
this.crossSectionList = this.sectionList.filter(section => section.type === '05');
this.crossSectionList = this.sectionList.filter(section => section.type === '05');
}
},
deviceSelect(selected) {