mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
fix actions and draft data object
This commit is contained in:
@@ -144,6 +144,8 @@ export class DiplomaPage implements OnInit {
|
||||
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
||||
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
||||
|
||||
console.log({split_stringDraft})
|
||||
|
||||
this.mergedArray = []
|
||||
try {
|
||||
this.getDraft(split_stringDraft);
|
||||
@@ -537,17 +539,17 @@ export class DiplomaPage implements OnInit {
|
||||
|
||||
let object = {
|
||||
"ApplicationId": "",
|
||||
"Assunto": resd.data.description,
|
||||
"Assunto": resd.data.document.description,
|
||||
"DocDate": "",
|
||||
"DocId": resd.data.id,
|
||||
"DocId": resd.data.document.id,
|
||||
"DocNumber": "",
|
||||
"FolderId": "",
|
||||
"Sender": "",
|
||||
"SourceDocId": "",
|
||||
"content": resd.data.content,
|
||||
"path": resd.data.path,
|
||||
"ownerId": resd.data.ownerId,
|
||||
"status": resd.data.status,
|
||||
"content": resd.data.document.content,
|
||||
"path": resd.data.document.path,
|
||||
"ownerId": resd.data.document.ownerId,
|
||||
"status": resd.data.document.status,
|
||||
}
|
||||
this.mergedArray.push(object)
|
||||
this.DraftNames = this.DraftNames + resd.data.description+";"
|
||||
|
||||
Reference in New Issue
Block a user