mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Verb of the action changed
This commit is contained in:
@@ -252,6 +252,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div style="align-items: flex-start; display: flex; height: fit-content; margin-bottom: 15px">
|
||||
<ion-icon style="height: 30px; width: 30px; margin-right: 10px; padding-left: 5px;" slot="start" src="assets/images/icons-description.svg"></ion-icon>
|
||||
<ion-textarea class="textarea" autocomplete="on" autocorrect="on" spellcheck="true" [(ngModel)]="postEvent.Body.Text" placeholder="Detalhes" autoGrow="true" ></ion-textarea>
|
||||
</div> -->
|
||||
|
||||
<div class="container-div">
|
||||
<div class="ion-item-class-2">
|
||||
<div class="ion-icon-class">
|
||||
@@ -259,7 +264,7 @@
|
||||
</div>
|
||||
<div class="ion-input-class-no-height flex-grow-1">
|
||||
|
||||
<ion-textarea autocomplete="on" autocorrect="on" spellcheck="true" [(ngModel)]="postEvent.Body.Text" placeholder="Detalhes" ></ion-textarea>
|
||||
<ion-textarea class="textarea" autocomplete="on" autocorrect="on" spellcheck="true" [(ngModel)]="postEvent.Body.Text" placeholder="Detalhes" autoGrow="true" ></ion-textarea>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -90,6 +90,10 @@ ion-content{
|
||||
border-radius: 5px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.textarea{
|
||||
font-size: small;
|
||||
}
|
||||
.list-people{
|
||||
width: 250px;
|
||||
float: left;
|
||||
|
||||
@@ -437,6 +437,7 @@ export class DespachoPrPage implements OnInit {
|
||||
component: AddNotePage,
|
||||
componentProps: {
|
||||
showAttachmentBtn: true,
|
||||
actionName: actionName
|
||||
},
|
||||
cssClass: classs,
|
||||
backdropDismiss: true
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
<div *ngIf="task" class="aside-right flex-column height-100 overflow-y-auto">
|
||||
<div class="buttons" *ngIf="task.activityInstanceName == 'Tarefa de Despacho'">
|
||||
<div class="option-desc" *ngIf="task.WorkflowName == 'Despacho do Presidente da República' "> <div>Responder ao PR</div> </div>
|
||||
<button (click)="openAddNoteModal('Executado')" class="btn-cancel" shape="round" >Executado</button>
|
||||
<button (click)="tstemethod(executadoText)" class="btn-cancel" shape="round" >Executado</button>
|
||||
<div class="option-desc" *ngIf="task.WorkflowName == 'Despacho do Presidente da República' ">Reencaminhar para Área Jurídica</div>
|
||||
<button (click)="openAddNoteModal('Gerar Diploma')" *ngIf="task.WorkflowName == 'Despacho do Presidente da República'" class="btn-cancel" style="margin-bottom: 0px !important;" shape="round" >Gerar Diploma </button>
|
||||
<div class="option-desc" *ngIf="task.WorkflowName == 'Despacho do Presidente da República' " >Outras opções</div>
|
||||
@@ -140,7 +140,7 @@
|
||||
<button (click)="sendExpedienteToPending()" *ngIf="task.Status != 'Pending'" class="btn-cancel" shape="round" >Enviar para Pendentes</button>
|
||||
</div>
|
||||
<div class="buttons" *ngIf="task.activityInstanceName == 'Reexecutar Despacho'">
|
||||
<button (click)="openAddNoteModal('Executado')" class="btn-cancel" shape="round" >Executado</button>
|
||||
<button (click)="tstemethod('Executado')" class="btn-cancel" shape="round" >Executado</button>
|
||||
<button (click)="openDelegarModal(task)" class="btn-cancel" shape="round" >Delegar</button>
|
||||
<div class="solid"></div>
|
||||
<button (click)="openExpedientActionsModal('0',fulltask)" class="btn-cancel" shape="round" >Efetuar Despacho</button>
|
||||
|
||||
@@ -47,6 +47,9 @@ export class DespachoPage implements OnInit {
|
||||
profile: string;
|
||||
intervenientes: any = []
|
||||
cc: any = [];
|
||||
executadoText: string = "Executado";
|
||||
gerarText: string = "Gerar"
|
||||
|
||||
|
||||
constructor(private activateRoute: ActivatedRoute,
|
||||
private processes: ProcessesService,
|
||||
@@ -394,7 +397,12 @@ export class DespachoPage implements OnInit {
|
||||
// loader.remove()
|
||||
}
|
||||
|
||||
tstemethod(value: string) {
|
||||
alert(value)
|
||||
}
|
||||
|
||||
async openAddNoteModal(actionName: string) {
|
||||
|
||||
let classs;
|
||||
if (window.innerWidth <= 800) {
|
||||
classs = 'modal modal-desktop'
|
||||
@@ -405,6 +413,7 @@ export class DespachoPage implements OnInit {
|
||||
component: AddNotePage,
|
||||
componentProps: {
|
||||
showAttachmentBtn: true,
|
||||
actionName: actionName
|
||||
},
|
||||
cssClass: classs,
|
||||
backdropDismiss: true
|
||||
|
||||
@@ -212,6 +212,7 @@ export class DiplomasGerarPage implements OnInit {
|
||||
component: AddNotePage,
|
||||
componentProps: {
|
||||
showAttachmentBtn: true,
|
||||
actionName:false
|
||||
},
|
||||
cssClass: classs,
|
||||
backdropDismiss: true
|
||||
|
||||
@@ -377,6 +377,7 @@ export class DiplomaPage implements OnInit {
|
||||
const modal = await this.modalController.create({
|
||||
component: AddNotePage,
|
||||
componentProps: {
|
||||
actionName:actionName
|
||||
},
|
||||
cssClass: classs,
|
||||
backdropDismiss: true
|
||||
|
||||
@@ -297,6 +297,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
component: AddNotePage,
|
||||
componentProps: {
|
||||
showAttachmentBtn: false,
|
||||
actionName:actionName
|
||||
},
|
||||
cssClass: classs,
|
||||
//backdropDismiss: true
|
||||
|
||||
@@ -366,6 +366,7 @@ export class ExpedientePrPage implements OnInit {
|
||||
component: AddNotePage,
|
||||
componentProps: {
|
||||
showAttachmentBtn: false,
|
||||
actionName:actionName
|
||||
},
|
||||
cssClass: classs,
|
||||
//backdropDismiss: true
|
||||
|
||||
@@ -663,6 +663,7 @@ export class PedidoPage implements OnInit {
|
||||
component: AddNotePage,
|
||||
componentProps: {
|
||||
showAttachmentBtn: true,
|
||||
actionName:actionName
|
||||
},
|
||||
cssClass: classs,
|
||||
backdropDismiss: true
|
||||
|
||||
Reference in New Issue
Block a user