mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
add headers
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<div class="bottom-content width-100">
|
||||
<ion-list *ngIf="attachments">
|
||||
<h5>Documentos Anexados</h5>
|
||||
<ion-item *ngFor="let attachment of attachments"
|
||||
<ion-item *ngFor="let attachment of fulltask.Documents"
|
||||
class="ion-no-margin ion-no-padding cursor-pointer">
|
||||
<ion-label
|
||||
(click)="viewDocument(attachment.DocId)">
|
||||
|
||||
@@ -129,7 +129,6 @@ export class DespachoPrPage implements OnInit {
|
||||
}
|
||||
|
||||
});
|
||||
this.getDocumentDetails(this.task.FolderId, '361');
|
||||
|
||||
}, (error)=>{
|
||||
try {
|
||||
@@ -146,13 +145,6 @@ export class DespachoPrPage implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
getDocumentDetails(forlderId:string, applicationId:string) {
|
||||
this.processes.GetDocumentDetails(forlderId,applicationId).subscribe(res=>{
|
||||
this.attachments = res.Documents;
|
||||
console.log(res['Documents']);
|
||||
console.log(this.attachments);
|
||||
})
|
||||
}
|
||||
|
||||
// async LoadRelatedEvents(serial: string) {
|
||||
// if (this.eventsList == null) {
|
||||
|
||||
@@ -70,7 +70,7 @@ export class DespachosPrPage implements OnInit {
|
||||
const pathname = location.pathname + location.search
|
||||
|
||||
this.LoadList()
|
||||
|
||||
|
||||
this.router.events.forEach((event) => {
|
||||
if (event instanceof NavigationStart && event.url.startsWith(pathname)) {
|
||||
if(window.location.pathname.split('/').length >= 4 && window.location.pathname.startsWith('/home/gabinete-digital')) {
|
||||
@@ -98,12 +98,10 @@ export class DespachosPrPage implements OnInit {
|
||||
|
||||
openExpedientDetailPage(data){
|
||||
console.log(data);
|
||||
// this.openExpedientDetail.emit(data);
|
||||
}
|
||||
|
||||
async LoadList() {
|
||||
|
||||
|
||||
this.skeletonLoader = true
|
||||
|
||||
let result = await this.processes.GetTasksList("Despacho do Presidente da República", false).toPromise();
|
||||
@@ -120,8 +118,6 @@ export class DespachosPrPage implements OnInit {
|
||||
console.log(result);
|
||||
|
||||
despachosPr = await result.reverse().filter(data => data.activityInstanceName == "Concluir Despacho");
|
||||
console.log(despachosPr);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user