This commit is contained in:
Peter Maquiran
2023-02-13 15:19:03 +01:00
parent 16d2fac864
commit 3a9c0f1e5d
4 changed files with 19 additions and 12 deletions
@@ -41,6 +41,8 @@ export class AllProcessesPage implements OnInit {
public ThemeService: ThemeService
) {
this.loggeduser = SessionStore.user;
window['all-process'] = this.updateAllProcess
}
ngOnInit() {
@@ -62,9 +64,9 @@ export class AllProcessesPage implements OnInit {
doRefresh(event) {
if (event) {
setTimeout(() => {
try {
event?.target?.complete();
} catch(error) {}
try {
event?.target?.complete();
} catch(error) {}
}, 2000);
}
setTimeout(() => {
@@ -79,7 +81,7 @@ export class AllProcessesPage implements OnInit {
}, 1000);
}
updateAllProcess() {
updateAllProcess = () => {
this.AllProcess = this.expedientegbstore.list.concat(this.pedidosstore.listparecer).concat(this.pedidosstore.listdeferimento)
.concat(this.despachoprstore.list).concat(this.eventoaprovacaostore.listmd).concat(this.eventoaprovacaostore.listpr).concat(this.despachoStore.list)
.concat(this.deplomasStore.diplomasParaAssinarList).concat(this.deplomasStore.diplomasAssinadoList).concat(this.deplomasStore.DiplomaGerarList).concat(this.pendentesstore.list)