This commit is contained in:
Peter Maquiran
2021-08-17 11:15:49 +01:00
parent 926d4f4a38
commit d323428de4
9 changed files with 163 additions and 143 deletions
@@ -117,13 +117,27 @@ export class CreateProcessPage implements OnInit {
}
}
let SourceId;
let SourceType;
let SourceSecFsId;
if(this.task.workflowInstanceDataFields.FolderID) {
SourceId = this.task.workflowInstanceDataFields.FolderID
SourceType = 'FOLDER'
SourceSecFsId = 361
} else {
SourceId = this.task.workflowInstanceDataFields.SourceID
SourceType = 'DOC'
SourceSecFsId = 8
}
this.dispatchFolder = {
Nad: 30,
Subject: '',
Message: '',
SourceSecFsId: this.task.workflowInstanceDataFields.SourceSecFsID, //361
SourceType: 'DOC', //FOLDER
SourceId: this.task.workflowInstanceDataFields.SourceID, //FolderId
SourceSecFsId: SourceSecFsId, //361
SourceType: SourceType, //FOLDER
SourceId: SourceId,
DeadlineType: '',
SubjectTypes: this.selectedTypes,
NumberPDPP: this.task.workflowInstanceDataFields.DispatchNumber || NumberPDPP