From bd8b3c350188df5f337bb8e215730d9a8f7400e8 Mon Sep 17 00:00:00 2001
From: Peter Maquiran
Diplomas assinados PR Diplomas {{ TaskService.deplomasStore.countDiplomasAssinadoListCount }}
- Documentos Diplomas por Assinar {{ environment.PR}}
+ {{ TaskService.deplomasStore.diplomasParaAssinartCount }}
+ Documento
+ Documento
+ 1">Documentos
{{ TaskService.deplomasStore.diplomasParaAssinartCount }} Documentos
Diplomas por Validar {{ TaskService.deplomasStore.deplomasReviewCount }} Documentos
+ {{ TaskService.deplomasStore.deplomasReviewCount }}
+ Documento
+ Documento
+ 1">Documentos
+ Diplomas para Assinar
+ {{ TaskService.deplomasStore.diplomasParaAssinartCount }}
+ Documento
+ Documento
+ 1">Documentos
{{ TaskService.deplomasStore.diplomasParaAssinartCount }} Documentos
Diplomas por elaborar
+ {{ TaskService.deplomasStore.DiplomaGerarList.length }}
+ Documento
+ Documento
+ 1">Documentos
{{ TaskService.deplomasStore.DiplomaGerarList.length }} Documentos Eventos para Aprovação {{TaskService.eventoaprovacaostore.countAll}} Documentos
- =2">{{ TaskService.deplomasStore.diplomasAssinadoListNewCount.length}} Diplomas por Assinar PR novos
- {{ TaskService.deplomasStore.diplomasAssinadoListNewCount.length}} Diploma por Assinar PR novo
+ =2">{{ TaskService.deplomasStore.diplomasAssinadoListNewCount.length}} correspondências novos
+ {{ TaskService.deplomasStore.diplomasAssinadoListNewCount.length}} correspondência novo
- =2">{{ TaskService.deplomasStore.diplomasAssinadoListNewCount.length}} Diplomas novo
- {{ TaskService.deplomasStore.diplomasAssinadoListNewCount.length}} Diploma novo
+ =2">{{ TaskService.deplomasStore.diplomasAssinadoListNewCount.length}} correspondências novo
+ {{ TaskService.deplomasStore.diplomasAssinadoListNewCount.length}} correspondência novo
- =2">{{ TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diplomas por Assinar {{ environment.PR}} novos
- {{ TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diploma por Assinar {{ environment.PR}} novo
+ =2">{{ TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diplomas correspondências novos
+ {{ TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diploma correspondência novo
+
- =2">{{ TaskService.deplomasStore.diplomasReviewListNewCount.length}} Diplomas por validar novos
- {{ TaskService.deplomasStore.diplomasReviewListNewCount.length}} Diploma por validar novo
+ =2">{{ TaskService.deplomasStore.diplomasReviewListNewCount.length}} correspondências novos
+ {{ TaskService.deplomasStore.diplomasReviewListNewCount.length}} correspondência novo
- = 2">{{ TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diplomas para assinar novos
- {{ TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diploma para assinar novo
+ = 2">{{ TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} correspondências novos
+ {{ TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} correspondência novo
+
- =2">{{ TaskService.deplomasStore.diplomasGerarListNewCount.length}} Diplomas por elaborar novos
- {{ TaskService.deplomasStore.diplomasGerarListNewCount.length}} Diploma por elaborar novo
+ =2">{{ TaskService.deplomasStore.diplomasGerarListNewCount.length}} correspondências novos
+ {{ TaskService.deplomasStore.diplomasGerarListNewCount.length}} correspondência novo
+
- =2">{{ TaskService.eventoaprovacaostore.newList.length}} Eventos para aprovação novos
- {{ TaskService.eventoaprovacaostore.newList.length}} Evento para aprovação novo
+ {{TaskService.eventoaprovacaostore.countAll}} + Documento + Documento + 1">Documentos +
@@ -370,11 +404,16 @@Expediente
- {{ TaskService.expedientegbstore.newList.length}} Expediente novo
- = 2" class="new-task-count">{{ TaskService.expedientegbstore.newList.length}} Expedientes novos
+ {{ TaskService.expedientegbstore.newList.length}} correspondência novo
+ = 2" class="new-task-count">{{ TaskService.expedientegbstore.newList.length}} correspondências novos
{{TaskService.expedientegbstore.count}} Documentos
++ {{TaskService.expedientegbstore.count}} + Documento + Documento + 1">Documentos +
@@ -388,10 +427,15 @@Despachos
- =2">{{ TaskService.despachoStore.newList.length}} Despachos novos
- {{ TaskService.despachoStore.newList.length}} Despacho novo
+ =2">{{ TaskService.despachoStore.newList.length}} correspondências novos
+ {{ TaskService.despachoStore.newList.length}} correspondência novo
{{TaskService.despachoStore.count}} Documentos
++ {{TaskService.despachoStore.count}} + Documento + Documento + 1">Documentos +
@@ -408,15 +452,20 @@
Pedidos de Parecer
- =2" >{{ TaskService.pedidosstore.listParecerCount.length}} Pedidos de Parecer novos
- {{ TaskService.pedidosstore.listParecerCount.length}} Pedido de Parecer novo
+ =2" >{{ TaskService.pedidosstore.listParecerCount.length}} correspondências novos
+ {{ TaskService.pedidosstore.listParecerCount.length}} correspondência novo
Pedidos de Parecer solicitados por mim
- =2">{{ TaskService.pedidosstore.listParecerCount.length}} Pedido de Parecer solicitados por mim novos
- {{ TaskService.pedidosstore.listParecerCount.length}} Pedidos de Parecer solicitados por mim novo
+ =2">{{ TaskService.pedidosstore.listParecerCount.length}} correspondências novos
+ {{ TaskService.pedidosstore.listParecerCount.length}} correspondência novo
+
+ {{TaskService.pedidosstore.countparecer}} + Documento + Documento + 1">Documentos
-{{TaskService.pedidosstore.countparecer}} Documentos
@@ -431,10 +480,15 @@
Pedidos de Deferimento
- =2">{{ TaskService.pedidosstore.listDeferimentoCount.length}} Pedidos de Deferimento novos
- {{ TaskService.pedidosstore.listDeferimentoCount.length}} Pedido de Deferimento novo
+ =2">{{ TaskService.pedidosstore.listDeferimentoCount.length}} correspondências novos
+ {{ TaskService.pedidosstore.listDeferimentoCount.length}} correspondência novo
+
+ {{ TaskService.pedidosstore.countdeferimento}} + Documento + Documento + 1">Documentos
-{{TaskService.pedidosstore.countdeferimento}} Documentos
@@ -448,16 +502,20 @@
Pendentes
- =2">{{ TaskService.pendentesstore.newList.length}} Pendentes novos
- =1">{{ TaskService.pendentesstore.newList.length}} Pendente novo
+ =2">{{ TaskService.pendentesstore.newList.length}} correspondências novos
+ =1">{{ TaskService.pendentesstore.newList.length}} correspondência novo
Meus Pendentes
- =2">{{ TaskService.pendentesstore.newList.length}} Meus Pendente novos
- {{ TaskService.pendentesstore.newList.length}} Meu Pendent novo
+ =2">{{ TaskService.pendentesstore.newList.length}} correspondências novos
+ {{ TaskService.pendentesstore.newList.length}} correspondência novo
{{TaskService.pendentesstore.count}} Documentos
++ {{TaskService.pendentesstore.count}} + Documento + Documento + 1">Documentos diff --git a/src/app/pages/gabinete-digital/gabinete-digital.page.ts b/src/app/pages/gabinete-digital/gabinete-digital.page.ts index 965fa6fb3..d31c52eea 100644 --- a/src/app/pages/gabinete-digital/gabinete-digital.page.ts +++ b/src/app/pages/gabinete-digital/gabinete-digital.page.ts @@ -764,4 +764,14 @@ export class GabineteDigitalPage implements OnInit { } } + + onDragOver(event) { + // do something + event.preventDefault(); + } + onDragLeave(event) { + // do something + event.preventDefault(); + } + } diff --git a/src/app/services/task-deadline.service.ts b/src/app/services/task-deadline.service.ts index 790899c4c..3a9addd65 100644 --- a/src/app/services/task-deadline.service.ts +++ b/src/app/services/task-deadline.service.ts @@ -44,7 +44,7 @@ export class TaskDeadlineService { updateAllProcess() { - this.AllProcess = this.sortArrayISODate(this.despachoprstore.list.concat(this.deplomasStore.diplomasAssinadoList as any).concat(this.deplomasStore.diplomasParaAssinarList as any).concat(this.deplomasStore.DiplomaGerarList as any) + this.AllProcess = this.sortArrayISODate(this.despachoprstore.list.concat(this.deplomasStore.diplomasAssinadoList as any).concat(this.deplomasStore.diplomasParaAssinarList as any).concat(this.deplomasStore.DiplomaGerarList as any).concat(this.deplomasStore.diplomasReviewList) .concat(this.eventoaprovacaostore.contactList as any).concat(this.expedientegbstore.list as any).concat(this.despachoStore.list as any).concat(this.pedidosstore.listparecer as any).concat(this.pedidosstore.listdeferimento as any) .concat(this.pendentesstore.list as any)).reverse() } diff --git a/src/app/services/task.service.ts b/src/app/services/task.service.ts index 805a54fd9..e638cd9af 100644 --- a/src/app/services/task.service.ts +++ b/src/app/services/task.service.ts @@ -129,7 +129,7 @@ export class TaskService { } updateAllProcess = () => { - this.AllProcess = this.sortArrayISODate(this.despachoprstore.list.concat(this.deplomasStore.diplomasAssinadoList as any).concat(this.deplomasStore.diplomasParaAssinarList as any).concat(this.deplomasStore.DiplomaGerarList as any) + this.AllProcess = this.sortArrayISODate(this.despachoprstore.list.concat(this.deplomasStore.diplomasAssinadoList as any).concat(this.deplomasStore.diplomasParaAssinarList as any).concat(this.deplomasStore.DiplomaGerarList as any).concat(this.deplomasStore.diplomasReviewList) .concat(this.eventoaprovacaostore.contactList as any).concat(this.expedientegbstore.list as any).concat(this.despachoStore.list as any).concat(this.pedidosstore.listparecer as any).concat(this.pedidosstore.listdeferimento as any) .concat(this.pendentesstore.list as any)).reverse() diff --git a/src/app/shared/gabinete-digital/all-processes/all-processes.page.ts b/src/app/shared/gabinete-digital/all-processes/all-processes.page.ts index 62d962cde..c5641fa9e 100644 --- a/src/app/shared/gabinete-digital/all-processes/all-processes.page.ts +++ b/src/app/shared/gabinete-digital/all-processes/all-processes.page.ts @@ -51,7 +51,15 @@ export class AllProcessesPage implements OnInit { // console.log('this.TaskService.AllProcess', this.TaskService.AllProcess) // this.miniSearch.addAll(this.TaskService.AllProcess) // window['miniSearch'] = this.miniSearch - }, 5000) + + + this.TaskService.registerCallback({ + id: import.meta.url, + funx:() => { + this.dynamicSearch() + } + }) + }, 10) this.TaskService.registerCallback({ @@ -86,6 +94,7 @@ export class AllProcessesPage implements OnInit { } else { this.AllProcess = this.TaskService.AllProcess } + } checkFilter() { diff --git a/src/app/shared/gabinete-digital/diplomas-assinar/diplomas-assinar.page.html b/src/app/shared/gabinete-digital/diplomas-assinar/diplomas-assinar.page.html index 992caedd6..824c4cf70 100644 --- a/src/app/shared/gabinete-digital/diplomas-assinar/diplomas-assinar.page.html +++ b/src/app/shared/gabinete-digital/diplomas-assinar/diplomas-assinar.page.html @@ -51,7 +51,7 @@