mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
fix
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
<!-- <ion-progress-bar type="indeterminate" *ngIf="skeletonLoader"></ion-progress-bar> -->
|
||||
<div class="title">
|
||||
<div class="thetitle"><ion-label >Todas as tarefas</ion-label></div>
|
||||
<div class="theicon">
|
||||
<!-- <div class="theicon">
|
||||
<button title="Atualizar" class="btn-no-color" (click)="refreshing()">
|
||||
<ion-icon slot="end" class="title-icon font-awesome" name="reload-circle"></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</ion-header>
|
||||
<ion-content>
|
||||
|
||||
@@ -24,16 +24,16 @@
|
||||
<ion-refresher-content>
|
||||
</ion-refresher-content>
|
||||
</ion-refresher>
|
||||
<div class="main-content overflow-y-auto height-100" [ngSwitch]="segment" *ngIf="eventsPRList">
|
||||
<div class="main-content overflow-y-auto height-100" [ngSwitch]="segment" *ngIf="eventaprovacaostore.listpr">
|
||||
|
||||
<div *ngSwitchCase="'MDGPR'" class="height-100">
|
||||
|
||||
<div *ngIf="eventsMDGPRList">
|
||||
<div *ngIf="eventaprovacaostore.listmd">
|
||||
|
||||
<ion-list class="width-100" *ngIf="eventsMDGPRList.length != 0" >
|
||||
<ion-list class="width-100" *ngIf="eventaprovacaostore.listmd.length != 0" >
|
||||
<div
|
||||
class="expediente item-hover ion-no-padding ion-no-margin cursor-pointer"
|
||||
*ngFor="let event of eventsMDGPRList"
|
||||
*ngFor="let event of eventaprovacaostore.listmd"
|
||||
(click)="goToEventDetail(event)"
|
||||
>
|
||||
<!-- (click)="openApproveModal(event)" -->
|
||||
@@ -52,9 +52,9 @@
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
<div *ngIf="eventsMDGPRList" class="centered-div">
|
||||
<div *ngIf="eventaprovacaostore.listmd" class="centered-div">
|
||||
|
||||
<div *ngIf="eventsMDGPRList.length == 0">
|
||||
<div *ngIf="eventaprovacaostore.listmd.length == 0">
|
||||
<div *ngSwitchCase="'MDGPR'">
|
||||
<div class="d-flex height-90 align-center justify-content-center"
|
||||
>
|
||||
@@ -65,12 +65,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div *ngSwitchCase="'PR'">
|
||||
<div *ngIf="eventsPRList.length != 0">
|
||||
<div *ngIf="eventaprovacaostore.listpr.length != 0">
|
||||
<ion-list class="width-100" *ngSwitchCase="'PR'">
|
||||
<div class="width-100" *ngIf="eventsPRList">
|
||||
<div class="width-100" *ngIf="eventaprovacaostore.listpr">
|
||||
<div
|
||||
class="expediente item-hover ion-no-padding ion-no-margin cursor-pointer"
|
||||
*ngFor="let event of eventsPRList"
|
||||
*ngFor="let event of eventaprovacaostore.listpr"
|
||||
(click)="goToEventDetail(event)"
|
||||
>
|
||||
<div class="item event-pr-{{event.workflowInstanceDataFields.Agenda}} width-100">
|
||||
@@ -90,10 +90,10 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div *ngIf="eventsPRList.length == 0" class="centered-div d-flex height-90 align-center justify-content-center">
|
||||
<div *ngIf="eventaprovacaostore.listpr.length == 0" class="centered-div d-flex height-90 align-center justify-content-center">
|
||||
<div *ngSwitchCase="'PR'" >
|
||||
<div class="d-flex align-center justify-content-center"
|
||||
*ngIf="eventsPRList.length < 1">
|
||||
*ngIf="eventaprovacaostore.listpr.length < 1">
|
||||
Lista vazia
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -81,7 +81,7 @@ export class EventsToApprovePage implements OnInit {
|
||||
|
||||
})
|
||||
|
||||
//this.eventaprovacaostore.resetmd(this.sortService.sortDate(this.eventsMDGPRList, 'CreateDate'));
|
||||
this.eventaprovacaostore.resetmd(this.sortService.sortDate(this.eventsMDGPRList, 'CreateDate'));
|
||||
}
|
||||
else if(this.segment == 'PR') {
|
||||
let prEventsOficial = await this.processes.GetTasksList('Agenda Oficial PR', false).toPromise();
|
||||
@@ -97,7 +97,7 @@ export class EventsToApprovePage implements OnInit {
|
||||
this.storage.set('event-to-aprovePR',this.eventsPRList).then(() => {
|
||||
|
||||
})
|
||||
//this.eventaprovacaostore.resetpr(this.sortService.sortDate(this.eventsPRList, 'CreateDate'));
|
||||
this.eventaprovacaostore.resetpr(this.sortService.sortDate(this.eventsPRList, 'CreateDate'));
|
||||
}
|
||||
this.showLoader = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user