mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
add delegate verification finish
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<div class="flex-grow-1 width-50 pl-10">
|
||||
<button *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks])" (click)="openExpedientActionsModal('1',fulltask)" class="btn-cancel" shape="round" >Solicitar Parecer</button>
|
||||
<!-- <button *ngIf="!p.userRole(['PR'])" (click)="openExpedientActionsModal('2',fulltask)" class="btn-cancel" shape="round" >Pedido de Deferimento</button> -->
|
||||
<button *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks])" (click)="openDelegarModal(task)" class="btn-cancel" shape="round" >Delegar</button>
|
||||
<button *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks]) && !isDelegated" (click)="openDelegarModal(task)" class="btn-cancel" shape="round" >Delegar</button>
|
||||
<button *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks]) && task.Status != 'Pending'" (click)="sendExpedienteToPending()" full class="btn-cancel" shape="round" >Enviar para Pendentes</button>
|
||||
<button (click)="cancle()" full class="btn-cancel" shape="round" >Cancelar</button>
|
||||
</div>
|
||||
|
||||
@@ -29,6 +29,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
serialNumber: string;
|
||||
profile: string
|
||||
environment = environment
|
||||
isDelegated: boolean;
|
||||
|
||||
constructor(private activateRoute: ActivatedRoute,
|
||||
private processes: ProcessesService,
|
||||
@@ -45,6 +46,8 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
console.log('is delegated', this.fulltask.isDelegated)
|
||||
this.isDelegated = this.fulltask.isDelegated;
|
||||
|
||||
this.profile = "mdgpr";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user