|
|
|
@@ -312,6 +312,115 @@
|
|
|
|
|
<span class="title1" *ngIf="AllProcess.length > 1">correspondências</span>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div (click)="openExpedientListPage(); selectedElement='Correspondence'"
|
|
|
|
|
[class.active]="selectedElement == 'Correspondence' || selectedElement == 'Expediente Presidente'"
|
|
|
|
|
class="box-hover exp-card d-flex flex-column justify-center">
|
|
|
|
|
<div class="d-flex justify-center">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
|
|
|
|
src="assets/images/icons-correspondencia.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement != 'Correspondence'"
|
|
|
|
|
src="assets/images/theme/gov/icons-correspondencia.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement == 'Correspondence'"
|
|
|
|
|
src="assets/images/theme/gov/icons-correspondencia-hover.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-correspondencia.svg"></ion-icon>
|
|
|
|
|
<ion-icon hidden *ngIf="ThemeService.currentTheme == 'doneIt' && selectedElement == 'Correspondence'"
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-correspondencia-hover.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p class="text-center exp-card-title ">Expediente <br>
|
|
|
|
|
<span *ngIf="TaskService.expedientegbstore.newList.length == 1" class="new-task-count">{{
|
|
|
|
|
TaskService.expedientegbstore.newList.length}} correspondência nova</span>
|
|
|
|
|
<span *ngIf="TaskService.expedientegbstore.newList.length >= 2" class="new-task-count">{{
|
|
|
|
|
TaskService.expedientegbstore.newList.length}} correspondências novas</span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p class="text-center exp-card-content">
|
|
|
|
|
{{TaskService.expedientegbstore.count}}
|
|
|
|
|
<span class="title1" *ngIf="TaskService.expedientegbstore.count == 0">correspondência</span>
|
|
|
|
|
<span class="title1" *ngIf="TaskService.expedientegbstore.count == 1">correspondência</span>
|
|
|
|
|
<span class="title1" *ngIf="TaskService.expedientegbstore.count > 1">correspondências</span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks])"
|
|
|
|
|
(click)="openDiplomasAssinarPage(); selectedElement='DiplomasParaAssinar'"
|
|
|
|
|
[class.active]="selectedElement == 'DiplomasParaAssinar'"
|
|
|
|
|
class="box-hover exp-card d-flex flex-column justify-center">
|
|
|
|
|
<div class="d-flex justify-center">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
|
|
|
|
src="assets/images/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement != 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/gov/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement == 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/gov/icons-expediente-diploma-hover.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon hidden
|
|
|
|
|
*ngIf="ThemeService.currentTheme == 'doneIt' && selectedElement == 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-expediente-diploma-hover.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="text-center exp-card-title">Diplomas por Assinar {{ environment.PR}} <br>
|
|
|
|
|
<span class="new-task-count" *ngIf="TaskService.deplomasStore.diplomasParaAssinarNewCount.length >=2">{{
|
|
|
|
|
TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diplomas correspondências novas</span>
|
|
|
|
|
<span class="new-task-count" *ngIf="TaskService.deplomasStore.diplomasParaAssinarNewCount.length ==1">{{
|
|
|
|
|
TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diploma correspondência nova</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="text-center exp-card-content">
|
|
|
|
|
{{ TaskService.deplomasStore.diplomasParaAssinartCount }}
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount == 0">correspondência</span>
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount == 1">correspondência</span>
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount > 1">correspondências</span>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div *ngIf="p.userPermission([p.permissionList.Gabinete.pr_tasks])"
|
|
|
|
|
(click)="openDiplomasAssinarPage(); selectedElement='DiplomasParaAssinar'"
|
|
|
|
|
[class.active]="selectedElement == 'DiplomasParaAssinar'"
|
|
|
|
|
class="box-hover exp-card d-flex flex-column justify-center">
|
|
|
|
|
<div class="d-flex justify-center">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
|
|
|
|
src="assets/images/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement != 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/gov/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement == 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/gov/icons-expediente-diploma-hover.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon hidden
|
|
|
|
|
*ngIf="ThemeService.currentTheme == 'doneIt' && selectedElement == 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-expediente-diploma-hover.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="text-center exp-card-title">Diplomas para Assinar<br>
|
|
|
|
|
<span class="new-task-count"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinarNewCount.length >= 2">{{
|
|
|
|
|
TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} correspondências novas</span>
|
|
|
|
|
<span class="new-task-count "
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinarNewCount.length == 1">{{
|
|
|
|
|
TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} correspondência nova</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="text-center exp-card-content">
|
|
|
|
|
{{ TaskService.deplomasStore.diplomasParaAssinartCount }}
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount == 0">correspondência</span>
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount == 1">correspondência</span>
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount > 1">correspondências</span>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks, p.permissionList.Gabinete.pr_tasks])"
|
|
|
|
|
(click)="openDespachosPrPage(); selectedElement='showDespachosPr'"
|
|
|
|
@@ -338,7 +447,7 @@
|
|
|
|
|
|
|
|
|
|
<p class="text-center exp-card-title "
|
|
|
|
|
*ngIf="p.userPermission([p.permissionList.Gabinete.pr_tasks]) && !p.userPermission([p.permissionList.Gabinete.md_tasks])">
|
|
|
|
|
Despachos criados por mim<br>
|
|
|
|
|
Despachos para concluir<br>
|
|
|
|
|
<span class="new-task-count" *ngIf="TaskService.despachoprstore.newList.length >=2">{{
|
|
|
|
|
TaskService.despachoprstore.newList.length}} correspondências novas </span>
|
|
|
|
|
<span class="new-task-count" *ngIf="TaskService.despachoprstore.newList.length ==1">{{
|
|
|
|
@@ -353,7 +462,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks, p.permissionList.Gabinete.pr_tasks])"
|
|
|
|
|
<div *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks])"
|
|
|
|
|
(click)="openDiplomasPage('assinados'); selectedElement='DiplomasAssinados'"
|
|
|
|
|
[class.active]="selectedElement == 'DiplomasAssinados'"
|
|
|
|
|
class="box-hover exp-card d-flex flex-column justify-center">
|
|
|
|
@@ -393,42 +502,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks])"
|
|
|
|
|
(click)="openDiplomasAssinarPage(); selectedElement='DiplomasParaAssinar'"
|
|
|
|
|
[class.active]="selectedElement == 'DiplomasParaAssinar'"
|
|
|
|
|
class="box-hover exp-card d-flex flex-column justify-center">
|
|
|
|
|
<div class="d-flex justify-center">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
|
|
|
|
src="assets/images/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement != 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/gov/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement == 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/gov/icons-expediente-diploma-hover.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon hidden
|
|
|
|
|
*ngIf="ThemeService.currentTheme == 'doneIt' && selectedElement == 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-expediente-diploma-hover.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="text-center exp-card-title">Diplomas por Assinar {{ environment.PR}} <br>
|
|
|
|
|
<span class="new-task-count" *ngIf="TaskService.deplomasStore.diplomasParaAssinarNewCount.length >=2">{{
|
|
|
|
|
TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diplomas correspondências novas</span>
|
|
|
|
|
<span class="new-task-count" *ngIf="TaskService.deplomasStore.diplomasParaAssinarNewCount.length ==1">{{
|
|
|
|
|
TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} Diploma correspondência nova</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="text-center exp-card-content">
|
|
|
|
|
{{ TaskService.deplomasStore.diplomasParaAssinartCount }}
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount == 0">correspondência</span>
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount == 1">correspondência</span>
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount > 1">correspondências</span>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div *ngIf="p.userPermission([p.permissionList.Gabinete.md_tasks])"
|
|
|
|
|
(click)="openDiplomasPage('validar'); selectedElement='DiplomasPorValidar'"
|
|
|
|
@@ -459,44 +532,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div *ngIf="p.userPermission([p.permissionList.Gabinete.pr_tasks])"
|
|
|
|
|
(click)="openDiplomasAssinarPage(); selectedElement='DiplomasParaAssinar'"
|
|
|
|
|
[class.active]="selectedElement == 'DiplomasParaAssinar'"
|
|
|
|
|
class="box-hover exp-card d-flex flex-column justify-center">
|
|
|
|
|
<div class="d-flex justify-center">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
|
|
|
|
src="assets/images/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement != 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/gov/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement == 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/gov/icons-expediente-diploma-hover.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-expediente-diploma.svg"></ion-icon>
|
|
|
|
|
<ion-icon hidden
|
|
|
|
|
*ngIf="ThemeService.currentTheme == 'doneIt' && selectedElement == 'DiplomasParaAssinar' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-expediente-diploma-hover.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="text-center exp-card-title">Diplomas para Assinar<br>
|
|
|
|
|
<span class="new-task-count"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinarNewCount.length >= 2">{{
|
|
|
|
|
TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} correspondências novas</span>
|
|
|
|
|
<span class="new-task-count "
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinarNewCount.length == 1">{{
|
|
|
|
|
TaskService.deplomasStore.diplomasParaAssinarNewCount.length}} correspondência nova</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="text-center exp-card-content">
|
|
|
|
|
{{ TaskService.deplomasStore.diplomasParaAssinartCount }}
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount == 0">correspondência</span>
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount == 1">correspondência</span>
|
|
|
|
|
<span class="title1"
|
|
|
|
|
*ngIf="TaskService.deplomasStore.diplomasParaAssinartCount > 1">correspondências</span>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div *ngIf="SessionStore.user.Profile == 'Consultant' && environment.presidential"
|
|
|
|
|
(click)="openDiplomaPorElaborar('gerarDiplomas'); selectedElement='gerarDiplomas'"
|
|
|
|
@@ -555,38 +590,7 @@
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div (click)="openExpedientListPage(); selectedElement='Correspondence'"
|
|
|
|
|
[class.active]="selectedElement == 'Correspondence' || selectedElement == 'Expediente Presidente'"
|
|
|
|
|
class="box-hover exp-card d-flex flex-column justify-center">
|
|
|
|
|
<div class="d-flex justify-center">
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
|
|
|
|
src="assets/images/icons-correspondencia.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement != 'Correspondence'"
|
|
|
|
|
src="assets/images/theme/gov/icons-correspondencia.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' && selectedElement == 'Correspondence'"
|
|
|
|
|
src="assets/images/theme/gov/icons-correspondencia-hover.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-correspondencia.svg"></ion-icon>
|
|
|
|
|
<ion-icon hidden *ngIf="ThemeService.currentTheme == 'doneIt' && selectedElement == 'Correspondence'"
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-correspondencia-hover.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p class="text-center exp-card-title ">Expediente <br>
|
|
|
|
|
<span *ngIf="TaskService.expedientegbstore.newList.length == 1" class="new-task-count">{{
|
|
|
|
|
TaskService.expedientegbstore.newList.length}} correspondência nova</span>
|
|
|
|
|
<span *ngIf="TaskService.expedientegbstore.newList.length >= 2" class="new-task-count">{{
|
|
|
|
|
TaskService.expedientegbstore.newList.length}} correspondências novas</span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p class="text-center exp-card-content">
|
|
|
|
|
{{TaskService.expedientegbstore.count}}
|
|
|
|
|
<span class="title1" *ngIf="TaskService.expedientegbstore.count == 0">correspondência</span>
|
|
|
|
|
<span class="title1" *ngIf="TaskService.expedientegbstore.count == 1">correspondência</span>
|
|
|
|
|
<span class="title1" *ngIf="TaskService.expedientegbstore.count > 1">correspondências</span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- List -->
|
|
|
|
|
<div *ngIf="!p.userPermission([p.permissionList.Gabinete.pr_tasks])"
|
|
|
|
|