From 023571a874ff7dc7434f14f828a2f8df4e4a1edb Mon Sep 17 00:00:00 2001 From: leejinho Date: Tue, 24 Mar 2020 10:56:50 +0900 Subject: [PATCH] =?UTF-8?q?sms=20=EC=9B=B9=EB=A7=81=ED=81=AC=20default=20b?= =?UTF-8?q?rowser=20=EB=A1=9C=20=EC=98=A4=ED=94=88=EB=90=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../native/components/top-bar.component.ts | 48 ++++++++++--------- .../src/lib/utils/SmsUtils.ts | 14 +++--- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts index 9b72055b..7c19c0b8 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts @@ -450,53 +450,55 @@ export class TopBarComponent implements OnInit, OnDestroy { let height = 800; let openType = 'INNER-POPUP'; switch (link.key) { - case WebLinkType.Sms: - /** SMS URL */ - { - width = 685; - height = 640; - } - break; + // /** SMS URL */ + // case WebLinkType.Sms: + // { + // width = 685; + // height = 640; + // } + // break; + // /** IT서비스데스크 URL */ // case WebLinkType.Itsvcdesk: - // /** IT서비스데스크 URL */ // { // width = 1400; // height = 1000; // } // break; + /** 화상회의 URL */ case WebLinkType.Conf: - /** 화상회의 URL */ { } break; - case WebLinkType.Itsvcdesk: + /** SMS URL */ + case WebLinkType.Sms: /** IT서비스데스크 URL */ - case WebLinkType.Dsp: + case WebLinkType.Itsvcdesk: /** DSP URL */ - case WebLinkType.Webhard: + case WebLinkType.Dsp: /** 웹하드 URL */ - case WebLinkType.Ep: + case WebLinkType.Webhard: /** EP URL */ - case WebLinkType.Sop: + case WebLinkType.Ep: /** S&OP회의 URL */ - case WebLinkType.Som: + case WebLinkType.Sop: /** S&OM회의 URL */ - case WebLinkType.Elephant: + case WebLinkType.Som: /** 코끼리 URL */ - case WebLinkType.UrgntNews: + case WebLinkType.Elephant: /** 개인속보 URL */ - case WebLinkType.MailCnt: + case WebLinkType.UrgntNews: /** 메일Count URL */ - case WebLinkType.Mail: + case WebLinkType.MailCnt: /** 메일 링크 URL */ - case WebLinkType.PaymentCnt: + case WebLinkType.Mail: /** 결재Count URL */ - case WebLinkType.Payment: + case WebLinkType.PaymentCnt: /** 결재링크 URL */ - case WebLinkType.Erp: + case WebLinkType.Payment: /** Erp URL */ + case WebLinkType.Erp: + /** 비밀번호변경 URL ; PC 메신저만 해당 비밀번호 만료시 */ case WebLinkType.ChgPassword: - /** 비밀번호변경 URL ; PC 메신저만 해당 비밀번호 만료시 */ { openType = 'DEFAULT-BROWSER'; } diff --git a/projects/ucap-webmessenger-daesang/src/lib/utils/SmsUtils.ts b/projects/ucap-webmessenger-daesang/src/lib/utils/SmsUtils.ts index cc178219..72422cf2 100644 --- a/projects/ucap-webmessenger-daesang/src/lib/utils/SmsUtils.ts +++ b/projects/ucap-webmessenger-daesang/src/lib/utils/SmsUtils.ts @@ -39,12 +39,12 @@ export class SmsUtils { openSendSms(token: string, employeeNum?: string) { const url = this.url.replace(/(\(%USER_TOKEN%\))/g, token); - // this.nativeService.openDefaultBrowser(url); - WindowUtil.popupOpen( - url + `&ruser=${employeeNum},`, - 'DaesangSMS', - 685, - 640 - ); + this.nativeService.openDefaultBrowser(url + `&ruser=${employeeNum},`); + // WindowUtil.popupOpen( + // url + `&ruser=${employeeNum},`, + // 'DaesangSMS', + // 685, + // 640 + // ); } }