mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
Fix
This commit is contained in:
@@ -109,6 +109,14 @@ export class CreateProcessPage implements OnInit {
|
|||||||
//Initialize SubjectTypes Array with the value "Indefinido"
|
//Initialize SubjectTypes Array with the value "Indefinido"
|
||||||
this.selectedTypes = ['99999850'];
|
this.selectedTypes = ['99999850'];
|
||||||
|
|
||||||
|
let NumberPDPP;
|
||||||
|
|
||||||
|
if(this.fulltask) {
|
||||||
|
if(this.fulltask.workflowInstanceDataFields) {
|
||||||
|
NumberPDPP = this.fulltask.workflowInstanceDataFields.DispatchNumber
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.dispatchFolder = {
|
this.dispatchFolder = {
|
||||||
Nad: 30,
|
Nad: 30,
|
||||||
Subject: '',
|
Subject: '',
|
||||||
@@ -118,7 +126,7 @@ export class CreateProcessPage implements OnInit {
|
|||||||
SourceId: this.task.workflowInstanceDataFields.SourceID, //FolderId
|
SourceId: this.task.workflowInstanceDataFields.SourceID, //FolderId
|
||||||
DeadlineType: '',
|
DeadlineType: '',
|
||||||
SubjectTypes: this.selectedTypes,
|
SubjectTypes: this.selectedTypes,
|
||||||
NumberPDPP: this.task.workflowInstanceDataFields.DispatchNumber || this.fulltask.workflowInstanceDataFields.DispatchNumber,
|
NumberPDPP: this.task.workflowInstanceDataFields.DispatchNumber || NumberPDPP
|
||||||
};
|
};
|
||||||
|
|
||||||
this.postData.DispatchFolder = this.dispatchFolder;
|
this.postData.DispatchFolder = this.dispatchFolder;
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ export class SearchDocumentPipe implements PipeTransform {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
transformToAttachment(document: SearchDocument): Attachments[] {
|
transformToAttachment(document: SearchDocument): Attachments[] {
|
||||||
const attachments = []
|
const attachments = []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user