会话添加上级本门成员角色
This commit is contained in:
parent
84c097407f
commit
48b36d54f5
@ -361,6 +361,7 @@ export default {
|
||||
const stationSupervisorList = {};
|
||||
const driverList = {};
|
||||
const maintainerList = {};
|
||||
const parentDepartmentList = {};
|
||||
val.forEach(item => {
|
||||
const device = this.$store.getters['map/getDeviceByCode'](item.deviceCode);
|
||||
this.memberData[item.id]['active'] = false;
|
||||
@ -398,6 +399,10 @@ export default {
|
||||
// this.memberData[item.id].label = item.name || '';
|
||||
maintainerList[item.id] = this.memberData[item.id];
|
||||
break;
|
||||
case 'PARENT_DEPARTMENT':
|
||||
this.memberData[item.id].label = '上级部门' + (item.name || '');
|
||||
this.memberData[item.id].labelName = '上级部门' + (item.name || '');
|
||||
parentDepartmentList[item.id] = this.memberData[item.id];
|
||||
}
|
||||
});
|
||||
// { label: '全部集中站', value: 'allConcentrateStation', active: false, sign: 'DEVICE_STATION' },
|
||||
@ -428,6 +433,11 @@ export default {
|
||||
id: 'depotDispatcher',
|
||||
type: 'role',
|
||||
children: depotDispatcherList
|
||||
}, {
|
||||
label: '上级部门',
|
||||
id: 'parentDepartment',
|
||||
type: 'role',
|
||||
children: parentDepartmentList
|
||||
}];
|
||||
this.initCommonMemberList();
|
||||
// this.$nextTick(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user