This commit is contained in:
Eudes Inácio
2023-06-11 12:23:21 +01:00
5 changed files with 17 additions and 11 deletions
+1
View File
@@ -96,6 +96,7 @@ export interface fullTaskList {
totalDocuments: number;
deadline: string;
taskStatus: string;
taskReceiveDate?: string;
workflowInstanceDataFields: {
Subject: string;
Sender: string;
@@ -428,8 +428,8 @@
<ion-icon src="assets/images/icons-agenda.svg"></ion-icon>
</div>
<p class="text-center exp-card-title ">Eventos para Aprovação <br>
<span class="new-task-count" *ngIf="TaskService.eventoaprovacaostore.newList.length >=2">{{ TaskService.eventoaprovacaostore.newList.length}} correspondências novas</span>
<span class="new-task-count" *ngIf="TaskService.eventoaprovacaostore.newList.length ==1">{{ TaskService.eventoaprovacaostore.newList.length}} correspondência nova</span>
<span class="new-task-count" *ngIf="TaskService.eventoaprovacaostore.newList.length >=2">{{ TaskService.eventoaprovacaostore.newList.length}} eventos novos</span>
<span class="new-task-count" *ngIf="TaskService.eventoaprovacaostore.newList.length ==1">{{ TaskService.eventoaprovacaostore.newList.length}} evento novo</span>
</p>
<p class="text-center exp-card-content">
{{TaskService.eventoaprovacaostore.countAll}}
@@ -63,7 +63,7 @@ export class OptsExpedientePage implements OnInit {
}
async openNewGroupPage(){
async openNewGroupPage() {
const modal = await this.modalController.create({
@@ -225,7 +225,7 @@ export class OptsExpedientePage implements OnInit {
this.processes.SetTaskToPending(this.task.SerialNumber).subscribe(res=>{
this.TaskService.loadExpedientes()
this.goBack();
},(error)=>{
},(error) => {
if(error.status == 0) {
this.toastService._badRequest('Sem acesso à internet. Por favor verifique sua conexão')
} else {