Bug datepipe solved

This commit is contained in:
Eudes Inácio
2022-05-04 16:45:38 +01:00
parent 71ddea9211
commit 645b6e8a13
7 changed files with 10 additions and 4 deletions
+2
View File
@@ -138,6 +138,8 @@ export class ProfilePage implements OnInit {
notificatinsRoutes = (index, Service, Object, IdObject, FolderId) => {
console.log(index, Service, Object, IdObject, FolderId)
if (Service === "agenda" && IdObject.length > 10) {
this.zone.run(() => this.router.navigate(['/home/agenda', IdObject, 'agenda']));
}
+1 -1
View File
@@ -144,7 +144,7 @@ export interface expedienteTask {
export interface ExpedienteTask {
SerialNumber: string
Senders : string
CreateDate : string
CreateDate : any
DocumentsQty : number
WorkflowName : string
activityInstanceName : string
@@ -202,9 +202,11 @@ export class DiplomasPage implements OnInit, OnDestroy {
let task = this.pipeTask(element);
diplomasAssinadoList.push(task);
console.log('DIPLOMAS ASSINADOS', task)
});
this.diplomasAssinadoList = this.sortService.sortDate(diplomasAssinadoList, 'CreateDate')
console.log('DIPLOMAS ASSINADOS', this.diplomasAssinadoList)
}, (error) => {
this.getFromDb()
@@ -583,6 +583,7 @@ export class GabineteDigitalPage implements OnInit, DoCheck {
this.allProcessesList.push(task);
this.allProcessesList = removeDuplicate(this.allProcessesList);
this.allProcessesList = this.sortService.sortDate(this.allProcessesList, 'CreateDate')
console.log('All PROCESS', this.allProcessesList)
});
+1 -1
View File
@@ -17,7 +17,7 @@ export class ExpedienteTaskPipe implements PipeTransform {
"taskStartDate": fullTask.taskStartDate,
"Subject": fullTask.workflowInstanceDataFields.Subject,
"Senders": fullTask.workflowInstanceDataFields.Sender,
"CreateDate": taskDate,
"CreateDate": date,
"DocumentsQty": fullTask.totalDocuments,
"WorkflowName": fullTask.workflowDisplayName,
"activityInstanceName": fullTask.activityInstanceName,
@@ -19,7 +19,7 @@ export class EventsToApprovePage implements OnInit {
showLoader: boolean;
eventsPRList: any = []
eventsMDGPRList: any = []
eventsMDGPRList;
eventPerson: EventPerson;
eventBody: EventBody;
categories: string[];
@@ -41,6 +41,7 @@ export class EventsToApprovePage implements OnInit {
}
ngOnInit() {
console.log('ERROR LEGN',this.eventsMDGPRList.length)
this.segment = this.loggeduser.Profile;
this.LoadToApproveEvents();