mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Remove anwanted process from expediente list
This commit is contained in:
@@ -16,8 +16,5 @@
|
|||||||
"sound"
|
"sound"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"server": {
|
|
||||||
"url": "http://192.168.0.64:8101"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<ion-list>
|
<ion-list>
|
||||||
<div
|
<div
|
||||||
class="expediente ion-no-padding ion-no-margin cursor-pointer"
|
class="expediente ion-no-padding ion-no-margin cursor-pointer"
|
||||||
*ngFor = "let task of expedientegbstore.list"
|
*ngFor = "let task of listToPresent"
|
||||||
(click)="goToExpediente(task.SerialNumber)"
|
(click)="goToExpediente(task.SerialNumber)"
|
||||||
>
|
>
|
||||||
<div class="item width-100">
|
<div class="item width-100">
|
||||||
@@ -67,13 +67,13 @@
|
|||||||
</ion-list>
|
</ion-list>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
*ngIf="!skeletonLoader && expedientegbstore.list.length == 0 && expedientegbstore.list.length == 0"
|
*ngIf="!skeletonLoader && listToPresent.length == 0 && listToPresent.length == 0"
|
||||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||||
>
|
>
|
||||||
<span>Lista vazia</span>
|
<span>Lista vazia</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="skeletonLoader && expedientegbstore.list.length == 0">
|
<div *ngIf="skeletonLoader && listToPresent.length == 0">
|
||||||
|
|
||||||
<ion-list>
|
<ion-list>
|
||||||
<ion-item>
|
<ion-item>
|
||||||
|
|||||||
@@ -81,6 +81,9 @@ export class ExpedientePage implements OnInit {
|
|||||||
this.taskslist.push(task);
|
this.taskslist.push(task);
|
||||||
this.addProcessTODb(task);
|
this.addProcessTODb(task);
|
||||||
});
|
});
|
||||||
|
this.taskslist = this.taskslist.filter(function(item) {
|
||||||
|
return item.activityInstanceName != 'Retificar Expediente'
|
||||||
|
})
|
||||||
this.listToPresent = this.sortService.sortDate(this.taskslist, 'taskStartDate')
|
this.listToPresent = this.sortService.sortDate(this.taskslist, 'taskStartDate')
|
||||||
|
|
||||||
|
|
||||||
@@ -152,6 +155,9 @@ export class ExpedientePage implements OnInit {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.taskslist = this.taskslist.filter(function(item) {
|
||||||
|
return item.activityInstanceName != 'Retificar Expediente'
|
||||||
|
})
|
||||||
this.listToPresent = this.taskslist
|
this.listToPresent = this.taskslist
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -73,6 +73,9 @@ export class ExpedientsPage implements OnInit {
|
|||||||
});
|
});
|
||||||
this.taskslist = this.sortService.sortDate(this.taskslist, 'CreateDate')
|
this.taskslist = this.sortService.sortDate(this.taskslist, 'CreateDate')
|
||||||
this.addProcessTODb(this.taskslist);
|
this.addProcessTODb(this.taskslist);
|
||||||
|
this.taskslist = this.taskslist.filter(function(item) {
|
||||||
|
return item.activityInstanceName != 'Retificar Expediente'
|
||||||
|
})
|
||||||
this.expedientegbstore.reset(this.taskslist);
|
this.expedientegbstore.reset(this.taskslist);
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
this.getEventsFromLocalDb();
|
this.getEventsFromLocalDb();
|
||||||
|
|||||||
Reference in New Issue
Block a user