조직도 > 프로필 팝업 오튼 기능 추가.

This commit is contained in:
leejinho 2019-11-21 14:10:15 +09:00
parent e57a44fa5b
commit a58423271d
3 changed files with 11 additions and 0 deletions

View File

@ -149,6 +149,7 @@
[selectedUserList]="selectedUserList"
(checkAllUser)="onCheckAllUser($event)"
(checkUser)="onCheckUser($event)"
(openProfile)="onClickOpenProfile($event)"
(toggleUser)="onToggleUser($event)"
class="organization-side"
></app-layout-chat-left-sidenav-organization>

View File

@ -54,6 +54,7 @@
[selectedUserList]="selectedUserList"
[isChecked]="getCheckedUser(userInfo)"
(checkUser)="onCheckUser($event)"
(openProfile)="onClickOpenProfile($event)"
(click)="onToggleUser(userInfo)"
>
Loading...
@ -74,6 +75,7 @@
[selectedUserList]="selectedUserList"
[isChecked]="getCheckedUser(userInfo)"
(checkUser)="onCheckUser($event)"
(openProfile)="onClickOpenProfile($event)"
(click)="onToggleUser(userInfo)"
>
</ucap-profile-user-list-item>

View File

@ -72,6 +72,10 @@ export class OrganizationComponent implements OnInit, OnDestroy {
isChecked: boolean;
userInfos: (UserInfo | UserInfoSS | UserInfoF | UserInfoDN)[];
}>();
@Output()
openProfile = new EventEmitter<
UserInfo | UserInfoSS | UserInfoF | UserInfoDN
>();
companyList$: Observable<Company[]>;
companyCode: string;
@ -329,6 +333,10 @@ export class OrganizationComponent implements OnInit, OnDestroy {
this.toggleUser.emit(userInfo);
}
onClickOpenProfile(userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN) {
this.openProfile.emit(userInfo);
}
onClickShowSelectedUserList() {
this.logger.debug('onClickShowSelectedUserList', this.selectedUserList);
}