调整司机角色在添加仿真成员是未过滤
This commit is contained in:
parent
fc64c99c8a
commit
f89d29ad59
@ -361,6 +361,11 @@ export default {
|
|||||||
children: depotDispatcherList
|
children: depotDispatcherList
|
||||||
}];
|
}];
|
||||||
this.initCommonMemberList();
|
this.initCommonMemberList();
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if (this.$refs.tree) {
|
||||||
|
this.$refs.tree.filter(this.queryMember);
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -374,8 +379,12 @@ export default {
|
|||||||
this.drawer = false;
|
this.drawer = false;
|
||||||
} else {
|
} else {
|
||||||
this.drawer = true;
|
this.drawer = true;
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if (this.$refs.tree) {
|
||||||
this.$refs.tree.filter(this.queryMember);
|
this.$refs.tree.filter(this.queryMember);
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
setSetting(data) {
|
setSetting(data) {
|
||||||
this.form = data;
|
this.form = data;
|
||||||
|
@ -200,10 +200,16 @@ export default {
|
|||||||
label: '通号',
|
label: '通号',
|
||||||
id: 'maintainer',
|
id: 'maintainer',
|
||||||
children: maintainerList
|
children: maintainerList
|
||||||
|
}, {
|
||||||
|
label: '车辆段',
|
||||||
|
id: 'depotDispatcher',
|
||||||
|
children: depotDispatcherList
|
||||||
}];
|
}];
|
||||||
if (depotDispatcherList) {
|
this.$nextTick(() => {
|
||||||
this.treeData.push({label: '车辆段', id: 'depotDispatcher', children: depotDispatcherList});
|
if (this.$refs.tree) {
|
||||||
|
this.$refs.tree.filter(this.queryMember);
|
||||||
}
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'$store.state.map.activeTrainListChange': function () {
|
'$store.state.map.activeTrainListChange': function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user