diff --git a/Mohem/src/app/notification/home/home.component.html b/Mohem/src/app/notification/home/home.component.html index ebd99437..124e0f0b 100644 --- a/Mohem/src/app/notification/home/home.component.html +++ b/Mohem/src/app/notification/home/home.component.html @@ -10,7 +10,7 @@
{{ts.trPK('work-list','open-analysis')}}
-
+
{{newWorkListResponse.length + ITGCount}} {{ts.trPK('work-list','of')}} {{newWorkListResponse.length}} {{ts.trPK('work-list','of')}}

{{totalRequestCount}}

@@ -18,11 +18,11 @@

{{newWorkListResponse[0].NO_OF_ROWS}}

{{ts.trPK('work-list','total')}}
{{ts.trPK('work-list','open-reqest')}}
- - + +
- + { + this.receivedITGCount = true; this.ITGCount = result.TotalCount; this.totalRequestCount = this.totalRequestCount + result.TotalCount; + this.data.datasets[0].data[4] = this.ITGCount; this.filters[5].value = result.TotalCount; }); } diff --git a/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.ts b/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.ts index 9078511f..aa888e24 100644 --- a/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.ts +++ b/Mohem/src/app/notification/work-list-main-itg/work-list-main-itg.component.ts @@ -242,6 +242,7 @@ export class WorkListMainItgComponent implements OnInit { } else if (result.MessageStatus == 1) { console.log("hello action 1"); + this.common.sharedService.setSharedData(true, 'loadWorkList'); this.common.presentAlert(this.ts.trPK('worklistMain', 'Tran_Succ')); @@ -260,6 +261,7 @@ export class WorkListMainItgComponent implements OnInit { this.common.presentAlert(this.ts.trPK('general', 'error-itg')); } else if (result.MessageStatus == 1) { + this.common.sharedService.setSharedData(true, 'loadWorkList'); this.common.presentAlert(this.ts.trPK('worklistMain', 'Tran_Succ')); this.confirmMsg(2) @@ -284,6 +286,7 @@ export class WorkListMainItgComponent implements OnInit { } if (result.MessageStatus == 1) { + this.common.sharedService.setSharedData(true, 'loadWorkList'); this.common.presentAlert(this.ts.trPK('worklistMain', 'Tran_Succ')); this.confirmMsg(3) @@ -303,6 +306,7 @@ export class WorkListMainItgComponent implements OnInit { this.common.presentAlert(this.ts.trPK('general', 'error-itg')); } else if (result.MessageStatus == 1) { + this.common.sharedService.setSharedData(true, 'loadWorkList'); this.common.presentAlert(this.ts.trPK('worklistMain', 'Tran_Succ')); this.confirmMsg(4) @@ -323,6 +327,7 @@ export class WorkListMainItgComponent implements OnInit { this.common.presentAlert(this.ts.trPK('general', 'error-itg')); } else if (result.MessageStatus == 1) { + this.common.sharedService.setSharedData(true, 'loadWorkList'); this.common.presentAlert(this.ts.trPK('worklistMain', 'Tran_Succ')); this.confirmMsg(5) @@ -346,6 +351,7 @@ export class WorkListMainItgComponent implements OnInit { this.common.presentAlert(this.ts.trPK('general', 'error-itg')); } else if (result.MessageStatus == 1) { + this.common.sharedService.setSharedData(true, 'loadWorkList'); this.common.presentAlert(this.ts.trPK('worklistMain', 'Tran_Succ')); this.confirmMsg(6)