mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
lot of changes
This commit is contained in:
@@ -170,6 +170,7 @@
|
||||
<app-attendee-modal
|
||||
*ngIf="showAttendees"
|
||||
[footer]="false"
|
||||
[taskType]="taskType"
|
||||
class="d-flex flex-column height-100"
|
||||
[adding]="adding"
|
||||
[taskParticipants]="taskParticipants"
|
||||
@@ -186,9 +187,10 @@
|
||||
</ion-content>
|
||||
<ion-footer>
|
||||
<div class="buttons">
|
||||
<button class="btn-cancel" shape="round" (click)="cancelTask()">Cancelar</button>
|
||||
<button *ngIf="taskType == '0'" class="btn-ok" shape="round" (click)="saveTask()">Concluir</button>
|
||||
<button *ngIf="taskType == '1'" class="btn-ok" shape="round" (click)="saveTask()">Solicitar</button>
|
||||
<button *ngIf="taskType == '2'" class="btn-ok" shape="round" (click)="saveTask()">Solicitar</button>
|
||||
<button class="btn-cancel" shape="round" (click)="cancelTask()">Cancelar</button>
|
||||
|
||||
</div>
|
||||
</ion-footer>
|
||||
|
||||
@@ -120,6 +120,7 @@ export class CreateProcessPage implements OnInit {
|
||||
|
||||
|
||||
this.taskType = this.navParams.get('taskAction');
|
||||
console.log('this.taskType ',this.taskType )
|
||||
|
||||
this.postData = new Despacho();
|
||||
this.participants = this.participants = new Array();
|
||||
@@ -598,7 +599,8 @@ export class CreateProcessPage implements OnInit {
|
||||
componentProps: {
|
||||
adding: this.adding,
|
||||
taskParticipants: this.taskParticipants,
|
||||
taskParticipantsCc: this.taskParticipantsCc
|
||||
taskParticipantsCc: this.taskParticipantsCc,
|
||||
taskType: this.taskType
|
||||
},
|
||||
cssClass: 'modal attendee modal-desktop',
|
||||
backdropDismiss: false
|
||||
|
||||
Reference in New Issue
Block a user