mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Merge branch 'developer' of bitbucket.org:equilibriumito/gabinete-digital into developer
This commit is contained in:
+19
-13
@@ -133,8 +133,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
loader.remove()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
async openAddNoteModal(actionName:string) {
|
||||
let classs;
|
||||
if( window.innerWidth < 801) {
|
||||
@@ -235,6 +235,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
async LoadTaskDetail(serial: string) {
|
||||
|
||||
this.processes.GetTask(serial).subscribe(res => {
|
||||
console.log(res);
|
||||
|
||||
this.task = {
|
||||
"SerialNumber": res.serialNumber,
|
||||
"Folio": res.workflowInstanceDataFields.Subject,
|
||||
@@ -248,6 +250,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
"DocId": res.workflowInstanceDataFields.DocID,
|
||||
"WorkflowName": res.workflowDisplayName,
|
||||
"Status": res.workflowInstanceDataFields.Status,
|
||||
"DispatchNumber": res.workflowInstanceDataFields.DispatchNumber,
|
||||
"AttachmentsProcessLastInstanceID": res.workflowInstanceDataFields.AttachmentsProcessLastInstanceID,
|
||||
}
|
||||
this.fulltask = res;
|
||||
|
||||
@@ -341,20 +345,22 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
if(res){
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
console.log( this.documents);
|
||||
this.documents.forEach(element =>{
|
||||
let body = {
|
||||
"Source": "1",
|
||||
"SourceId": element.Id,
|
||||
"SourceTitle": element.Assunto,
|
||||
"SerialNumber": this.task.SerialNumber,
|
||||
"ApplicationId": element.ApplicationType
|
||||
/* let body = {
|
||||
"InstanceID":null,
|
||||
"WorkflowDisplayName": this.task.WorkflowName,
|
||||
"FolderID": this.task.FolderId,
|
||||
"DispatchNumber": this.task.DispatchNumber,
|
||||
"AttachmentsProcessLastInstanceID": this.task.AttachmentsProcessLastInstanceID,
|
||||
"Attachments": [
|
||||
ApplicationId: element.ApplicationType,
|
||||
SourceId: element.Id,
|
||||
},
|
||||
}
|
||||
this.attachmentsService.setEventAttachmentById(body).subscribe((res)=>{
|
||||
this.attachmentsService.AddAttachment(body).subscribe((res)=>{
|
||||
this.getAttachments(this.task.SerialNumber);
|
||||
});
|
||||
})
|
||||
|
||||
}); */
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user