조직도, 통합검색에서 전화 발신 시 컨펌 창 안나오도록 수정.
This commit is contained in:
parent
732b680b1c
commit
7643281e77
|
@ -418,21 +418,21 @@ export class OrganizationComponent implements OnInit, OnDestroy {
|
|||
calleeNumber = calleeNumber.replace(/\D/g, '');
|
||||
|
||||
if (!!calleeNumber && calleeNumber.length > 0) {
|
||||
const result = await this.dialogService.open<
|
||||
ConfirmDialogComponent,
|
||||
ConfirmDialogData,
|
||||
ConfirmDialogResult
|
||||
>(ConfirmDialogComponent, {
|
||||
width: '360px',
|
||||
data: {
|
||||
title: this.translateService.instant('call.callTo'),
|
||||
html: this.translateService.instant('call.callWithNumber', {
|
||||
phoneNumber: calleeNumber
|
||||
})
|
||||
}
|
||||
});
|
||||
// const result = await this.dialogService.open<
|
||||
// ConfirmDialogComponent,
|
||||
// ConfirmDialogData,
|
||||
// ConfirmDialogResult
|
||||
// >(ConfirmDialogComponent, {
|
||||
// width: '360px',
|
||||
// data: {
|
||||
// title: this.translateService.instant('call.callTo'),
|
||||
// html: this.translateService.instant('call.callWithNumber', {
|
||||
// phoneNumber: calleeNumber
|
||||
// })
|
||||
// }
|
||||
// });
|
||||
|
||||
if (!!result && !!result.choice && result.choice) {
|
||||
// if (!!result && !!result.choice && result.choice) {
|
||||
this.callService
|
||||
.sendCall({
|
||||
userSeq: this.loginRes.userSeq,
|
||||
|
@ -453,7 +453,7 @@ export class OrganizationComponent implements OnInit, OnDestroy {
|
|||
catchError(error => of(this.logger.debug(error)))
|
||||
)
|
||||
.subscribe();
|
||||
}
|
||||
// }
|
||||
} else {
|
||||
this.dialogService.open<
|
||||
AlertDialogComponent,
|
||||
|
|
|
@ -438,21 +438,21 @@ export class IntegratedSearchDialogComponent implements OnInit, OnDestroy {
|
|||
calleeNumber = calleeNumber.replace(/\D/g, '');
|
||||
|
||||
if (!!calleeNumber && calleeNumber.length > 0) {
|
||||
const result = await this.dialogService.open<
|
||||
ConfirmDialogComponent,
|
||||
ConfirmDialogData,
|
||||
ConfirmDialogResult
|
||||
>(ConfirmDialogComponent, {
|
||||
width: '360px',
|
||||
data: {
|
||||
title: this.translateService.instant('call.callTo'),
|
||||
html: this.translateService.instant('call.callWithNumber', {
|
||||
phoneNumber: calleeNumber
|
||||
})
|
||||
}
|
||||
});
|
||||
// const result = await this.dialogService.open<
|
||||
// ConfirmDialogComponent,
|
||||
// ConfirmDialogData,
|
||||
// ConfirmDialogResult
|
||||
// >(ConfirmDialogComponent, {
|
||||
// width: '360px',
|
||||
// data: {
|
||||
// title: this.translateService.instant('call.callTo'),
|
||||
// html: this.translateService.instant('call.callWithNumber', {
|
||||
// phoneNumber: calleeNumber
|
||||
// })
|
||||
// }
|
||||
// });
|
||||
|
||||
if (!!result && !!result.choice && result.choice) {
|
||||
// if (!!result && !!result.choice && result.choice) {
|
||||
this.callService
|
||||
.sendCall({
|
||||
userSeq: this.loginRes.userSeq,
|
||||
|
@ -473,7 +473,7 @@ export class IntegratedSearchDialogComponent implements OnInit, OnDestroy {
|
|||
catchError(error => of(this.logger.debug(error)))
|
||||
)
|
||||
.subscribe();
|
||||
}
|
||||
// }
|
||||
} else {
|
||||
this.dialogService.open<
|
||||
AlertDialogComponent,
|
||||
|
|
Loading…
Reference in New Issue
Block a user