조직도 > 프로필 선택시 프로필 오픈과 동시에 조직도 트리 부서 이동 로직 추가.
This commit is contained in:
parent
30843f2de9
commit
88ca8d2e27
|
@ -30,7 +30,7 @@
|
|||
[base]="profileImageRoot"
|
||||
[path]="element.profileImageFile"
|
||||
[default]="'assets/images/img_nophoto_50.png'"
|
||||
(click)="onClickOpenProfile($event, element.seq)"
|
||||
(click)="onClickOpenProfile($event, element)"
|
||||
/>
|
||||
</span>
|
||||
<span
|
||||
|
|
|
@ -293,10 +293,11 @@ export class DetailTableComponent implements OnInit, OnDestroy {
|
|||
this.toggleUser.emit(userInfo);
|
||||
}
|
||||
|
||||
onClickOpenProfile(event: MouseEvent, userSeq: number) {
|
||||
onClickOpenProfile(event: MouseEvent, element: UserInfoSS) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
this.openProfile.emit(userSeq);
|
||||
this.openProfile.emit(element.seq);
|
||||
this.gotoDeptTree.emit(Number(element.deptSeq));
|
||||
}
|
||||
onClickGotoDeptTree(event: MouseEvent, element: UserInfoSS) {
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Reference in New Issue
Block a user