mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
dix bugs
This commit is contained in:
@@ -1,52 +1,55 @@
|
||||
<div class="height-100 d-flex flex-column overflow-hidden width-100">
|
||||
|
||||
<div class="overflow-x-auto d-flex pa-10 attachment-list" style="background-color: #d9d9d9;" *ngIf="showAttachmentList">
|
||||
<div class="d-flex overflow-x-auto pa-10 width-100">
|
||||
<div style="background-color: #d9d9d9;" *ngIf="showAttachmentList">
|
||||
|
||||
<div *ngFor="let attachment of taskViewerAttachment; let i = index"
|
||||
class="ion-no-margin ion-no-padding cursor-pointer attachment-list" class="pa-10 mx-10 card-text"
|
||||
>
|
||||
<div class="attachment" (touchstart)="startHold($event, attachment, i)" (touchend)="endHold()" (click)="clickDocument(attachment, i )">
|
||||
<div *ngFor="let attachment of taskViewerAttachment; let i = index"
|
||||
class="ion-no-margin ion-no-padding cursor-pointer attachment-list" class="pa-10 mx-10 card-text"
|
||||
>
|
||||
<div class="attachment" (touchstart)="startHold($event, attachment, i)" (touchend)="endHold()" (click)="clickDocument(attachment, i )">
|
||||
|
||||
<div class="attach-title-item tex-left">
|
||||
{{ attachment.Assunto || "Sem assunto" }}
|
||||
<br>
|
||||
{{ attachment.Sender }}
|
||||
<br>
|
||||
<span class="document-type" *ngIf="isSelectedAttachmentIsDraft(attachment)">Rascunho</span>
|
||||
<br *ngIf="isSelectedAttachmentIsDraft(attachment)">
|
||||
{{ attachment.DocDate | date: 'dd/MM/yy' }}
|
||||
</div>
|
||||
|
||||
|
||||
<button mat-icon-button [matMenuTriggerFor]="menu" aria-label="Example icon-button with a menu" style="
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
/* top: -40px; */
|
||||
position: absolute;
|
||||
"></button>
|
||||
<mat-menu #menu="matMenu">
|
||||
<button (click)="openExpedientActionsModal('0', attachment)" mat-menu-item>
|
||||
<span>Efetuar Despacho</span>
|
||||
</button>
|
||||
<button (click)="openExpedientActionsModal('1', attachment)" mat-menu-item >
|
||||
<span>Solicitar Parecer</span>
|
||||
</button>
|
||||
<button *ngIf="!p.userRole(['PR']) && !p.userPermission([p.permissionList.Gabinete.pr_tasks])" (click)="openExpedientActionsModal('1', attachment)" mat-menu-item >
|
||||
<span>Pedido de Deferimento</span>
|
||||
</button>
|
||||
<button (click)="openBookMeetingModal(attachment)" mat-menu-item>
|
||||
<span>Marcar Reunião</span>
|
||||
</button>
|
||||
<button *ngIf="p.userRole('PR')" mat-menu-item>
|
||||
<span>Assinar</span>
|
||||
</button>
|
||||
</mat-menu>
|
||||
|
||||
<div class="attach-title-item tex-left">
|
||||
{{ attachment.Assunto || "Sem assunto" }}
|
||||
<br>
|
||||
{{ attachment.Sender }}
|
||||
<br>
|
||||
<span class="document-type" *ngIf="isSelectedAttachmentIsDraft(attachment)">Rascunho</span>
|
||||
<br *ngIf="isSelectedAttachmentIsDraft(attachment)">
|
||||
{{ attachment.DocDate | date: 'dd/MM/yy' }}
|
||||
</div>
|
||||
|
||||
|
||||
<button mat-icon-button [matMenuTriggerFor]="menu" aria-label="Example icon-button with a menu" style="
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
/* top: -40px; */
|
||||
position: absolute;
|
||||
"></button>
|
||||
<mat-menu #menu="matMenu">
|
||||
<button (click)="openExpedientActionsModal('0', attachment)" mat-menu-item>
|
||||
<span>Efetuar Despacho</span>
|
||||
</button>
|
||||
<button (click)="openExpedientActionsModal('1', attachment)" mat-menu-item >
|
||||
<span>Solicitar Parecer</span>
|
||||
</button>
|
||||
<button *ngIf="!p.userRole(['PR']) && !p.userPermission([p.permissionList.Gabinete.pr_tasks])" (click)="openExpedientActionsModal('1', attachment)" mat-menu-item >
|
||||
<span>Pedido de Deferimento</span>
|
||||
</button>
|
||||
<button (click)="openBookMeetingModal(attachment)" mat-menu-item>
|
||||
<span>Marcar Reunião</span>
|
||||
</button>
|
||||
<button *ngIf="p.userRole('PR')" mat-menu-item>
|
||||
<span>Assinar</span>
|
||||
</button>
|
||||
</mat-menu>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div [ngClass]="{'d-none': draft}" #iframeContainer class="height-100 flex-1" ></div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user