西安三号线 添加道岔定反位失表
This commit is contained in:
parent
a8ce67ee4a
commit
d58c80888e
@ -36,7 +36,6 @@ export function deviceFactory(type, elem) {
|
||||
export function parser(data) {
|
||||
var ibpDevice = {};
|
||||
if (data) {
|
||||
Object.assign(data.background);
|
||||
ibpDevice[data.background.code] = deviceFactory(deviceType.Background, data.background);
|
||||
store.dispatch('ibp/setIbpBgDevice', ibpDevice[data.background.code]);
|
||||
zrUtil.each(data.textList || [], elem => {
|
||||
|
@ -189,12 +189,12 @@ export default {
|
||||
this.deviceName = deviceType[selected._type];
|
||||
}
|
||||
this.faultList = deviceFaultType[selected._type];
|
||||
if (selected._type == 'Switch' && this.popClass == 'xian-01__systerm' ) {
|
||||
// && this.$route.query.lineCode == '11'
|
||||
this.faultList = this.faultList.filter(fault=>{
|
||||
return fault.value != 'NORMAL_SPLIT' && fault.value != 'REVERSE_SPLIT';
|
||||
});
|
||||
}
|
||||
// if (selected._type == 'Switch' && this.popClass == 'xian-01__systerm' ) {
|
||||
// // && this.$route.query.lineCode == '11'
|
||||
// this.faultList = this.faultList.filter(fault=>{
|
||||
// return fault.value != 'NORMAL_SPLIT' && fault.value != 'REVERSE_SPLIT';
|
||||
// });
|
||||
// }
|
||||
if (this.faultList && this.faultList.length) {
|
||||
this.form.faultType = this.faultList[0].value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user