|
|
|
@ -345,8 +345,10 @@ export class HomeComponent implements OnInit {
|
|
|
|
arrayToFilter = this.newWorkListResponse.filter((workList) => {
|
|
|
|
arrayToFilter = this.newWorkListResponse.filter((workList) => {
|
|
|
|
return workList.ITEM_TYPE === filter;
|
|
|
|
return workList.ITEM_TYPE === filter;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
const sortData = this.sortArray(arrayToFilter);
|
|
|
|
const categorizeData = this.categorizeData(arrayToFilter);
|
|
|
|
this.showFormattedData = this.categorizeData(sortData);
|
|
|
|
this.showFormattedData = this.sortArray(categorizeData);
|
|
|
|
|
|
|
|
// const sortData = this.sortArray(arrayToFilter);
|
|
|
|
|
|
|
|
// this.showFormattedData = this.categorizeData(sortData);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -596,6 +598,7 @@ export class HomeComponent implements OnInit {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.common.sharedService.setSharedData(segmentInfo, HomeComponent.REQUSET_INFO);
|
|
|
|
this.common.sharedService.setSharedData(segmentInfo, HomeComponent.REQUSET_INFO);
|
|
|
|
this.common.sharedService.setSharedData(this.ITGItem, HomeComponent.ALL_REQUEST);
|
|
|
|
this.common.sharedService.setSharedData(this.ITGItem, HomeComponent.ALL_REQUEST);
|
|
|
|
|
|
|
|
this.common.sharedService.setSharedData(false, 'loadWorkList');
|
|
|
|
this.common.openWorklistITGPage();
|
|
|
|
this.common.openWorklistITGPage();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|