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