2021-08-06 11:14:48 +01:00
|
|
|
<ion-header class="ion-no-border width-100">
|
|
|
|
|
<div class="header-content pb-20 width-100">
|
|
|
|
|
<div class="header-title width-100">
|
2021-05-19 12:03:00 +01:00
|
|
|
<label>Adicionar comentário</label>
|
2021-05-03 20:02:07 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-08-06 11:14:48 +01:00
|
|
|
<div class="ion-input-class-no-height">
|
|
|
|
|
<ion-textarea [(ngModel)]="note" placeholder="Detalhes" rows="6" cols="20"></ion-textarea>
|
|
|
|
|
</div>
|
2021-05-03 20:02:07 +01:00
|
|
|
|
2021-08-06 11:14:48 +01:00
|
|
|
<div *ngIf="hideThisFeature" class="ion-item-container-no-border">
|
|
|
|
|
<ion-label class="attach-wrapper d-flex align-center" (click)="getDoc()">
|
|
|
|
|
<button class="btn-no-color">
|
|
|
|
|
<div class="attach-icon">
|
|
|
|
|
<ion-icon src="assets/images/icons-attach-doc.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="attach-document pl-10">
|
|
|
|
|
<ion-label>Anexar Documentos</ion-label>
|
|
|
|
|
</div>
|
|
|
|
|
</button>
|
|
|
|
|
</ion-label>
|
|
|
|
|
<ion-label *ngIf="documents.length > 0">Documentos anexados</ion-label>
|
|
|
|
|
</div>
|
2021-05-19 12:03:00 +01:00
|
|
|
|
2021-08-06 11:14:48 +01:00
|
|
|
</ion-header>
|
2021-07-26 20:46:14 +01:00
|
|
|
|
2021-08-06 11:14:48 +01:00
|
|
|
<ion-content>
|
|
|
|
|
<div class="content width-100 overflow-y-auto height-100">
|
|
|
|
|
<div class="list">
|
2021-08-06 10:39:32 +01:00
|
|
|
<ion-list *ngFor="let document of documents; let i = index">
|
|
|
|
|
<ion-item>
|
|
|
|
|
<ion-label>
|
|
|
|
|
<p class="d-flex ion-justify-content-between">
|
|
|
|
|
<span class="attach-title-item">{{document.Assunto}}</span>
|
|
|
|
|
<span class="app-name">{{document.appName}}</span>
|
|
|
|
|
<span class="close-button text-black cursor-pointer" (click)="removeAttachment(i)" >
|
|
|
|
|
<ion-icon class="font-20" src="assets/images/icons-delete-25.svg"></ion-icon>
|
|
|
|
|
</span>
|
|
|
|
|
</p>
|
2021-08-16 10:28:27 +01:00
|
|
|
<p><span class="span-left">{{document.EntidadeOrganicaNome}}</span><span class="span-right"> {{document.Data | date: 'dd-MM-yyyy HH:mm'}} </span></p>
|
2021-08-06 10:39:32 +01:00
|
|
|
</ion-label>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</ion-list>
|
|
|
|
|
</div>
|
|
|
|
|
<ion-item hidden lines="none">
|
|
|
|
|
<ion-textarea [(ngModel)]="note" rows="4" cols="20" placeholder="Adicionar um comentário para execução..."></ion-textarea>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</div>
|
2021-05-03 20:02:07 +01:00
|
|
|
</ion-content>
|
2021-07-26 20:46:14 +01:00
|
|
|
<ion-footer class="ion-no-border">
|
2021-05-03 20:02:07 +01:00
|
|
|
<div class="buttons width-100">
|
2021-05-12 09:55:17 +01:00
|
|
|
<button class="btn-cancel cursor-pointer" shape="round" (click)="close()">Cancelar</button>
|
2021-05-03 20:02:07 +01:00
|
|
|
<button class="btn-ok cursor-pointer" shape="round" (click)="save()">Gravar</button>
|
|
|
|
|
</div>
|
|
|
|
|
</ion-footer>
|