mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
+5
-9
@@ -12,13 +12,9 @@
|
||||
</div>
|
||||
</ion-content>
|
||||
<ion-footer>
|
||||
<ion-toolbar class="width-100 d-flex justify-space-between px-20">
|
||||
<ion-buttons slot="start">
|
||||
<button class="btn-delete" shape="round" (click)="save()">Sim</button>
|
||||
</ion-buttons>
|
||||
<ion-title></ion-title>
|
||||
<ion-buttons slot="end">
|
||||
<button class="btn-ok" shape="round" (click)="close()">Não</button>
|
||||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
<div class="buttons width-100">
|
||||
<button class="btn-ok-medium" shape="round" (click)="close()">Não</button>
|
||||
<button class="btn-delete-medium" shape="round" (click)="save()">Sim</button>
|
||||
</div>
|
||||
|
||||
</ion-footer>
|
||||
|
||||
+3
-19
@@ -20,23 +20,7 @@ ion-content{
|
||||
}
|
||||
|
||||
.buttons{
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 5px 0 5px 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 15px 0 15px 0;
|
||||
}
|
||||
|
||||
.button-reject {
|
||||
width: 130px;
|
||||
height: 44px;
|
||||
--color: #d30a0a;
|
||||
border-radius: 22.5px;
|
||||
--background: #ffe0e0;
|
||||
margin: 0 12px 0 0px;
|
||||
}
|
||||
.button-approve {
|
||||
width: 130px;
|
||||
height: 44px;
|
||||
border-radius: 22.5px;
|
||||
--background: #42b9fe;
|
||||
margin: 0 0px 0 12px;
|
||||
}
|
||||
+18
-2
@@ -1,5 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Router } from '@angular/router';
|
||||
import { ActivatedRoute, NavigationExtras, Router } from '@angular/router';
|
||||
import { AnimationController, ModalController, NavParams } from '@ionic/angular';
|
||||
import { AddParticipantsCcModalPage } from '../add-participants-cc-modal/add-participants-cc-modal.page';
|
||||
import { AddParticipantsModalPage } from '../add-participants-modal/add-participants-modal.page';
|
||||
@@ -57,6 +57,7 @@ export class BookMeetingModalPage implements OnInit {
|
||||
authService: AuthService,
|
||||
private animationController: AnimationController,
|
||||
private toastService: ToastService,
|
||||
private activatedRoute: ActivatedRoute,
|
||||
) {
|
||||
this.taskParticipants = [];
|
||||
this.loggeduser = authService.ValidatedUser;
|
||||
@@ -98,6 +99,19 @@ export class BookMeetingModalPage implements OnInit {
|
||||
cancelTask(){
|
||||
this.modalController.dismiss(null);
|
||||
}
|
||||
goBack() {
|
||||
this.modalController.dismiss(null);
|
||||
let navigationExtras: NavigationExtras = {
|
||||
queryParams: {
|
||||
"expedientes": true,
|
||||
}
|
||||
}
|
||||
if( window.innerWidth < 801) {
|
||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||
} else {
|
||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
||||
}
|
||||
}
|
||||
async saveTask(){
|
||||
|
||||
// issue12323423
|
||||
@@ -141,8 +155,10 @@ export class BookMeetingModalPage implements OnInit {
|
||||
break;
|
||||
}
|
||||
|
||||
this.modalController.dismiss();
|
||||
this.distartExpedientModal();
|
||||
this.toastService.successMessage('Reunião criada')
|
||||
this.toastService.successMessage('Reunião criada');
|
||||
|
||||
} catch (error) {
|
||||
this.toastService.badRequest('Reunião não criada')
|
||||
}
|
||||
|
||||
@@ -60,6 +60,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
}
|
||||
|
||||
async openBookMeetingModal() {
|
||||
this.close();
|
||||
let classs;
|
||||
if( window.innerWidth <= 800){
|
||||
classs = 'book-meeting-modal modal modal-desktop'
|
||||
@@ -77,6 +78,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
}
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
//this.modalController.dismiss();
|
||||
let classs;
|
||||
|
||||
@@ -467,18 +467,19 @@ $app-theme: mat-light-theme((
|
||||
overflow: auto;
|
||||
--background: #fff;
|
||||
}
|
||||
.btn-ok{
|
||||
width: 170px !important;
|
||||
|
||||
.btn-ok-no-width{
|
||||
height: 45px !important;
|
||||
margin: 0 auto !important;
|
||||
margin: 0 auto;
|
||||
padding:0 !important;
|
||||
border-radius: 22.5px;
|
||||
background-color: #42b9fe;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
.btn-ok-no-width{
|
||||
.btn-ok{
|
||||
width: 170px !important;
|
||||
height: 45px !important;
|
||||
margin: 0 auto;
|
||||
margin: 0 auto !important;
|
||||
padding:0 !important;
|
||||
border-radius: 22.5px;
|
||||
background-color: #42b9fe;
|
||||
@@ -504,6 +505,35 @@ $app-theme: mat-light-theme((
|
||||
color: #061b52 !important;
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
.btn-ok-medium{
|
||||
width: 130px !important;
|
||||
height: 45px !important;
|
||||
margin: 0 auto !important;
|
||||
padding:0 !important;
|
||||
border-radius: 22.5px;
|
||||
background-color: #42b9fe;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
.btn-delete-medium{
|
||||
display: block;
|
||||
width: 130px !important;
|
||||
height: 45px !important;
|
||||
margin: 0 auto !important;
|
||||
padding:0 !important;
|
||||
border-radius: 22.5px;
|
||||
background-color: #ffe0e0;
|
||||
color: #d30a0a !important;
|
||||
}
|
||||
.btn-cancel-medium{
|
||||
display: block;
|
||||
width: 130px !important;
|
||||
height: 45px !important;
|
||||
padding:0 !important;
|
||||
border-radius: 22.5px;
|
||||
background-color: #e0e9ee;
|
||||
color: #061b52 !important;
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
.btn-no-color{
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user