This commit is contained in:
tiago.kayaya
2021-10-19 14:31:14 +01:00
parent c16f44d1d6
commit b956ad4d29
11 changed files with 32 additions and 20 deletions
@@ -12,6 +12,10 @@
</button>
</div>
</div>
<!-- <div *ngIf="frameUrl" class="width-100">
<iframe id="iframe" [src]="frameUrl" height="20%" width="100%" title="Iframe Example">
</iframe>
</div> -->
<div hidden class="header-bottom" (click)="addContacts()">
<div class="header-bottom-icon">
<ion-icon src="assets/icon/icons-user.svg"></ion-icon>
@@ -71,9 +75,6 @@
</div>
</div>
</div>
<div *ngIf="frameUrl">
<iframe id="iframe" [src]="frameUrl" height="100%" width="100%" title="Iframe Example"></iframe>
</div>
{{last ? scrollToBottom() : ''}}
</div>
</div>
@@ -248,9 +248,13 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
this.openViewDocumentModal(file);
}
else{
let fullUrl = "https://www.tabularium.pt" + url;
let fullUrl;
fullUrl = "https://www.tabularium.pt" + url;
//fullUrl = "http://www.africau.edu/images/default/sample.pdf";
this.frameUrl = fullUrl;
//this.fileService.viewDocumentByUrl(fullUrl);
this.chatService.getDocumentDetails(fullUrl);
}
}
@@ -74,7 +74,7 @@ constructor (
despachoList.push(task);
});
despachoList = this.sortService.sortArrayByDate(despachoList).reverse()
despachoList = this.sortService.sortArrayISODate(despachoList).reverse()
this.despachosprstore.reset(despachoList);
this.skeletonLoader = false;
@@ -40,7 +40,7 @@ export class ExpedientesPrPage implements OnInit {
ngOnInit() {
this.LoadList()
this.router.events.forEach((event) => {
if (event instanceof NavigationStart &&
event.url.startsWith('/home/gabinete-digital?expedientespr=true') ||
@@ -72,6 +72,8 @@ export class ExpedientesPrPage implements OnInit {
let task = this.expedienteTaskPipe.transform(element);
this.taskslist.push(task);
});
console.log(this.taskslist);
this.expedienteGdStore.reset(this.taskslist);
this.skeletonLoader = false;
@@ -110,7 +110,7 @@ export class PedidosPage implements OnInit {
let task: customTask = this.customTaskPipe.transform(element);
this.deferimentoList.push(task);
});
this.pedidosstore.resetdeferimento(this.sortService.sortArrayByDate(this.deferimentoList));
this.pedidosstore.resetdeferimento(this.sortService.sortArrayISODate(this.deferimentoList));
});
}