fixed srca issues

SRCA_DEV_NEW
umasoodch 3 years ago
parent dd95c5feb3
commit 57f3e50935

@ -380,7 +380,7 @@ export class ConfirmLoginComponent implements OnInit {
this.authService.checkSMS(request, () => { }, this.ts.trPK('general', 'ok'))
.subscribe((result: SMSCheckResponse) => {
if (this.cs.validResponse(result)) {
// this.cs.sharedService.setSharedData(result.MemberLoginList.P_ORACLE_USER_NAME, 'oracle-user-name');
this.cs.sharedService.setSharedData(result.MemberLoginList.P_ORACLE_USER_NAME, 'oracle-user-name');
this.businessInfo = {
show_business: result.BusinessCardPrivilege,
name_en: result.MemberInformationList[0].EMPLOYEE_NAME_En,

@ -300,13 +300,13 @@ img.centerDiv {
}
.border-moe-right {
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
// border-top-right-radius: 16px;
// border-bottom-right-radius: 16px;
}
.border-moe-left {
border-top-left-radius: 16px;
border-bottom-left-radius: 16px;
// border-top-left-radius: 16px;
// border-bottom-left-radius: 16px;
}
.menuFooter {

@ -421,7 +421,7 @@ export class SmsPageComponent implements OnInit {
if (this.common.validResponse(result)) {
// this.common.sharedService.setSharedData(result.MemberLoginList.P_ORACLE_USER_NAME, 'oracle-user-name')
this.common.sharedService.setSharedData(result.MemberLoginList.P_ORACLE_USER_NAME, 'oracle-user-name')
//save business card info

@ -107,16 +107,16 @@ export class AuthenticationService {
this.setPublicFields(request);
const user = this.getAuthenticatedUser();
// const oracleUserName = this.cs.sharedService.getSharedData('oracle-user-name', false);
// if (user && oracleUserName) {
if (user) {
const oracleUserName = this.cs.sharedService.getSharedData('oracle-user-name', false);
if (user && oracleUserName) {
// if (user) {
const userName = this.cs.sharedService.getSharedData(LoginRequest.SHARED_DATA, false);
request.P_SESSION_ID = user.P_SESSION_ID;
request.MobileNumber = user.EMPLOYEE_MOBILE_NUMBER;
request.LogInTokenID = user.LogInTokenID;
request.TokenID = user.TokenID;
request.P_USER_NAME = userName; // '1100313582' ALWAYS USER NAME
request.UserName = userName; // '1100313582'
request.P_USER_NAME = oracleUserName; // '1100313582' ALWAYS USER NAME
request.UserName = oracleUserName; // '1100313582' userName
request.P_EMAIL_ADDRESS = user.EMPLOYEE_EMAIL_ADDRESS;
if (AuthenticationService.requireRelogin) {
this.sessionTimeOutDialog();

Loading…
Cancel
Save