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