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:
@@ -1,9 +1,9 @@
|
||||
<ion-content class="height-100">
|
||||
<div class="main-content d-flex height-100">
|
||||
<div class="content d-flex flex-column width-100">
|
||||
<ion-item lines="none">
|
||||
<ion-label class="title">{{modalTitle[taskType]}}</ion-label>
|
||||
</ion-item>
|
||||
<div class="title" lines="none">
|
||||
{{modalTitle[taskType]}}
|
||||
</div>
|
||||
<div class="ion-item-container width-100" [class.input-error]="Form?.get('Subject')?.invalid && validateFrom ">
|
||||
<ion-input placeholder="Assunto*" [(ngModel)]="postData.DispatchFolder.Subject"></ion-input>
|
||||
</div>
|
||||
|
||||
@@ -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