From 36c12ae95aae07b7489a643081a8158f9ec16570 Mon Sep 17 00:00:00 2001 From: "tiago.kayaya" Date: Wed, 7 Jul 2021 11:10:06 +0100 Subject: [PATCH 1/8] save --- .../create-process/create-process.page.html | 19 +++++++++++++------ .../agenda/edit-event/edit-event.page.html | 13 ++++++++----- .../expedient-task-modal.page.html | 2 +- src/global.scss | 2 +- 4 files changed, 23 insertions(+), 13 deletions(-) diff --git a/src/app/modals/create-process/create-process.page.html b/src/app/modals/create-process/create-process.page.html index 1b7e61a2d..233f7568d 100644 --- a/src/app/modals/create-process/create-process.page.html +++ b/src/app/modals/create-process/create-process.page.html @@ -29,19 +29,26 @@
- + Normal (4 dias para a execução da tarefa) Urgente (2 dias para a execução da tarefa) Muito Urgente (1 dia para a execução da tarefa) Urgentíssimo (8 horas para a execução da tarefa) - + - Normal - Urgente - Muito Urgente - Urgentíssimo + Normal (4 dias para a execução da tarefa) + Urgente (2 dias para a execução da tarefa) + Muito Urgente (1 dia para a execução da tarefa) + Urgentíssimo (8 horas para a execução da tarefa) diff --git a/src/app/pages/agenda/edit-event/edit-event.page.html b/src/app/pages/agenda/edit-event/edit-event.page.html index 7f978618c..7e4e6e787 100644 --- a/src/app/pages/agenda/edit-event/edit-event.page.html +++ b/src/app/pages/agenda/edit-event/edit-event.page.html @@ -241,15 +241,18 @@

{{document.SourceName}} - Correspondencia - AccoesPresidenciais - ArquivoDespachoElect -

-

{{document.Stakeholders}} {{document.CreateDate | date: 'dd-MM-yy'}}

+

+

{{document.Stakeholders}}

+

+ Correspondencia + AccoesPresidenciais + ArquivoDespachoElect + + {{document.CreateDate | date: 'dd-MM-yy'}}

diff --git a/src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.html b/src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.html index 35d8b3c39..b33c3e8a5 100644 --- a/src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.html +++ b/src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.html @@ -65,7 +65,7 @@ Urgentíssimo (8 horas para a execução da tarefa)
- + Normal (4 dias para a execução da tarefa) Urgente (2 dias para a execução da tarefa) diff --git a/src/global.scss b/src/global.scss index f63fca173..ee039bdf7 100644 --- a/src/global.scss +++ b/src/global.scss @@ -288,7 +288,7 @@ td.monthview-secondary-with-event, td.monthview-secondary-with-event[_ngcontent- display: none; } .attach-title-item{ - width: 200px !important; + width: 300px !important; border: 1px solid red; } } From 474c6f1d5f52a06bd04ae05e8873a4c4a8444939 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Wed, 7 Jul 2021 11:13:31 +0100 Subject: [PATCH 2/8] Remove build errors --- .../agenda/edit-event/edit-event.page.ts | 4 +- .../edit-action/edit-action.module.ts | 31 ++++++++++- .../edit-action/edit-action.page.html | 46 +++++++++++++++-- .../edit-action/edit-action.page.ts | 51 +++++++++++++++++-- .../new-action/new-action.page.html | 4 +- .../publication/new-action/new-action.page.ts | 15 +++++- 6 files changed, 135 insertions(+), 16 deletions(-) diff --git a/src/app/shared/agenda/edit-event/edit-event.page.ts b/src/app/shared/agenda/edit-event/edit-event.page.ts index c917fd3ff..40972b507 100644 --- a/src/app/shared/agenda/edit-event/edit-event.page.ts +++ b/src/app/shared/agenda/edit-event/edit-event.page.ts @@ -193,7 +193,6 @@ export class EditEventPage implements OnInit { this.runValidation() if(this.Form.invalid) { - alert('error') return false } @@ -202,7 +201,7 @@ export class EditEventPage implements OnInit { this.showLoader = true await this.eventsService.editEvent(this.postEvent, 2, 3).subscribe(async () => { - if(this.initCalendarName != this.postEvent.CalendarName){ + if(this.initCalendarName != this.postEvent.CalendarName) { let body = { "EventId": this.postEvent.EventId, "CalendarDestinationName": this.postEvent.CalendarName, @@ -258,7 +257,6 @@ export class EditEventPage implements OnInit { this.dateControlStart = new FormControl(moment(this.postEvent.StartDate)); this.dateControlEnd = new FormControl(moment(this.postEvent.EndDate)); } - } saveTemporaryData() { diff --git a/src/app/shared/publication/edit-action/edit-action.module.ts b/src/app/shared/publication/edit-action/edit-action.module.ts index 87961f035..085695a63 100644 --- a/src/app/shared/publication/edit-action/edit-action.module.ts +++ b/src/app/shared/publication/edit-action/edit-action.module.ts @@ -8,12 +8,41 @@ import { EditActionPageRoutingModule } from './edit-action-routing.module'; import { EditActionPage } from './edit-action.page'; + +import { MatNativeDateModule } from '@angular/material/core'; +import { + NgxMatDatetimePickerModule, + NgxMatNativeDateModule, + NgxMatTimepickerModule +} from '@angular-material-components/datetime-picker'; +import { ReactiveFormsModule } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatSelectModule } from '@angular/material/select'; +import { NgxMatMomentModule } from '@angular-material-components/moment-adapter'; +import { MAT_DATE_LOCALE } from '@angular/material/core'; +import { MatDatepickerModule } from '@angular/material/datepicker'; +import { MatInputModule } from '@angular/material/input'; +import { MatDialogModule } from '@angular/material/dialog'; +import { MatMenuModule } from '@angular/material/menu'; + @NgModule({ imports: [ CommonModule, FormsModule, IonicModule, - EditActionPageRoutingModule + EditActionPageRoutingModule, + // Angular material + MatDatepickerModule, + MatInputModule, + MatNativeDateModule, + NgxMatDatetimePickerModule, + NgxMatTimepickerModule, + NgxMatNativeDateModule, + NgxMatMomentModule, + MatSelectModule, + MatButtonModule, + ReactiveFormsModule, + MatDialogModule, ], exports: [EditActionPage], declarations: [EditActionPage] diff --git a/src/app/shared/publication/edit-action/edit-action.page.html b/src/app/shared/publication/edit-action/edit-action.page.html index ecf256aaa..747d001a2 100644 --- a/src/app/shared/publication/edit-action/edit-action.page.html +++ b/src/app/shared/publication/edit-action/edit-action.page.html @@ -1,7 +1,7 @@
- Editar acção presidencial + 123 Editar acção presidencial