mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Bug fix presenting documents on expedients detais
This commit is contained in:
+23
-5
@@ -148,6 +148,24 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
"InstanceID": workflow.InstanceID
|
"InstanceID": workflow.InstanceID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.fulltask = {
|
||||||
|
Documents: JSON.parse(process[0].Documents),
|
||||||
|
actions: JSON.parse(process[0].actions),
|
||||||
|
activityInstanceName: process[0].activityInstanceName,
|
||||||
|
formURL: process[0].formURL,
|
||||||
|
interveners: process[0].interveners,
|
||||||
|
originator: JSON.parse(process[0].originator),
|
||||||
|
serialNumber: process[0].serialNumber,
|
||||||
|
taskStartDate: process[0].taskStartDate,
|
||||||
|
totalDocuments: process[0].totalDocuments,
|
||||||
|
workflowDisplayName: process[0].workflowDisplayName,
|
||||||
|
workflowID: process[0].workflowID,
|
||||||
|
workflowInstanceDataFields: JSON.parse(process[0].workflowInstanceDataFields),
|
||||||
|
workflowInstanceFolio: process[0].workflowInstanceFolio,
|
||||||
|
workflowInstanceID: process[0].workflowInstanceID,
|
||||||
|
workflowName: process[0].workflowName,
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -341,7 +359,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
})
|
})
|
||||||
|
|
||||||
console.log('this.task', this.task.InstanceID)
|
console.log('this.task', this.task.InstanceID)
|
||||||
console.log('this.task.DocumentURL', this.task.DocumentURL)
|
console.log('this.task.DocumentURL', this.fulltask)
|
||||||
|
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
|
|
||||||
@@ -615,21 +633,21 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
return await popover.present();
|
return await popover.present();
|
||||||
}
|
}
|
||||||
|
|
||||||
openNewGroupPage(){
|
openNewGroupPage() {
|
||||||
this.router.navigate(['/home/chat']);
|
this.router.navigate(['/home/chat']);
|
||||||
this.dataService.set("newGroup", true);
|
this.dataService.set("newGroup", true);
|
||||||
|
|
||||||
if( window.innerWidth < 801){
|
if (window.innerWidth < 801) {
|
||||||
this.newGroup();
|
this.newGroup();
|
||||||
}
|
}
|
||||||
else{
|
else {
|
||||||
this.dataService.set("newGroup", true);
|
this.dataService.set("newGroup", true);
|
||||||
/* this.closeAllDesktopComponents();
|
/* this.closeAllDesktopComponents();
|
||||||
this.showNewGroup=true; */
|
this.showNewGroup=true; */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async newGroup(){
|
async newGroup() {
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: NewGroupPage,
|
component: NewGroupPage,
|
||||||
cssClass: 'modal modal-desktop',
|
cssClass: 'modal modal-desktop',
|
||||||
|
|||||||
Reference in New Issue
Block a user