mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Improve
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user