전화기능 연결 오류 수정

This commit is contained in:
leejinho 2020-03-30 18:42:41 +09:00
parent d9e4c6bff6
commit 10188dea22
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,7 @@
" "
(openProfile)="onClickOpenProfile($event)" (openProfile)="onClickOpenProfile($event)"
(closeRightDrawer)="onCloseRightDrawer()" (closeRightDrawer)="onCloseRightDrawer()"
(sendCall)="onClickSendClickToCall($event)"
></app-layout-messenger-messages> ></app-layout-messenger-messages>
<app-layout-messenger-organization <app-layout-messenger-organization

View File

@ -21,6 +21,8 @@ export class MainContentsComponent implements OnInit {
userSeq: number; userSeq: number;
}>(); }>();
@Output() @Output()
sendCall = new EventEmitter<string>();
@Output()
gotoDeptTree = new EventEmitter<number>(); gotoDeptTree = new EventEmitter<number>();
@Output() @Output()
@ -48,6 +50,9 @@ export class MainContentsComponent implements OnInit {
onClickOpenProfile(userSeq: number) { onClickOpenProfile(userSeq: number) {
this.openProfile.emit({ userSeq }); this.openProfile.emit({ userSeq });
} }
onClickSendClickToCall(calleeNumber: string) {
this.sendCall.emit(calleeNumber);
}
onClickGotoDeptTree(deptSeq: number) { onClickGotoDeptTree(deptSeq: number) {
this.gotoDeptTree.emit(deptSeq); this.gotoDeptTree.emit(deptSeq);