31 lines
753 B
Plaintext
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();
|