|
|
|
|
@ -181,6 +181,7 @@ export class WorkListMainItgComponent implements OnInit {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
} else if (this.index === this.all_request_names.length) { //if its the end request redirecte to worklist home
|
|
|
|
|
this.common.sharedService.setSharedData(true, 'loadWorkList');
|
|
|
|
|
this.common.openNotificationPage();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
@ -193,14 +194,16 @@ export class WorkListMainItgComponent implements OnInit {
|
|
|
|
|
if (this.index !== this.all_request.length) { // check if its last one to redirecte to home otherwise to next request.
|
|
|
|
|
this.clearDataArray();
|
|
|
|
|
this.changeITGForm(this.all_request[this.index], this.request_name);
|
|
|
|
|
break
|
|
|
|
|
break;
|
|
|
|
|
} else {
|
|
|
|
|
this.common.sharedService.setSharedData(true, 'loadWorkList');
|
|
|
|
|
this.common.openNotificationPage();
|
|
|
|
|
break
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
this.common.sharedService.setSharedData(true, 'loadWorkList');
|
|
|
|
|
this.common.openNotificationPage();
|
|
|
|
|
break
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -359,7 +362,7 @@ export class WorkListMainItgComponent implements OnInit {
|
|
|
|
|
}, this.ts.trPK('general', 'ok'),
|
|
|
|
|
() => {
|
|
|
|
|
this.actionSelected = '';
|
|
|
|
|
this.common.sharedService.setSharedData(true, 'loadWorkList');
|
|
|
|
|
this.common.sharedService.setSharedData(true, 'loadWorkList');
|
|
|
|
|
}, this.ts.trPK('general', 'cancel'),
|
|
|
|
|
this.ts.trPK('vacation-rule', 'confirmation'),
|
|
|
|
|
this.confirmMsg(action));
|
|
|
|
|
|