mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix bug
This commit is contained in:
+4
-7
@@ -95,7 +95,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
SouceType: 'DOC', //FOLDER
|
||||
SourceId: this.task.workflowInstanceDataFields.DocId, //FolderId
|
||||
DeadlineType: '',
|
||||
SubjectTypes: new Array(),
|
||||
SubjectTypes: ['99999844'],
|
||||
|
||||
};
|
||||
|
||||
@@ -103,8 +103,6 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
this.postData.UsersSelected = this.participants;
|
||||
/* By Default TypeDeadline should be 'Normal' */
|
||||
this.postData.Priority = '99999861';
|
||||
/* By Default TypeDeadline should be 'Economia' */
|
||||
this.postData.SubjectTypes = [99999844];
|
||||
/* Initialize 'Subject' with the title of the expedient */
|
||||
this.postData.DispatchFolder.Subject = this.task.workflowInstanceDataFields.Subject;
|
||||
this.profile = this.navParams.get('profile');
|
||||
@@ -182,7 +180,9 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
}
|
||||
});
|
||||
|
||||
docs.Attachments = DocumentToSave
|
||||
this.dispatchFolder.SubjectTypes = this.selectedTypes;
|
||||
|
||||
docs.Attachments = DocumentToSave;
|
||||
|
||||
if(this.taskParticipants.length > 0) {
|
||||
switch (this.taskType) {
|
||||
@@ -192,7 +192,6 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
CountryCode: 'AO',
|
||||
Priority: this.postData.Priority,
|
||||
UserEmail: this.user,
|
||||
SubjectTypes: this.postData.SubjectTypes ,
|
||||
UsersSelected: attendees,
|
||||
DispatchFolder: this.dispatchFolder,
|
||||
AttachmentList: docs,
|
||||
@@ -220,7 +219,6 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
CountryCode: 'AO',
|
||||
Priority: this.postData.Priority,
|
||||
UserEmail: this.user,
|
||||
SubjectTypes: this.postData.SubjectTypes ,
|
||||
UsersSelected: attendees,
|
||||
DispatchFolder: this.dispatchFolder,
|
||||
AttachmentList: docs
|
||||
@@ -245,7 +243,6 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
CountryCode: 'AO',
|
||||
Priority: this.postData.Priority,
|
||||
UserEmail: this.user,
|
||||
SubjectTypes: this.postData.SubjectTypes , //this.selectedTypes
|
||||
UsersSelected: attendees,
|
||||
DispatchFolder: this.dispatchFolder,
|
||||
AttachmentList: docs
|
||||
|
||||
Reference in New Issue
Block a user