This commit is contained in:
tiago.kayaya
2021-07-05 13:49:16 +01:00
parent 25c325a8ad
commit 11c74ed7fc
6 changed files with 2 additions and 90 deletions
@@ -137,7 +137,6 @@ export class PedidoPage implements OnInit {
"activityInstanceName": res.activityInstanceName,
"Status": res.workflowInstanceDataFields.Status,
}
console.log(this.task);
}
let thedate = new Date(res.taskStartDate);
@@ -150,7 +149,6 @@ export class PedidoPage implements OnInit {
this.cc = users.filter(user=>{
return user.Type == 'CC';
});
console.log(users);
});
this.getDocumentDetails(res.workflowInstanceDataFields.FolderID, '361');
});
@@ -160,13 +158,11 @@ export class PedidoPage implements OnInit {
this.processes.GetDocumentDetails(forlderId,applicationId).subscribe(res=>{
this.attachments = res.Documents;
// console.log(res['Documents']);
console.log(this.attachments);
})
}
viewDocument(docId:string){
this.processes.GetDocumentUrl(docId, '361').subscribe(res=>{
console.log(res);
const url: string = res.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1");
const browser = this.iab.create(url,"_blank");
browser.show();
@@ -255,7 +251,6 @@ export class PedidoPage implements OnInit {
sendExpedienteToPending() {
this.processes.SetTaskToPending(this.serialnumber).subscribe(res=>{
console.log(res);
this.goBack();
});
}
@@ -101,8 +101,6 @@ export class PedidosPage implements OnInit {
let parecerPr = await this.processes.GetTasksList("Pedido de Parecer do Presidente", false).toPromise();
let allParecer = parecer.concat(parecerPr).reverse();
console.log(allParecer);
this.parecerList = new Array();
allParecer.forEach(element => {
@@ -125,7 +123,6 @@ export class PedidosPage implements OnInit {
}
this.parecerList.push(task);
});
console.log(this.parecerList);
}
else if(this.segment == 'deferimento') {
@@ -156,11 +153,9 @@ export class PedidosPage implements OnInit {
}
this.deferimentoList.push(task);
});
console.log(this.deferimentoList);
});
}
console.log(this.taskType);
}
doRefresh(event) {