mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
pedido
This commit is contained in:
@@ -132,7 +132,7 @@ export class SignalRConnection {
|
||||
this.sendDataSubject.pipe(
|
||||
filter((message) => {
|
||||
return input.data.requestId == message?.data?.requestId ||
|
||||
input?.data?.roomName == message?.data.roomName && typeof input?.data?.roomName == 'string'
|
||||
input?.data?.roomName == message?.data?.roomName && typeof input?.data?.roomName == 'string'
|
||||
|
||||
}),
|
||||
).subscribe(value => {
|
||||
|
||||
@@ -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])"
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
</div>
|
||||
|
||||
<!-- <div class="d-flex justify-center align-center font-25" (click)="clickDocumentUPdateIndex(Document.DocId, Document, Document.content);"> -->
|
||||
<div class="d-flex justify-center align-center font-25" *ngIf="!Document.content">
|
||||
<!-- <div class="d-flex justify-center align-center font-25" *ngIf="!Document.content">
|
||||
<button mat-icon-button [matMenuTriggerFor]="menu" aria-label="Example icon-button with a menu">
|
||||
<mat-icon>more_vert</mat-icon>
|
||||
</button>
|
||||
@@ -110,7 +110,7 @@
|
||||
<span>Marcar Reunião</span>
|
||||
</button>
|
||||
</mat-menu>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
</ion-label>
|
||||
|
||||
@@ -4,4 +4,4 @@ import { environment as oaprProd } from './suport/oapr'
|
||||
// import { environment as doneITProd } from './suport/doneIt'
|
||||
|
||||
|
||||
export const environment: Environment = oaprProd;
|
||||
export const environment: Environment = DevDev;
|
||||
|
||||
Reference in New Issue
Block a user