diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html index 99283e2b..406c6923 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html @@ -5,6 +5,33 @@
UCAP M Messenger
+ + diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.scss b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.scss index db4379de..6b010333 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.scss +++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.scss @@ -132,3 +132,58 @@ } } } + +.weblink { + position: absolute; + width: 350px; + height: 40%; + top: 60px; + right: 15px; + background: #fff; + border-radius: 5px; + border: 1px solid #666; + z-index: 2; + padding: 10px; + display: none; + + .container { + display: flex; + padding: 0 10px; + height: 100%; + overflow-y: auto; + flex-wrap: wrap; + + .img-item { + cursor: pointer; + margin-bottom: 10px; + margin-right: 9px; + position: relative; + height: 150px; + + ul { + li { + list-style: none; + float: left; + margin: 0 10px 20px 10px; + + .icon { + height: 50px; + width: 50px; + line-height: 50px; + } + .description { + width: 50px; + text-align: center; + } + .ellipsis { + display: block; + text-overflow: ellipsis; + white-space: nowrap; + word-wrap: normal; + overflow: hidden; + } + } + } + } + } +} 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 2edfe604..1e502550 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 @@ -1,4 +1,4 @@ -import { Component, OnInit, Inject, OnDestroy } from '@angular/core'; +import { Component, OnInit, Inject, OnDestroy, ViewChild } from '@angular/core'; import { UCAP_NATIVE_SERVICE, NativeService, @@ -28,6 +28,121 @@ export class TopBarComponent implements OnInit, OnDestroy { loginRes: LoginResponse; loginResSubscription: Subscription; + showWeblink = false; + weblink: { + title: string; + url: string; + order: number; + activeYn: boolean; + }[] = [ + { + order: 0, + title: '웹하드', + activeYn: true, + url: + 'http://sso.daesang.com/messenger.do?eMateApps=WHD_78&eMatePTK=(%USER_ID%)' + }, + { + order: 0, + title: 'DSP', + activeYn: true, + url: + 'http://sso.daesang.com/messenger.do?eMateApps=GWS_01&eMatePTK=(%USER_ID%)' + }, + { + order: 0, + title: 'SMS', + activeYn: true, + url: + 'http://sso.daesang.com/messenger.do?eMateApps=SMS_21&eMatePTK=(%USER_ID%)' + }, + { + order: 0, + title: '화상회의', + activeYn: true, + url: + 'http://dsview.daesang.com/plugin/sso_login.asp?userid=(%USER_FIELD4%)' + }, + { + order: 0, + title: 'EP', + activeYn: true, + url: + 'http://sso.daesang.com/messenger.do?eMateApps=EPS_07&eMatePTK=(%USER_ID%)' + }, + { + order: 0, + title: 'S & OP회의', + activeYn: true, + url: + 'http://sso.daesang.com/messenger.do?eMateApps=SOP_05&eMatePTK=(%USER_ID%)' + }, + { + order: 0, + title: 'S & OM회의', + activeYn: true, + url: + 'http://sso.daesang.com/messenger.do?eMateApps=SOM_09&eMatePTK=(%USER_ID%)' + }, + { + order: 0, + title: '코끼리', + activeYn: true, + url: + 'http://dsp.daesang.com/names.nsf?login&username=(%USER_ID%)&password=(%USER_PASS%)&RedirectTo=http%3A%2F%2Fdsp%2Edaesang%2Ecom%3A80%2FDS%5F10%2Femate%5Fapp%2Felephant%2Fmaster%2Ensf%2Fmain%2Ehtml%3Freadform%26kind%3D3' + }, + { + order: 0, + title: 'IT서비스데스크', + activeYn: true, + url: + 'http://sso.daesang.com/messenger.do?eMateApps=HPD_13&eMatePTK=(%USER_ID%)' + }, + { + order: 0, + title: '개인속보', + activeYn: true, + url: + 'http://sso.daesang.com/messenger.do?eMateApps=DSB_43&eMatePTK=(%USER_ID%)' + }, + + { + order: 0, + title: '메일 count url', + activeYn: true, + url: + 'http://dsp.daesang.com/names.nsf?login&username=(%USER_ID%)&password=(%USER_PASS%)&RedirectTo=http://dsp.daesang.com/common/sysorg.nsf/unreadmailcount2?openagent%26empno=(%USER_FIELD4%)' + }, + { + order: 0, + title: '메일 link url', + activeYn: true, + url: + 'http://dsp.daesang.com/names.nsf?login&username=(%USER_ID%)&password=(%USER_PASS%)&RedirectTo=%2Fportal%2Ensf%2Fmailredirect%3Fopenpage%26mode%3Dm' + }, + { + order: 0, + title: '결제 count url', + activeYn: true, + url: + 'http://dsp.daesang.com/names.nsf?login&username=(%USER_ID%)&password=(%USER_PASS%)&RedirectTo=http://dsp.daesang.com/common/sysorg.nsf/unreadmailcount2?openagent%26empno=(%USER_FIELD4%)' + }, + { + order: 0, + title: '결제 link url', + activeYn: true, + url: + 'http://dsp.daesang.com/names.nsf?login&username=(%USER_ID%)&password=(%USER_PASS%)&RedirectTo=%2Fportal%2Ensf%2Fmailredirect%3Fopenpage%26mode%3Dm' + }, + + { + order: 0, + title: '3개월 비밀번호 변경창 url', + activeYn: true, + url: 'sso.daesang.com / modify.do' + } + ]; + constructor( private store: Store, @Inject(UCAP_NATIVE_SERVICE) private nativeService: NativeService @@ -75,4 +190,8 @@ export class TopBarComponent implements OnInit, OnDestroy { }) ); } + + onToggleWebLinkSelector(): void { + this.showWeblink = !this.showWeblink; + } }