mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Improve agenda
This commit is contained in:
@@ -101,7 +101,7 @@ export class ViewEventPage implements OnInit {
|
||||
this.customDate = this.days[this.today.getDay()]+ ", " + this.today.getDate() +" de " + ( this.months[this.today.getMonth()]);
|
||||
}, (error)=> {
|
||||
|
||||
console.log('errer', )
|
||||
// console.log('errer', )
|
||||
|
||||
this.viewEventDetailDismiss.emit({
|
||||
type: 'close'
|
||||
@@ -178,24 +178,18 @@ export class ViewEventPage implements OnInit {
|
||||
|
||||
async LoadDocumentDetails() {
|
||||
|
||||
|
||||
const docId = this.loadedEvent.Attachments[ this.dicIndex].Id
|
||||
const docId = this.loadedEvent.Attachments[ this.dicIndex].SourceId
|
||||
const applicationId = this.loadedEvent.Attachments[ this.dicIndex].ApplicationId
|
||||
|
||||
console.log(this.loadedEvent.Attachments[ this.dicIndex])
|
||||
|
||||
|
||||
this.processes.GetDocumentDetails(docId, applicationId).subscribe( async(res)=> {
|
||||
alert('loads')
|
||||
console.log(res);
|
||||
|
||||
this.LoadedDocument = res;
|
||||
|
||||
this.LoadedDocument.Subject = this.LoadedDocument.Assunto
|
||||
|
||||
let thedate = new Date(this.LoadedDocument.DateDispatch || this.LoadedDocument.DocDate);
|
||||
|
||||
console.log(res)
|
||||
this.customDate = this.days[thedate.getDay()]+ ", " + thedate.getDate() +" de " + ( this.months[thedate.getMonth()]);
|
||||
|
||||
let task: ExpedientTaskModalPageNavParamsTask
|
||||
@@ -237,7 +231,6 @@ export class ViewEventPage implements OnInit {
|
||||
this.task = task
|
||||
console.log('this.task = task', this.task)
|
||||
|
||||
|
||||
this.task = task
|
||||
|
||||
const popover = await this.popoverController.create({
|
||||
@@ -258,11 +251,9 @@ export class ViewEventPage implements OnInit {
|
||||
this.openExpedientActionsModal(res.data.taskAction)
|
||||
} else {
|
||||
console.log(res.data)
|
||||
console.log('component not found')
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user