ucap-doc/documents/업무/3월/4째주/0326.txt

31 lines
753 B
Plaintext
Raw Normal View History

2020-03-25 08:22:43 +00:00
조직도 프로필 싱크 (진행)
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();