centralize service

This commit is contained in:
Peter Maquiran
2023-04-17 16:00:30 +01:00
parent 9c835cde28
commit 955640e42e
8 changed files with 269 additions and 306 deletions
@@ -1,5 +1,5 @@
<ion-header class="ion-no-border">
<!-- <ion-progress-bar type="indeterminate" *ngIf="skeletonLoader"></ion-progress-bar> -->
<!-- <ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar> -->
<div class="title">
<div class="thetitle"><ion-label >Todas as tarefas</ion-label></div>
@@ -55,13 +55,13 @@
<div class="overflow-y-auto height-100 width-100">
<div *ngIf="AllProcess.length >= 0">
<div *ngIf="TaskService.AllProcess.length >= 0">
<ion-item-sliding class="overflow-y-auto height-100">
<div class="listview">
<ion-list *ngIf="AllProcess">
<ion-list *ngIf="TaskService.AllProcess">
<div
class="item-hover ion-no-padding cursor-pointer"
*ngFor = "let task of AllProcess"
*ngFor = "let task of TaskService.AllProcess"
(click)="goToProcess(task.SerialNumber || task.serialNumber, task.WorkflowName || task.workflowName|| task.workflowDisplayName , task.activityInstanceName)">
<div class="item-wrapper" *ngIf="TaskService.filter(task, filterName)">
<div class="item width-100 " >
@@ -120,13 +120,13 @@
</div>
<div
*ngIf="!skeletonLoader && getAllProcessCount == 0"
*ngIf="!TaskService.showLoader && TaskService.AllProcess.length == 0"
class="empty-list d-flex height-100 align-center justify-content-center"
>
<span>Lista vazia</span>
</div>
<div *ngIf="skeletonLoader && getAllProcessCount == 0">
<div *ngIf="TaskService.showLoader && TaskService.AllProcess.length == 0">
<ion-list>
<ion-item>