This commit is contained in:
Peter Maquiran
2021-07-17 14:40:27 +01:00
parent 6b883fbfb1
commit 86586470fe
5 changed files with 12 additions and 2 deletions
@@ -87,9 +87,9 @@ export class PedidoPage implements OnInit {
async LoadTaskDetail(serial: string) {
this.fulltask = await this.processes.GetTask(this.serialnumber).toPromise();
this.processes.GetTask(this.serialnumber).subscribe(res => {
console.log(res);
this.fulltask = res
if(res.workflowDisplayName == 'Pedido de Parecer' || res.workflowDisplayName == 'Pedido de Parecer do Presidente'){
@@ -153,6 +153,8 @@ export class PedidoPage implements OnInit {
});
});
this.getDocumentDetails(res.workflowInstanceDataFields.FolderID, '361');
}, ()=>{
this.goBack()
});
}