This commit is contained in:
tiago.kayaya
2021-04-30 21:19:57 +01:00
parent 0059c967ef
commit 275f5f6b68
@@ -191,17 +191,24 @@ export class CreateProcessPage implements OnInit {
this.processes.postDeferimento(this.postData);
break;
}
this.modalController.dismiss();
/* this.distartExpedientModal();
this.close(); */
this.executado();
this.modalController.dismiss();
}
else {
this.alertController.presentAlert("Lista de intervenientes vazia. Por favor, adicione 1 ou mais intervenientes.");
}
}
executado(){
let body = {
"serialNumber": this.task.serialNumber,
"action": "Conhecimento",
"dataFields": {
"ReviewerComments": '',
}
}
this.processes.PostTaskAction(body);
}
getAttachments() {
this.attachmentsService.getAttachmentsBySerial(this.task.serialNumber).subscribe(res=>{