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

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">
<ucap-account-login
[companyList]="companyList$ | async"
curCompanyCode="GUC100"
notiText="이용 주의사항"
[curCompanyCode]="fixedCompany"
[notiText]="fixedNotiBtnText"
[loginBtnEnable]="loginBtnEnable"
[loginBtnText]="loginBtnText"
(login)="onLogin($event)"

View File

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