ucap-doc/documents/업무/3월/4째주/0326.txt
2020-03-25 17:22:43 +09:00

31 lines
753 B
Plaintext

조직도 프로필 싱크 (진행)
this.queryProtocolService
.dataUser({
divCd: 'OPENPROF',
seq: userSeq,
senderCompanyCode: this.loginRes.userInfo.companyCode,
senderEmployeeType: this.loginRes.userInfo.employeeType
})
.pipe(
take(1),
map(res => {
if (!!res && !!res.userInfo) {
const result = this.dialogService.open<
ProfileDialogComponent,
ProfileDialogData,
ProfileDialogResult
>(ProfileDialogComponent, {
data: {
userInfo: res.userInfo
}
});
if (!!result) {
if (!!result.closeEvent && result.closeEvent === 'CHAT') {
this.onCancel();
}
}
}
})
)
.subscribe();