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