mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
save
This commit is contained in:
@@ -191,17 +191,24 @@ export class CreateProcessPage implements OnInit {
|
|||||||
this.processes.postDeferimento(this.postData);
|
this.processes.postDeferimento(this.postData);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
this.executado();
|
||||||
|
this.modalController.dismiss();
|
||||||
this.modalController.dismiss();
|
|
||||||
/* this.distartExpedientModal();
|
|
||||||
this.close(); */
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.alertController.presentAlert("Lista de intervenientes vazia. Por favor, adicione 1 ou mais intervenientes.");
|
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() {
|
getAttachments() {
|
||||||
this.attachmentsService.getAttachmentsBySerial(this.task.serialNumber).subscribe(res=>{
|
this.attachmentsService.getAttachmentsBySerial(this.task.serialNumber).subscribe(res=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user