mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improve edition of draft
This commit is contained in:
@@ -127,6 +127,9 @@ export class DespachoPage implements OnInit {
|
||||
"Sender": "",
|
||||
"SourceDocId": "",
|
||||
"content": resd.data.content,
|
||||
"path": resd.data.path,
|
||||
"ownerId": resd.data.ownerId,
|
||||
"status": resd.data.status,
|
||||
}
|
||||
this.mergedArray.push(object)
|
||||
console.log('List of draff', resd)
|
||||
@@ -155,7 +158,7 @@ export class DespachoPage implements OnInit {
|
||||
"DeadlineType": res.workflowInstanceDataFields.DeadlineType,
|
||||
"activityInstanceName": res.activityInstanceName,
|
||||
"Status": res.workflowInstanceDataFields.Status,
|
||||
"Deadline": res.deadline
|
||||
"Deadline": res.deadline,
|
||||
}
|
||||
|
||||
// this.updateProcessOnDB(res);
|
||||
@@ -165,7 +168,7 @@ export class DespachoPage implements OnInit {
|
||||
|
||||
const mergedArray1 = [];
|
||||
const mergedArray2 = [];
|
||||
|
||||
|
||||
|
||||
// Merge array1 with tag
|
||||
this.fulltask.Documents.forEach(element => {
|
||||
@@ -179,11 +182,14 @@ export class DespachoPage implements OnInit {
|
||||
"Sender": element.Sender,
|
||||
"SourceDocId": element.SourceDocId,
|
||||
"content": "",
|
||||
"path": "",
|
||||
"ownerId": "",
|
||||
"status": "",
|
||||
}
|
||||
this.mergedArray.push(docObject);
|
||||
});
|
||||
|
||||
console.log('All',this.mergedArray)
|
||||
console.log('All', this.mergedArray)
|
||||
|
||||
let thedate = new Date(this.task.CreateDate);
|
||||
this.customDate = this.days[thedate.getDay()] + ", " + thedate.getDate() + " de " + (this.months[thedate.getMonth()]);
|
||||
@@ -235,7 +241,7 @@ export class DespachoPage implements OnInit {
|
||||
|
||||
async viewDocument(docId: string, Document, content) {
|
||||
|
||||
if(Document.content == "") {
|
||||
if (Document.content == "") {
|
||||
const modal = await this.modalController.create({
|
||||
component: ViewDocumentPage,
|
||||
componentProps: {
|
||||
@@ -266,7 +272,7 @@ export class DespachoPage implements OnInit {
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ export class LoginPage implements OnInit {
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
let attempt = await this.authService.login(this.userattempt, {saveSession: false})
|
||||
await this.authService.loginContenteProduction(this.userattempt, {saveSession: false})
|
||||
await this.authService.loginContenteProduction(this.userattempt, {saveSession: true})
|
||||
|
||||
|
||||
loader.remove()
|
||||
|
||||
Reference in New Issue
Block a user