This commit is contained in:
zyy 2021-08-25 11:09:58 +08:00
commit 455e102696
2 changed files with 22 additions and 3 deletions

View File

@ -208,6 +208,22 @@ export default {
{label: '通信车占用', value: 'CBTC_OCCUPIED_FAULT'}, {label: '通信车占用', value: 'CBTC_OCCUPIED_FAULT'},
{label: '计轴故障', value: 'AXLE_FAULT'} {label: '计轴故障', value: 'AXLE_FAULT'}
]; ];
} else if (selected._type === 'Section' && this.popClass === 'xian-01__systerm') {
this.faultList = [
{label: '红光带故障', value: 'FAULT'},
{label: '粉光带故障', value: 'CBTC_OCCUPIED_FAULT'},
{label: '橙光带故障', value: 'ARB'}
];
} else if (selected._type === 'Switch' && this.popClass === 'xian-01__systerm' ) {
this.faultList = [
{label: '失表', value: 'SPLIT'},
{label: '定位失表', value: 'NORMAL_SPLIT'},
{label: '反位失表', value: 'REVERSE_SPLIT'},
{label: '挤岔', value: 'SQUEEZE'},
{label: '粉光带故障', value: 'CBTC_OCCUPIED_FAULT'},
{label: '红光带故障', value: 'AXLE_FAULT'},
{label: '橙光带故障', value: 'ARB'}
];
} }
if (this.faultList && this.faultList.length) { if (this.faultList && this.faultList.length) {
this.form.faultType = this.faultList[0].value; this.form.faultType = this.faultList[0].value;

View File

@ -112,7 +112,8 @@ export default {
'noARB', 'noARB',
'checkDirectionWhenSetHead', 'checkDirectionWhenSetHead',
'transferRouteCanOnlyFaultUnlock', 'transferRouteCanOnlyFaultUnlock',
'setManualWhenHeadTrainArriveTarget' 'setManualWhenHeadTrainArriveTarget',
'routeDefaultCheckConflict'
], ],
selectList: ['runMode'], selectList: ['runMode'],
generalConfig: [ generalConfig: [
@ -157,7 +158,8 @@ export default {
'noARB', 'noARB',
'checkDirectionWhenSetHead', 'checkDirectionWhenSetHead',
'transferRouteCanOnlyFaultUnlock', 'transferRouteCanOnlyFaultUnlock',
'setManualWhenHeadTrainArriveTarget' 'setManualWhenHeadTrainArriveTarget',
'routeDefaultCheckConflict'
], ],
rangeList: ['noParkingSM', 'parkingSM'], rangeList: ['noParkingSM', 'parkingSM'],
speedList: ['rmAtpSpeed', 'urmAtpSpeed'], speedList: ['rmAtpSpeed', 'urmAtpSpeed'],
@ -207,7 +209,8 @@ export default {
noARB: '没有ARB判定', noARB: '没有ARB判定',
checkDirectionWhenSetHead: '设置头码车时检查方向', checkDirectionWhenSetHead: '设置头码车时检查方向',
transferRouteCanOnlyFaultUnlock: '转换轨进路只能通过故障解锁来取消', transferRouteCanOnlyFaultUnlock: '转换轨进路只能通过故障解锁来取消',
setManualWhenHeadTrainArriveTarget: '头码车抵达目的地后变为人工车' setManualWhenHeadTrainArriveTarget: '头码车抵达目的地后变为人工车',
routeDefaultCheckConflict: '进路默认开启冲突检测'
} }
}; };
}, },