diff --git a/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.html b/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.html index 16af2d2e..c28b62a7 100644 --- a/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.html +++ b/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.html @@ -62,7 +62,7 @@ mat-cell *matCellDef="let element" class="profileInfo" - (click)="onClickGotoDeptTree($event, element.deptSeq)" + (click)="onClickGotoDeptTree($event, element)" >
- + 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 = '';