|
|
|
|
@ -199,7 +199,6 @@ export class WorkListReplacementRollComponent implements OnInit {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
submitAction() {
|
|
|
|
|
this.selEmp
|
|
|
|
|
|
|
|
|
|
if (this.selEmp && this.isAnswer == false) {
|
|
|
|
|
// this.selectedUserInf = this.ReplacementList[this.selEmp];
|
|
|
|
|
@ -212,6 +211,7 @@ export class WorkListReplacementRollComponent implements OnInit {
|
|
|
|
|
this.WorkListActionObj.P_FORWARD_TO_USER_NAME = this.selectedUserInf.USER_NAME;
|
|
|
|
|
this.WorkListActionObj.P_ACTION_MODE = this.getPassActionMode;
|
|
|
|
|
this.WorkListActionObj.P_COMMENTS = this.userNote;// response Attr
|
|
|
|
|
this.modalCtrl.dismiss();
|
|
|
|
|
|
|
|
|
|
this.workListMainService.actionButton(this.WorkListActionObj).
|
|
|
|
|
subscribe((result: any) => {
|
|
|
|
|
@ -233,6 +233,7 @@ export class WorkListReplacementRollComponent implements OnInit {
|
|
|
|
|
this.WorkListActionObj.P_FORWARD_TO_USER_NAME = null;
|
|
|
|
|
this.WorkListActionObj.P_ACTION_MODE = this.getPassActionMode;
|
|
|
|
|
this.WorkListActionObj.P_COMMENTS = this.userNote;// response Attr
|
|
|
|
|
this.modalCtrl.dismiss();
|
|
|
|
|
|
|
|
|
|
this.workListMainService.actionButton(this.WorkListActionObj).
|
|
|
|
|
subscribe((result: any) => {
|
|
|
|
|
@ -252,10 +253,15 @@ export class WorkListReplacementRollComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
handleApplayActionResult(result) {
|
|
|
|
|
if (this.cs.validResponse(result)) {
|
|
|
|
|
if (result.MessageStatus == 1) {
|
|
|
|
|
|
|
|
|
|
// let msg=this.translate.translate("general.success");
|
|
|
|
|
// this.cs.showAlert(msg);
|
|
|
|
|
// this.navCtrl.push("HomePage");
|
|
|
|
|
// here show succsfull msg
|
|
|
|
|
this.cs.openNotificationPage();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // valid it
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|