[대상] 로그인시 회사코드 고정하는 부분 수정

This commit is contained in:
leejinho 2019-12-15 17:43:16 +09:00
parent ac76cbb1c3
commit 32155ed7a9
2 changed files with 13 additions and 2 deletions

View File

@ -2,8 +2,8 @@
<div class="login-wrapper" fxLayout="column" fxLayoutAlign="center center"> <div class="login-wrapper" fxLayout="column" fxLayoutAlign="center center">
<ucap-account-login <ucap-account-login
[companyList]="companyList$ | async" [companyList]="companyList$ | async"
curCompanyCode="GUC100" [curCompanyCode]="fixedCompany"
notiText="이용 주의사항" [notiText]="fixedNotiBtnText"
[loginBtnEnable]="loginBtnEnable" [loginBtnEnable]="loginBtnEnable"
[loginBtnText]="loginBtnText" [loginBtnText]="loginBtnText"
(login)="onLogin($event)" (login)="onLogin($event)"

View File

@ -29,6 +29,9 @@ import {
styleUrls: ['./login.page.component.scss'] styleUrls: ['./login.page.component.scss']
}) })
export class LoginPageComponent implements OnInit, OnDestroy { export class LoginPageComponent implements OnInit, OnDestroy {
fixedCompany: string;
fixedNotiBtnText: string;
companyList$: Observable<Company[]>; companyList$: Observable<Company[]>;
loginFailureCount: Subscription; loginFailureCount: Subscription;
@ -107,6 +110,14 @@ export class LoginPageComponent implements OnInit, OnDestroy {
}) })
) )
.subscribe(); .subscribe();
this.customInitilize();
}
customInitilize() {
// Daesang..
this.fixedCompany = 'GUC100';
this.fixedNotiBtnText = '이용 주의사항';
} }
ngOnDestroy(): void { ngOnDestroy(): void {