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) { handleApplayActionResult(result) {
if (this.cs.validResponse(result)) { if (this.cs.validResponse(result)) {
if (result.MessageStatus == 1) { 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; this.messageSuccess = true;
@ -305,7 +302,8 @@ export class WorkListReplacementRollComponent implements OnInit {
data: "Success" data: "Success"
}); });
}, 5000); }, 5000);
this.cs.openNotificationPage(); this.cs.openNotificationPage();
} }

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

Loading…
Cancel
Save