From 7bb6345e9cd7004de6b2a35a6e702ce4aa6c2962 Mon Sep 17 00:00:00 2001 From: leejinho Date: Mon, 30 Mar 2020 16:47:44 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EC=98=81=EC=97=AD?= =?UTF-8?q?=EC=9D=84=20=ED=81=B4=EB=A6=AD=ED=95=B4=EB=8F=84=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=ED=95=84=20=EB=9D=84=EC=9B=8C=EC=A3=BC=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lib/components/detail-table.component.html | 4 ++-- .../src/lib/components/detail-table.component.ts | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) 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 = '';