This commit is contained in:
tiago.kayaya
2021-05-28 09:29:18 +01:00
parent 243b12a836
commit 5b887f978c
2 changed files with 3 additions and 27 deletions
@@ -103,23 +103,12 @@ export class CreateProcessPage implements OnInit {
}
ngOnInit() {
this.taskDate = new Date(this.task.taskStartDate);
if(!this.task.hasOwnProperty('isEvent')) {
// if not
this.getAttachments();
}
this.getSubjectType();
console.log('CHEGOU');
}
close(){
this.router.navigate(['/home/gabinete-digital/expediente']);
//this.router.navigate(['/home/gabinete-digital/expediente']);
this.modalController.dismiss(null);
}
@@ -247,13 +236,6 @@ export class CreateProcessPage implements OnInit {
}
this.processes.CompleteTask(body);
}
getAttachments() {
this.attachmentsService.getAttachmentsBySerial(this.task.serialNumber).subscribe(res=>{
this.loadedAttachments = res;
console.log(res);
});
}
async addParticipants() {
/* console.log('HERES'); */