This commit is contained in:
tiago.kayaya
2021-04-06 09:26:31 +01:00
parent e2c247a52c
commit 8ced295f64
12 changed files with 57 additions and 49 deletions
@@ -71,8 +71,12 @@ export class ApproveEventComponent implements OnInit {
})
}
approveTask(serialNumber:string){
this.approveEventDismiss.emit({
let body = { "serialNumber": serialNumber, "action": "Aprovar" }
console.log(body);
this.processes.PostTaskAction(body);
this.alertService.presentAlert('Operação realizada com sucesso!');
this.modalController.dismiss(serialNumber);
/* this.approveEventDismiss.emit({
"serialNumber": serialNumber,
"action": "Aprovar",
"saveData": {
@@ -80,7 +84,7 @@ export class ApproveEventComponent implements OnInit {
today: this.today,
customDate: this.customDate
}
});
}); */
}
emendTask(serialNumber:string){