Browse Source

[完善]组织机构根据登录用户显示

beijing
邵佳豪 2 years ago
parent
commit
37e1c6c85e
  1. 3
      src/app/system-management/organization/organization.component.ts

3
src/app/system-management/organization/organization.component.ts

@ -51,6 +51,9 @@ export class OrganizationComponent implements OnInit {
}).subscribe((data: any) => {
this.totalCount = data.result.totalCount
data.result.items.forEach(element => {
if (element.id == OrganizationUnitId) {
element.parentId = null
}
element.key = element.id
element.title = element.displayName
element.selectable = false

Loading…
Cancel
Save