fix refresh data from replacment and rfc

master
ashwaq 6 years ago
parent e7963509dc
commit f4488ea35b

@ -289,11 +289,8 @@ export class WorkListReplacementRollComponent implements OnInit {
handleApplayActionResult(result) {
if (this.cs.validResponse(result)) {
if (result.MessageStatus == 1) {
this.cs.sharedService.setSharedData(true, 'loadWorkList');
// let msg=this.translate.translate("general.success");
// this.cs.showAlert(msg);
// this.navCtrl.push("HomePage");
// here show succsfull msg
this.messageSuccess = true;
@ -305,7 +302,8 @@ export class WorkListReplacementRollComponent implements OnInit {
data: "Success"
});
}, 5000);
}, 5000);
this.cs.openNotificationPage();
}

@ -123,12 +123,9 @@ export class WorkListRfcComponent implements OnInit {
handleApplayActionResult(result) {
if (this.cs.validResponse(result)) {
if (result.MessageStatus == 1) {
// let msg:string="";
// msg=this.translate.translate("general.success");
// this.common.showAlert(msg);
// this.navCtrl.push("HomePage");
// this.cs.openHome();
// here show succsfull msg
this.cs.sharedService.setSharedData(true, 'loadWorkList');
this.messageSuccess = true;
setTimeout(() => {

Loading…
Cancel
Save