mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
Fix
This commit is contained in:
@@ -123,8 +123,6 @@ export class customTask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export interface expedienteTask {
|
export interface expedienteTask {
|
||||||
SerialNumber: string
|
SerialNumber: string
|
||||||
Folio : string
|
Folio : string
|
||||||
@@ -143,8 +141,6 @@ export interface expedienteTask {
|
|||||||
InstanceID: any
|
InstanceID: any
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export interface ExpedienteTask {
|
export interface ExpedienteTask {
|
||||||
SerialNumber: string
|
SerialNumber: string
|
||||||
Senders : string
|
Senders : string
|
||||||
|
|||||||
@@ -120,7 +120,7 @@
|
|||||||
<div [ngSwitch]="segment">
|
<div [ngSwitch]="segment">
|
||||||
<div *ngSwitchCase="'parecer'" class="centered-div d-flex height-100 align-center justify-content-center" >
|
<div *ngSwitchCase="'parecer'" class="centered-div d-flex height-100 align-center justify-content-center" >
|
||||||
<div
|
<div
|
||||||
*ngIf="!skeletonLoader && pedidosstorage.listparecer.length == 0"
|
*ngIf="pedidosstorage.listparecer.length == 0"
|
||||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||||
>
|
>
|
||||||
<span>Lista vazia</span>
|
<span>Lista vazia</span>
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
|
|
||||||
<div *ngSwitchCase="'deferimento'" class="centered-div d-flex height-100 align-center justify-content-center">
|
<div *ngSwitchCase="'deferimento'" class="centered-div d-flex height-100 align-center justify-content-center">
|
||||||
<div
|
<div
|
||||||
*ngIf="!skeletonLoader && pedidosstorage.listdeferimento.length == 0"
|
*ngIf="pedidosstorage.listdeferimento.length == 0"
|
||||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||||
>
|
>
|
||||||
<span>Lista vazia</span>
|
<span>Lista vazia</span>
|
||||||
|
|||||||
@@ -163,7 +163,9 @@ export class PedidosPage implements OnInit {
|
|||||||
this.parecerList.push(task);
|
this.parecerList.push(task);
|
||||||
});
|
});
|
||||||
this.addPedidoToDb(this.parecerList);
|
this.addPedidoToDb(this.parecerList);
|
||||||
|
|
||||||
this.listToPresentparecerList = this.sortService.sortArrayISODate(this.parecerList);
|
this.listToPresentparecerList = this.sortService.sortArrayISODate(this.parecerList);
|
||||||
|
this.pedidosstorage.resetparecer(this.listToPresentparecerList);
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (this.segment == 'deferimento') {
|
else if (this.segment == 'deferimento') {
|
||||||
@@ -204,6 +206,8 @@ export class PedidosPage implements OnInit {
|
|||||||
});
|
});
|
||||||
this.addPedidoToDb(this.deferimentoList);
|
this.addPedidoToDb(this.deferimentoList);
|
||||||
this.listToPresentdeferimentoList = this.sortService.sortArrayISODate(this.deferimentoList);
|
this.listToPresentdeferimentoList = this.sortService.sortArrayISODate(this.deferimentoList);
|
||||||
|
this.pedidosstorage.resetdeferimento(this.listToPresentdeferimentoList);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -197,6 +197,7 @@ export class EditEventPage implements OnInit {
|
|||||||
]),
|
]),
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
openInicio() {
|
openInicio() {
|
||||||
@@ -256,7 +257,8 @@ export class EditEventPage implements OnInit {
|
|||||||
|
|
||||||
this.showLoader = true;
|
this.showLoader = true;
|
||||||
|
|
||||||
await this.eventsService.editEvent(this.postEvent, 2, 3).subscribe(async () => {
|
try {
|
||||||
|
await this.eventsService.editEvent(this.postEvent, 2, 3).toPromise()
|
||||||
if(this.initCalendarName != this.postEvent.CalendarName) {
|
if(this.initCalendarName != this.postEvent.CalendarName) {
|
||||||
let body = {
|
let body = {
|
||||||
"EventId": this.postEvent.EventId,
|
"EventId": this.postEvent.EventId,
|
||||||
@@ -269,11 +271,10 @@ export class EditEventPage implements OnInit {
|
|||||||
}
|
}
|
||||||
this.showLoader = false;
|
this.showLoader = false;
|
||||||
this.toastService.successMessage()
|
this.toastService.successMessage()
|
||||||
},
|
} catch(error) {
|
||||||
error => {
|
|
||||||
this.showLoader = false
|
this.showLoader = false
|
||||||
this.toastService.badRequest()
|
this.toastService.badRequest()
|
||||||
});
|
}
|
||||||
|
|
||||||
this.clearPostEvent.emit();
|
this.clearPostEvent.emit();
|
||||||
this.deleteTemporaryData();
|
this.deleteTemporaryData();
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
|
|
||||||
<div *ngSwitchCase="'parecer'" class="centered-div" >
|
<div *ngSwitchCase="'parecer'" class="centered-div" >
|
||||||
<div
|
<div
|
||||||
*ngIf="!skeletonLoader && pedidosstore.listparecer.length == 0"
|
*ngIf=" pedidosstore.listparecer.length == 0"
|
||||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||||
>
|
>
|
||||||
<span>Lista vazia</span>
|
<span>Lista vazia</span>
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
<div *ngSwitchCase="'deferimento'" class="centered-div">
|
<div *ngSwitchCase="'deferimento'" class="centered-div">
|
||||||
<div
|
<div
|
||||||
*ngIf="!skeletonLoader && pedidosstore.listdeferimento.length == 0"
|
*ngIf="pedidosstore.listdeferimento.length == 0"
|
||||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||||
>
|
>
|
||||||
<span>Lista vazia</span>
|
<span>Lista vazia</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user