MOE changes

MOE_DEV
Sultan Khan 4 years ago
parent bec7b24621
commit b683f54855

@ -712,14 +712,19 @@ export class HomeComponent implements OnInit {
const key = 'P_OPEN_NTF_NUMBER'; const key = 'P_OPEN_NTF_NUMBER';
// this.totalRequestCount = ; // this.totalRequestCount = ;
// this.ITGCountAllNotification(result[key]); // this.ITGCountAllNotification(result[key]);
this.common.setFilterValues(result['GetOpenNotificationsList']);
const values = this.common.getFiltersData();
this.data = values.data;
this.filters = values.filters;
this.totalRequestCount = Math.floor(result[key]);
this.common.sharedService.setSharedData(this.totalRequestCount, 'total-count');
this.common.stopLoading()
this.common.sharedService.setSharedData( this.common.sharedService.setSharedData(
result, result,
'worklistNotifications' 'worklistNotifications'
); );
this.common.setFilterValues(result['GetOpenNotificationsList']);
} }
}); });
} }

@ -273,7 +273,8 @@ export class ConfirmAddressComponent implements OnInit {
this.cs.sharedService.setSharedData(true, HomeComponent.COUNT_CHANGED); this.cs.sharedService.setSharedData(true, HomeComponent.COUNT_CHANGED);
// this.cs.openHome(); // this.cs.openHome();
//this.cs.setTotalNumberOfWorklistRequest(true); //this.cs.setTotalNumberOfWorklistRequest(true);
this.cs.openNotificationPage(); this.cs.openProfile('sideMenu');
//this.cs.openNotificationPage();
} }
} }

@ -196,7 +196,8 @@ export class ConfirmBasicDetailsComponent implements OnInit {
// this.cs.presentAlert(msg); // this.cs.presentAlert(msg);
this.cs.greenToastPK("eit", "approval-message-success"); this.cs.greenToastPK("eit", "approval-message-success");
this.cs.sharedService.setSharedData(true, HomeComponent.COUNT_CHANGED); this.cs.sharedService.setSharedData(true, HomeComponent.COUNT_CHANGED);
this.cs.openNotificationPage(); this.cs.openProfile('sideMenu');
//this.cs.openNotificationPage();
} }
} }

@ -197,7 +197,8 @@ export class ConfirmContactComponent implements OnInit {
// this.cs.presentAlert(msg); // this.cs.presentAlert(msg);
this.cs.greenToastPK("eit", "approval-message-success"); this.cs.greenToastPK("eit", "approval-message-success");
this.cs.sharedService.setSharedData(true, HomeComponent.COUNT_CHANGED); this.cs.sharedService.setSharedData(true, HomeComponent.COUNT_CHANGED);
this.cs.openNotificationPage(); this.cs.openProfile('sideMenu');
//this.cs.openNotificationPage();
} }
} }

Loading…
Cancel
Save