mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix data
This commit is contained in:
@@ -630,17 +630,17 @@ export class DespachoPrPage implements OnInit {
|
|||||||
this.processes.GetDraftByID(element).subscribe((resd) => {
|
this.processes.GetDraftByID(element).subscribe((resd) => {
|
||||||
let object = {
|
let object = {
|
||||||
"ApplicationId": "",
|
"ApplicationId": "",
|
||||||
"Assunto": resd.data.document.description,
|
"Assunto": resd.data.description,
|
||||||
"DocDate": "",
|
"DocDate": "",
|
||||||
"DocId": resd.data.document.id,
|
"DocId": resd.data.id,
|
||||||
"DocNumber": "",
|
"DocNumber": "",
|
||||||
"FolderId": "",
|
"FolderId": "",
|
||||||
"Sender": "",
|
"Sender": "",
|
||||||
"SourceDocId": "",
|
"SourceDocId": "",
|
||||||
"content": resd.data.document.content,
|
"content": resd.data.content,
|
||||||
"path": resd.data.document.path,
|
"path": resd.data.path,
|
||||||
"ownerId": resd.data.document.ownerId,
|
"ownerId": resd.data.ownerId,
|
||||||
"status": resd.data.document.status,
|
"status": resd.data.status,
|
||||||
}
|
}
|
||||||
this.mergedArray.push(object)
|
this.mergedArray.push(object)
|
||||||
console.log('List of draff', resd)
|
console.log('List of draff', resd)
|
||||||
|
|||||||
@@ -208,17 +208,17 @@ export class DespachoPage implements OnInit {
|
|||||||
this.processes.GetDraftByID(element).subscribe((resd) => {
|
this.processes.GetDraftByID(element).subscribe((resd) => {
|
||||||
let object = {
|
let object = {
|
||||||
"ApplicationId": "",
|
"ApplicationId": "",
|
||||||
"Assunto": resd.data.document.description,
|
"Assunto": resd.data.description,
|
||||||
"DocDate": "",
|
"DocDate": "",
|
||||||
"DocId": resd.data.document.id,
|
"DocId": resd.data.id,
|
||||||
"DocNumber": "",
|
"DocNumber": "",
|
||||||
"FolderId": "",
|
"FolderId": "",
|
||||||
"Sender": "",
|
"Sender": "",
|
||||||
"SourceDocId": "",
|
"SourceDocId": "",
|
||||||
"content": resd.data.document.content,
|
"content": resd.data.content,
|
||||||
"path": resd.data.document.path,
|
"path": resd.data.path,
|
||||||
"ownerId": resd.data.document.ownerId,
|
"ownerId": resd.data.ownerId,
|
||||||
"status": resd.data.document.status,
|
"status": resd.data.status,
|
||||||
}
|
}
|
||||||
this.mergedArray.push(object)
|
this.mergedArray.push(object)
|
||||||
// console.log('List of draff', resd)
|
// console.log('List of draff', resd)
|
||||||
|
|||||||
+6
-6
@@ -481,17 +481,17 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
|
|
||||||
let object = {
|
let object = {
|
||||||
"ApplicationId": "",
|
"ApplicationId": "",
|
||||||
"Assunto": resd.data.document.description,
|
"Assunto": resd.data.description,
|
||||||
"DocDate": "",
|
"DocDate": "",
|
||||||
"DocId": resd.data.document.id,
|
"DocId": resd.data.id,
|
||||||
"DocNumber": "",
|
"DocNumber": "",
|
||||||
"FolderId": "",
|
"FolderId": "",
|
||||||
"Sender": "",
|
"Sender": "",
|
||||||
"SourceDocId": "",
|
"SourceDocId": "",
|
||||||
"content": resd.data.document.content,
|
"content": resd.data.content,
|
||||||
"path": resd.data.document.path,
|
"path": resd.data.path,
|
||||||
"ownerId": resd.data.document.ownerId,
|
"ownerId": resd.data.ownerId,
|
||||||
"status": resd.data.document.status,
|
"status": resd.data.status,
|
||||||
};
|
};
|
||||||
this.draftArray.push(object);
|
this.draftArray.push(object);
|
||||||
this.mergedArray.push(object);
|
this.mergedArray.push(object);
|
||||||
|
|||||||
@@ -539,17 +539,17 @@ export class DiplomaPage implements OnInit {
|
|||||||
|
|
||||||
let object = {
|
let object = {
|
||||||
"ApplicationId": "",
|
"ApplicationId": "",
|
||||||
"Assunto": resd.data.document.description,
|
"Assunto": resd.data.description,
|
||||||
"DocDate": "",
|
"DocDate": "",
|
||||||
"DocId": resd.data.document.id,
|
"DocId": resd.data.id,
|
||||||
"DocNumber": "",
|
"DocNumber": "",
|
||||||
"FolderId": "",
|
"FolderId": "",
|
||||||
"Sender": "",
|
"Sender": "",
|
||||||
"SourceDocId": "",
|
"SourceDocId": "",
|
||||||
"content": resd.data.document.content,
|
"content": resd.data.content,
|
||||||
"path": resd.data.document.path,
|
"path": resd.data.path,
|
||||||
"ownerId": resd.data.document.ownerId,
|
"ownerId": resd.data.ownerId,
|
||||||
"status": resd.data.document.status,
|
"status": resd.data.status,
|
||||||
}
|
}
|
||||||
this.mergedArray.push(object)
|
this.mergedArray.push(object)
|
||||||
this.DraftNames = this.DraftNames + resd.data.description+";"
|
this.DraftNames = this.DraftNames + resd.data.description+";"
|
||||||
|
|||||||
Reference in New Issue
Block a user