mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -38,17 +38,17 @@
|
|||||||
|
|
||||||
<mat-form-field class="width-100 d-none d-md-block" placeholder="Sample Type" required>
|
<mat-form-field class="width-100 d-none d-md-block" placeholder="Sample Type" required>
|
||||||
<mat-select matInput [(value)]="postData.Priority" >
|
<mat-select matInput [(value)]="postData.Priority" >
|
||||||
<mat-option value="Reunião">
|
<mat-option value="99999861">
|
||||||
Reunião
|
Normal
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option value="Viagem">
|
<mat-option value="99999862">
|
||||||
Viagem
|
Urgente
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option value="Conferência">
|
<mat-option value="99999863">
|
||||||
Conferência
|
Muito Urgente
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option value="Encontro">
|
<mat-option value="99999864">
|
||||||
Encontro
|
Urgentíssimo
|
||||||
</mat-option>
|
</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
@@ -64,9 +64,11 @@
|
|||||||
<div class="ion-input-class">
|
<div class="ion-input-class">
|
||||||
|
|
||||||
<mat-form-field appearance="fill" class="width-100">
|
<mat-form-field appearance="fill" class="width-100">
|
||||||
<mat-label>Toppings</mat-label>
|
<mat-select [formControl]="toppings">
|
||||||
<mat-select [formControl]="toppings" multiple>
|
<mat-option [value]="99999861">Normal</mat-option>
|
||||||
<mat-option *ngFor="let topping of toppingList" [value]="topping">{{topping}}</mat-option>
|
<mat-option [value]="99999862">Urgente</mat-option>
|
||||||
|
<mat-option [value]="99999863">Muito Urgente</mat-option>
|
||||||
|
<mat-option [value]="99999864">Urgentíssimo</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@
|
|||||||
|
|
||||||
</ion-list>
|
</ion-list>
|
||||||
</div>
|
</div>
|
||||||
<button (click)="sendMsg()">Send message</button>
|
<button (click)="sendMsg()" style="height: 41px;">Send message</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Aside right -->
|
<!-- Aside right -->
|
||||||
|
|||||||
+6
-17
@@ -42,21 +42,12 @@
|
|||||||
<ion-select-option value="99999864"><b>Urgentíssimo</b> (8 horas para a execução da tarefa)</ion-select-option>
|
<ion-select-option value="99999864"><b>Urgentíssimo</b> (8 horas para a execução da tarefa)</ion-select-option>
|
||||||
</ion-select>
|
</ion-select>
|
||||||
|
|
||||||
<mat-form-field class="width-100 d-none d-md-block" placeholder="Sample Type" required>
|
<mat-form-field appearance="fill" class="width-100 d-none d-md-block">
|
||||||
<!-- <input matInput type="text" > -->
|
<mat-select [(value)]="postData.Priority">
|
||||||
<mat-select >
|
<mat-option [value]="99999861"><b>Normal</b> (4 dias para a execução da tarefa)</mat-option>
|
||||||
<mat-option value="Reunião">
|
<mat-option [value]="99999862"><b>Urgente</b> (2 dias para a execução da tarefa)</mat-option>
|
||||||
Reunião
|
<mat-option [value]="99999863"><b>Muito Urgente</b> (1 dia para a execução da tarefa)</mat-option>
|
||||||
</mat-option>
|
<mat-option [value]="99999864"><b>Urgentíssimo</b> (8 horas para a execução da tarefa)</mat-option>
|
||||||
<mat-option value="Viagem">
|
|
||||||
Viagem
|
|
||||||
</mat-option>
|
|
||||||
<mat-option value="Conferência">
|
|
||||||
Conferência
|
|
||||||
</mat-option>
|
|
||||||
<mat-option value="Encontro">
|
|
||||||
Encontro
|
|
||||||
</mat-option>
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
@@ -71,7 +62,6 @@
|
|||||||
<div class="ion-input-class">
|
<div class="ion-input-class">
|
||||||
<ion-item
|
<ion-item
|
||||||
class="ion-no-border ion-no-padding ion-no-margin d-md-none">
|
class="ion-no-border ion-no-padding ion-no-margin d-md-none">
|
||||||
<ion-label>Tipo de assunto</ion-label>
|
|
||||||
<ion-select
|
<ion-select
|
||||||
[(ngModel)]="selectedTypes"
|
[(ngModel)]="selectedTypes"
|
||||||
(ngModelChange)="onSelectedTypesChanged($event)"
|
(ngModelChange)="onSelectedTypesChanged($event)"
|
||||||
@@ -83,7 +73,6 @@
|
|||||||
<mat-form-field
|
<mat-form-field
|
||||||
appearance="fill"
|
appearance="fill"
|
||||||
class="width-100 d-none d-md-block">
|
class="width-100 d-none d-md-block">
|
||||||
<mat-label>Toppings</mat-label>
|
|
||||||
<mat-select [formControl]="toppings" multiple>
|
<mat-select [formControl]="toppings" multiple>
|
||||||
<mat-option *ngFor="let type of subjectTypes" [value]="type.Code">{{type.Description}}</mat-option>
|
<mat-option *ngFor="let type of subjectTypes" [value]="type.Code">{{type.Description}}</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@@ -68,6 +68,8 @@ export class NewEventPage implements OnInit {
|
|||||||
public stepSecond = 5;
|
public stepSecond = 5;
|
||||||
public color: ThemePalette = 'primary';
|
public color: ThemePalette = 'primary';
|
||||||
|
|
||||||
|
james: any
|
||||||
|
|
||||||
@Input() profile:string;
|
@Input() profile:string;
|
||||||
@Input() selectedSegment: string;
|
@Input() selectedSegment: string;
|
||||||
@Input() selectedDate: Date;
|
@Input() selectedDate: Date;
|
||||||
|
|||||||
@@ -68,26 +68,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- <div class="container-div width-100">
|
|
||||||
<div class="ion-item-class-2">
|
|
||||||
<div class="ion-icon-class">
|
|
||||||
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
||||||
</div>
|
|
||||||
<div class="ion-input-class">
|
|
||||||
<ion-select placeholder="Selecione tipo"
|
|
||||||
[(ngModel)]="postEvent.Categories[0]"
|
|
||||||
selectedText="{{postEvent.Categories[0]}}"
|
|
||||||
interface="action-sheet"
|
|
||||||
Cancel-text="Cancelar" required>
|
|
||||||
<ion-select-option value="Reunião">Reunião</ion-select-option>
|
|
||||||
<ion-select-option value="Viagem">Viagem</ion-select-option>
|
|
||||||
<ion-select-option value="Conferência">Conferência</ion-select-option>
|
|
||||||
<ion-select-option value="Encontro">Encontro</ion-select-option>
|
|
||||||
</ion-select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<div class="container-div width-100">
|
<div class="container-div width-100">
|
||||||
<div class="ion-item-class-2 width-100">
|
<div class="ion-item-class-2 width-100">
|
||||||
<div class="ion-icon-class">
|
<div class="ion-icon-class">
|
||||||
@@ -173,7 +153,9 @@
|
|||||||
<ion-icon slot="start" src="assets/images/icons-refresh.svg"></ion-icon>
|
<ion-icon slot="start" src="assets/images/icons-refresh.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="ion-input-class">
|
<div class="ion-input-class">
|
||||||
<ion-select placeholder="Selecione repetição"
|
<ion-select
|
||||||
|
placeholder="Selecione repetição"
|
||||||
|
class="d-block d-md-none"
|
||||||
[(ngModel)]="eventProcess.workflowInstanceDataFields.IsRecurring"
|
[(ngModel)]="eventProcess.workflowInstanceDataFields.IsRecurring"
|
||||||
selectedText="{{isRecurring}}"
|
selectedText="{{isRecurring}}"
|
||||||
interface="action-sheet"
|
interface="action-sheet"
|
||||||
@@ -181,6 +163,24 @@
|
|||||||
<ion-select-option value="false">Não se repete</ion-select-option>
|
<ion-select-option value="false">Não se repete</ion-select-option>
|
||||||
<ion-select-option value="true">Repete</ion-select-option>
|
<ion-select-option value="true">Repete</ion-select-option>
|
||||||
</ion-select>
|
</ion-select>
|
||||||
|
|
||||||
|
<mat-form-field
|
||||||
|
class="width-100 d-none d-md-block"
|
||||||
|
placeholder="Selecione repetição"
|
||||||
|
value="false"
|
||||||
|
interface="action-sheet"
|
||||||
|
required
|
||||||
|
>
|
||||||
|
<mat-select [(value)]="eventProcess.workflowInstanceDataFields.IsRecurring">
|
||||||
|
<mat-option value="false">
|
||||||
|
Não se repete
|
||||||
|
</mat-option>
|
||||||
|
<mat-option value="true">
|
||||||
|
Repete
|
||||||
|
</mat-option>
|
||||||
|
</mat-select>
|
||||||
|
</mat-form-field>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -259,7 +259,6 @@
|
|||||||
</ion-list>
|
</ion-list>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="container-div d-flex width-100">
|
<div class="container-div d-flex width-100">
|
||||||
<div class="ion-item-class-2 d-flex width-100">
|
<div class="ion-item-class-2 d-flex width-100">
|
||||||
<div class="ion-icon-class">
|
<div class="ion-icon-class">
|
||||||
@@ -272,9 +271,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ion-item-sliding>
|
</ion-item-sliding>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -12,11 +12,29 @@ import { EventsService } from 'src/app/services/events.service';
|
|||||||
import { ProcessesService } from 'src/app/services/processes.service';
|
import { ProcessesService } from 'src/app/services/processes.service';
|
||||||
import { ToastService } from 'src/app/services/toast.service';
|
import { ToastService } from 'src/app/services/toast.service';
|
||||||
import { Event } from '../../../models/event.model';
|
import { Event } from '../../../models/event.model';
|
||||||
|
import { NgxMatDateFormats, NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-picker';
|
||||||
|
|
||||||
|
|
||||||
|
const CUSTOM_DATE_FORMATS: NgxMatDateFormats = {
|
||||||
|
parse: {
|
||||||
|
dateInput: "YYYY-MMMM-DD HH:mm"
|
||||||
|
},
|
||||||
|
display: {
|
||||||
|
dateInput: "DD MMM YYYY H:mm",
|
||||||
|
monthYearLabel: "MMM YYYY",
|
||||||
|
dateA11yLabel: "LL",
|
||||||
|
monthYearA11yLabel: "MMMM YYYY"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-edit-event',
|
selector: 'app-edit-event',
|
||||||
templateUrl: './edit-event.page.html',
|
templateUrl: './edit-event.page.html',
|
||||||
styleUrls: ['./edit-event.page.scss'],
|
styleUrls: ['./edit-event.page.scss'],
|
||||||
|
providers: [
|
||||||
|
{ provide: NGX_MAT_DATE_FORMATS, useValue: CUSTOM_DATE_FORMATS },
|
||||||
|
]
|
||||||
})
|
})
|
||||||
export class EditEventToApproveComponent implements OnInit {
|
export class EditEventToApproveComponent implements OnInit {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user