mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Bug datepipe solved
This commit is contained in:
@@ -18,6 +18,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"server": {
|
"server": {
|
||||||
"url": "http://192.168.0.50:8101"
|
"url": "http://192.168.0.50:8100"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -138,6 +138,8 @@ export class ProfilePage implements OnInit {
|
|||||||
|
|
||||||
notificatinsRoutes = (index, Service, Object, IdObject, FolderId) => {
|
notificatinsRoutes = (index, Service, Object, IdObject, FolderId) => {
|
||||||
|
|
||||||
|
console.log(index, Service, Object, IdObject, FolderId)
|
||||||
|
|
||||||
if (Service === "agenda" && IdObject.length > 10) {
|
if (Service === "agenda" && IdObject.length > 10) {
|
||||||
this.zone.run(() => this.router.navigate(['/home/agenda', IdObject, 'agenda']));
|
this.zone.run(() => this.router.navigate(['/home/agenda', IdObject, 'agenda']));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ export interface expedienteTask {
|
|||||||
export interface ExpedienteTask {
|
export interface ExpedienteTask {
|
||||||
SerialNumber: string
|
SerialNumber: string
|
||||||
Senders : string
|
Senders : string
|
||||||
CreateDate : string
|
CreateDate : any
|
||||||
DocumentsQty : number
|
DocumentsQty : number
|
||||||
WorkflowName : string
|
WorkflowName : string
|
||||||
activityInstanceName : string
|
activityInstanceName : string
|
||||||
|
|||||||
@@ -202,9 +202,11 @@ export class DiplomasPage implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
let task = this.pipeTask(element);
|
let task = this.pipeTask(element);
|
||||||
diplomasAssinadoList.push(task);
|
diplomasAssinadoList.push(task);
|
||||||
|
console.log('DIPLOMAS ASSINADOS', task)
|
||||||
});
|
});
|
||||||
|
|
||||||
this.diplomasAssinadoList = this.sortService.sortDate(diplomasAssinadoList, 'CreateDate')
|
this.diplomasAssinadoList = this.sortService.sortDate(diplomasAssinadoList, 'CreateDate')
|
||||||
|
console.log('DIPLOMAS ASSINADOS', this.diplomasAssinadoList)
|
||||||
|
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
this.getFromDb()
|
this.getFromDb()
|
||||||
|
|||||||
@@ -583,6 +583,7 @@ export class GabineteDigitalPage implements OnInit, DoCheck {
|
|||||||
this.allProcessesList.push(task);
|
this.allProcessesList.push(task);
|
||||||
this.allProcessesList = removeDuplicate(this.allProcessesList);
|
this.allProcessesList = removeDuplicate(this.allProcessesList);
|
||||||
this.allProcessesList = this.sortService.sortDate(this.allProcessesList, 'CreateDate')
|
this.allProcessesList = this.sortService.sortDate(this.allProcessesList, 'CreateDate')
|
||||||
|
console.log('All PROCESS', this.allProcessesList)
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ export class ExpedienteTaskPipe implements PipeTransform {
|
|||||||
"taskStartDate": fullTask.taskStartDate,
|
"taskStartDate": fullTask.taskStartDate,
|
||||||
"Subject": fullTask.workflowInstanceDataFields.Subject,
|
"Subject": fullTask.workflowInstanceDataFields.Subject,
|
||||||
"Senders": fullTask.workflowInstanceDataFields.Sender,
|
"Senders": fullTask.workflowInstanceDataFields.Sender,
|
||||||
"CreateDate": taskDate,
|
"CreateDate": date,
|
||||||
"DocumentsQty": fullTask.totalDocuments,
|
"DocumentsQty": fullTask.totalDocuments,
|
||||||
"WorkflowName": fullTask.workflowDisplayName,
|
"WorkflowName": fullTask.workflowDisplayName,
|
||||||
"activityInstanceName": fullTask.activityInstanceName,
|
"activityInstanceName": fullTask.activityInstanceName,
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export class EventsToApprovePage implements OnInit {
|
|||||||
|
|
||||||
showLoader: boolean;
|
showLoader: boolean;
|
||||||
eventsPRList: any = []
|
eventsPRList: any = []
|
||||||
eventsMDGPRList: any = []
|
eventsMDGPRList;
|
||||||
eventPerson: EventPerson;
|
eventPerson: EventPerson;
|
||||||
eventBody: EventBody;
|
eventBody: EventBody;
|
||||||
categories: string[];
|
categories: string[];
|
||||||
@@ -41,6 +41,7 @@ export class EventsToApprovePage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
console.log('ERROR LEGN',this.eventsMDGPRList.length)
|
||||||
this.segment = this.loggeduser.Profile;
|
this.segment = this.loggeduser.Profile;
|
||||||
this.LoadToApproveEvents();
|
this.LoadToApproveEvents();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user