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