bugs fix and more

This commit is contained in:
Eudes Inácio
2023-11-01 14:08:02 +01:00
parent c45f302fda
commit 422fa606f7
3 changed files with 6 additions and 6 deletions
@@ -125,7 +125,7 @@ export class CreateProcessPage implements OnInit {
this.postData = new Despacho();
this.participants = this.participants = new Array();
//Initialize SubjectTypes Array with the value "Indefinido"
this.selectedTypes = ['99999850'];
/* this.selectedTypes = ['99999850']; */
let NumberPDPP;
@@ -179,9 +179,9 @@ export class CreateProcessPage implements OnInit {
ngOnInit() {
console.log('crete process')
this.getSubjectType();
setTimeout(() => {
/* setTimeout(() => {
this.selectedTypes = ['99999850'];
}, 500);
}, 500); */
this.taskDate = new Date(this.task.taskStartDate);
@@ -112,7 +112,7 @@
appearance="fill"
class="width-100 d-block"
appearance="none">
<mat-select [multiple]="false" [(ngModel)]="selectedTypes" multiple placeholder="Selecione o tipo de assunto*">
<mat-select [multiple]="false" [(ngModel)]="selectedTypes" placeholder="Selecione o tipo de assunto*">
<mat-option *ngFor="let type of subjectTypes" value="{{type.Code}}">{{type.Description}}</mat-option>
</mat-select>
</mat-form-field>
@@ -69,7 +69,7 @@ export class ExpedientTaskModalPage implements OnInit {
loadedAttachments:any;
documents:SearchList[] = [];
subjectTypes:any[] = [];
subjectTypes:any;
selectedTypes: string[]=[];
SearchFolder: any = []
@@ -157,7 +157,7 @@ export class ExpedientTaskModalPage implements OnInit {
console.log('this.document', this.document)
this.selectedTypes = ['99999850'];
/* this.selectedTypes = ['99999850']; */
this.postData = new Despacho();
this.participants = this.participants = new Array();