검색시 본인 검색되지만 선택이 필요할 경우에는 선택되지 않도록 수정. #2 조직도

This commit is contained in:
leejinho 2019-12-20 11:51:00 +09:00
parent 1de4d72472
commit f137f0a9e5
2 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,7 @@
[userInfo]="userInfo"
[sessionVerinfo]="sessionVerinfo"
[selectedUserList]="selectedUserList"
[checkable]="true"
[checkable]="userInfo.seq !== loginRes.userSeq"
[checkDisabled]="!getCheckableUser(userInfo)"
[isChecked]="getCheckedUser(userInfo)"
(checkUser)="onCheckUser($event)"

View File

@ -409,6 +409,9 @@ export class OrganizationComponent
this.checkUser.emit(params);
}
onToggleUser(userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN) {
if (userInfo.seq === this.loginRes.userSeq) {
return;
}
this.toggleUser.emit(userInfo);
}