|
|
|
|
@ -214,10 +214,8 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
} else if (notification.ITEM_TYPE === 'INVMOA') {
|
|
|
|
|
this.filters[4].value = this.totalMR;
|
|
|
|
|
this.data.datasets[0].data[3] = notification.OPEN_NTF_NUMBER;
|
|
|
|
|
} else if (notification.ITEM_TYPE === 'ITG') {
|
|
|
|
|
this.filters[5].value = notification.OPEN_NTF_NUMBER;
|
|
|
|
|
this.data.datasets[0].data[4] = notification.OPEN_NTF_NUMBER;
|
|
|
|
|
}
|
|
|
|
|
this.data.datasets[0].data[4] = this.ITGCount;
|
|
|
|
|
}
|
|
|
|
|
this.showChart = true;
|
|
|
|
|
this.common.stopLoading();
|
|
|
|
|
@ -433,6 +431,9 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
this.newWorkListResponse = [];
|
|
|
|
|
this.data.datasets[0].data[4] = this.ITGCount;
|
|
|
|
|
this.showChart = true;
|
|
|
|
|
this.common.stopLoading();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -525,21 +526,12 @@ export class HomeComponent implements OnInit {
|
|
|
|
|
Details() {
|
|
|
|
|
this.workListService.getITGDetails('', '', this.isPostNoLoad)
|
|
|
|
|
.subscribe((result: any) => {
|
|
|
|
|
this.ITGCount = result.TotalCount;
|
|
|
|
|
this.totalRequestCount = this.totalRequestCount + result.TotalCount;
|
|
|
|
|
this.filters[5].value = result.TotalCount;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ITGNotification() {
|
|
|
|
|
// this.Details();
|
|
|
|
|
this.isAll = false;
|
|
|
|
|
this.isPR = false;
|
|
|
|
|
this.isPO = false;
|
|
|
|
|
this.isMR = false;
|
|
|
|
|
this.isHR = false;
|
|
|
|
|
this.isITG = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
searchBtn() {
|
|
|
|
|
this.isSearch = !this.isSearch;
|
|
|
|
|
}
|
|
|
|
|
|