mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
save
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user