이름 영역을 클릭해도 프로필 띄워주도록 수정.
This commit is contained in:
parent
4fc3928860
commit
7bb6345e9c
|
@ -62,7 +62,7 @@
|
|||
mat-cell
|
||||
*matCellDef="let element"
|
||||
class="profileInfo"
|
||||
(click)="onClickGotoDeptTree($event, element.deptSeq)"
|
||||
(click)="onClickGotoDeptTree($event, element)"
|
||||
>
|
||||
<div class="baseInfo">
|
||||
<span
|
||||
|
|
|
@ -242,6 +242,8 @@ export class DetailTableComponent implements OnInit, OnDestroy {
|
|||
if (
|
||||
!compareList ||
|
||||
compareList.length === 0 ||
|
||||
compareList.filter(item => item.seq !== this.loginRes.userSeq).length ===
|
||||
0 ||
|
||||
compareList
|
||||
.filter(item => item.seq !== this.loginRes.userSeq)
|
||||
.filter(
|
||||
|
@ -296,10 +298,11 @@ export class DetailTableComponent implements OnInit, OnDestroy {
|
|||
event.stopPropagation();
|
||||
this.openProfile.emit(userSeq);
|
||||
}
|
||||
onClickGotoDeptTree(event: MouseEvent, deptSeq: number) {
|
||||
onClickGotoDeptTree(event: MouseEvent, element: UserInfoSS) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
this.gotoDeptTree.emit(Number(deptSeq));
|
||||
this.openProfile.emit(element.seq);
|
||||
this.gotoDeptTree.emit(Number(element.deptSeq));
|
||||
}
|
||||
onClickCall(type: string, userInfo: UserInfoSS) {
|
||||
let calleeNumber = '';
|
||||
|
|
Loading…
Reference in New Issue
Block a user