|
|
|
|
@ -194,6 +194,8 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
this.isLoading = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ionViewWillEnter() {
|
|
|
|
|
const loadWorkList = this.common.sharedService.getSharedData('loadWorkList', false);
|
|
|
|
|
if (loadWorkList) {
|
|
|
|
|
@ -348,7 +350,9 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
component: WorklistAdvancedSearchComponent,
|
|
|
|
|
cssClass: 'advanced-search-modal-custom',
|
|
|
|
|
backdropDismiss: false,
|
|
|
|
|
componentProps: {}
|
|
|
|
|
componentProps: {
|
|
|
|
|
itemType: this.itemType
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
modal.onDidDismiss().then(result => {
|
|
|
|
|
if (result.data) {
|
|
|
|
|
@ -364,14 +368,15 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
this.WorkListObj.P_PAGE_NUM = 1;
|
|
|
|
|
this.newWorkListResponse = [];
|
|
|
|
|
this.showFormattedData = [];
|
|
|
|
|
this.allFormattedData = [];
|
|
|
|
|
this.selectedFilter = 'ALL';
|
|
|
|
|
this.filters[this.currentActiveIndex].active = false;
|
|
|
|
|
this.currentActiveIndex = 0;
|
|
|
|
|
this.previousActiveIndex = 0;
|
|
|
|
|
this.filters[this.currentActiveIndex].active = true;
|
|
|
|
|
if (this.itemType !== '') {
|
|
|
|
|
// if (this.itemType !== '') {
|
|
|
|
|
// this.disableFilters();
|
|
|
|
|
}
|
|
|
|
|
// }
|
|
|
|
|
this.isPostNoLoad = false;
|
|
|
|
|
this.getAllPushNotificationFun();
|
|
|
|
|
}
|
|
|
|
|
|