bugfix :: 조직도 부서 클릭시 조회 안되던 문제 수정.
This commit is contained in:
parent
c9070ecc96
commit
6305855bfa
|
@ -28,6 +28,7 @@ interface FlatNode {
|
||||||
expandable: boolean;
|
expandable: boolean;
|
||||||
name: string;
|
name: string;
|
||||||
level: number;
|
level: number;
|
||||||
|
deptInfo: DeptInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -110,7 +111,8 @@ export class TreeComponent implements OnInit, AfterViewInit {
|
||||||
return {
|
return {
|
||||||
expandable: !!node.children && node.children.length > 0,
|
expandable: !!node.children && node.children.length > 0,
|
||||||
name: node.name,
|
name: node.name,
|
||||||
level
|
level,
|
||||||
|
deptInfo: node.deptInfo
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
node => node.level,
|
node => node.level,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user