mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<ion-tab-button tab="agenda">
|
<ion-tab-button tab="agenda">
|
||||||
<!-- <ion-icon name="calendar"></ion-icon> -->
|
<!-- <ion-icon name="calendar"></ion-icon> -->
|
||||||
<ion-icon class="nav-icon" src="assets/images/icons-nav-calendar.svg"></ion-icon>
|
<ion-icon class="nav-icon" src="assets/images/icons-nav-calendar.svg"></ion-icon>
|
||||||
<ion-label>Agenda</ion-label>
|
<ion-label class="overflow-visible">Agenda</ion-label>
|
||||||
</ion-tab-button>
|
</ion-tab-button>
|
||||||
<ion-tab-button tab="gabinete-digital">
|
<ion-tab-button tab="gabinete-digital">
|
||||||
<!-- <ion-icon name="file-tray-stacked"></ion-icon> -->
|
<!-- <ion-icon name="file-tray-stacked"></ion-icon> -->
|
||||||
|
|||||||
+28
-28
@@ -1,4 +1,4 @@
|
|||||||
///<reference path="../../../plugins/cordova-plugin-mfp/typings/worklight.d.ts" />
|
//<reference path="../../../plugins/cordova-plugin-mfp/typings/worklight.d.ts" />
|
||||||
import { Component, OnInit, NgZone } from '@angular/core';
|
import { Component, OnInit, NgZone } from '@angular/core';
|
||||||
import { EventsService } from '../services/events.service';
|
import { EventsService } from '../services/events.service';
|
||||||
import { Event } from '../models/event.model';
|
import { Event } from '../models/event.model';
|
||||||
@@ -12,9 +12,9 @@ import { Router } from '@angular/router';
|
|||||||
import { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/ngx';
|
import { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/ngx';
|
||||||
import { ViewEventPage } from '../pages/agenda/view-event/view-event.page';
|
import { ViewEventPage } from '../pages/agenda/view-event/view-event.page';
|
||||||
import { ExpedienteDetailPage } from '../pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page';
|
import { ExpedienteDetailPage } from '../pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page';
|
||||||
import { PublicationDetailPage } from '../pages/publications/publication-detail/publication-detail.page';
|
|
||||||
import { ViewPublicationsPage } from '../pages/publications/view-publications/view-publications.page';
|
import { ViewPublicationsPage } from '../pages/publications/view-publications/view-publications.page';
|
||||||
import { ApproveEventModalPage } from '../pages/gabinete-digital/event-list/approve-event-modal/approve-event-modal.page';
|
import { ApproveEventModalPage } from '../pages/gabinete-digital/event-list/approve-event-modal/approve-event-modal.page';
|
||||||
|
import { PublicationDetailPage } from '../pages/publications/view-publications/publication-detail/publication-detail.page';
|
||||||
|
|
||||||
/* const { PushNotifications, LocalNotifications, LocalNotificationAction } = Plugins; */
|
/* const { PushNotifications, LocalNotifications, LocalNotificationAction } = Plugins; */
|
||||||
|
|
||||||
@@ -76,33 +76,33 @@ export class HomePage implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
||||||
this.pushCordova();
|
//Add a test
|
||||||
//Initialize profile as mdgpr
|
//this.pushCordova();
|
||||||
|
//Initialize profile as mdgpr
|
||||||
/* let date = new Date();
|
|
||||||
date.setMonth(date.getMonth() + 1);
|
let date = new Date();
|
||||||
let start = date.getFullYear()+"-"+ date.getMonth()+"-"+date.getDate()+" "+date.getHours()+":"+date.getMinutes()+ ":"+date.getSeconds();
|
date.setMonth(date.getMonth() + 1);
|
||||||
let end = date.getFullYear()+"-"+ date.getMonth()+"-"+date.getDate()+" 23:59:59";
|
let start = date.getFullYear()+"-"+ date.getMonth()+"-"+date.getDate()+" "+date.getHours()+":"+date.getMinutes()+ ":"+date.getSeconds();
|
||||||
|
let end = date.getFullYear()+"-"+ date.getMonth()+"-"+date.getDate()+" 23:59:59";
|
||||||
this.profile = "mdgpr";
|
|
||||||
if (this.profile == "mdgpr") {
|
this.profile = "mdgpr";
|
||||||
this.eventService.getAllMdEvents(start, end).subscribe(res => {
|
if (this.profile == "mdgpr") {
|
||||||
this.eventsList = res;
|
this.eventService.getAllMdEvents(start, end).subscribe(res => {
|
||||||
this.totalEvent = this.eventsList.length;
|
this.eventsList = res;
|
||||||
});
|
this.totalEvent = this.eventsList.length;
|
||||||
}
|
});
|
||||||
else {
|
}
|
||||||
this.eventService.getAllPrEvents(start, end).subscribe(res => {
|
else {
|
||||||
this.eventsList = res;
|
this.eventService.getAllPrEvents(start, end).subscribe(res => {
|
||||||
this.totalEvent = this.eventsList.length;
|
this.eventsList = res;
|
||||||
});
|
this.totalEvent = this.eventsList.length;
|
||||||
|
});
|
||||||
}
|
|
||||||
this.processesbackend.GetTasksList("Expediente", true).subscribe(result => {
|
}
|
||||||
this.totalExpediente = result;
|
|
||||||
});*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pushCordova() {
|
pushCordova() {
|
||||||
|
|
||||||
if(this.platform.is('desktop')) {
|
if(this.platform.is('desktop')) {
|
||||||
|
|||||||
@@ -863,26 +863,29 @@ export class AgendaPage implements OnInit {
|
|||||||
selectFirstEventOfTheDay(){
|
selectFirstEventOfTheDay(){
|
||||||
|
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
|
|
||||||
|
if(this.eventSelectedDate.toLocaleDateString('en-US') != (new Date()).toLocaleDateString('en-US')){
|
||||||
|
let sortedDate = this.eventSource.sort((a,b) =>{
|
||||||
|
return (b.startTime) -(a.startTime);
|
||||||
|
});
|
||||||
|
|
||||||
let sortedDate = this.eventSource.sort((a,b) =>{
|
|
||||||
return (b.startTime) -(a.startTime);
|
let filterDate = sortedDate.filter((e) => {
|
||||||
});
|
return e.startTime.toLocaleDateString('en-US') == this.eventSelectedDate.toLocaleDateString('en-US');
|
||||||
|
});
|
||||||
|
|
||||||
let filterDate = sortedDate.filter((e) => {
|
const firstEventStartHours = new Date(filterDate[filterDate.length - 1].startTime).getHours();
|
||||||
return e.startTime.toLocaleDateString('en-US') == this.eventSelectedDate.toLocaleDateString('en-US');
|
|
||||||
});
|
const scrollContainer = document.querySelector('.timeline-wrapper');
|
||||||
|
|
||||||
const firstEventStartHours = new Date(filterDate[filterDate.length - 1].startTime).getHours();
|
|
||||||
|
|
||||||
const scrollContainer = document.querySelector('.timeline-wrapper');
|
|
||||||
|
|
||||||
scrollContainer.scroll({
|
|
||||||
top: firstEventStartHours*60,
|
|
||||||
left: 0,
|
|
||||||
behavior: 'smooth'
|
|
||||||
})
|
|
||||||
|
|
||||||
|
scrollContainer.scroll({
|
||||||
|
top: firstEventStartHours*60,
|
||||||
|
left: 0,
|
||||||
|
behavior: 'smooth'
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1147,8 +1150,6 @@ export class AgendaPage implements OnInit {
|
|||||||
this.postEvent = false;
|
this.postEvent = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
async changeSegment(segments: "Combinado" | "Pessoal" | "Oficial") {
|
async changeSegment(segments: "Combinado" | "Pessoal" | "Oficial") {
|
||||||
this.segment = segments;
|
this.segment = segments;
|
||||||
|
|
||||||
@@ -1159,5 +1160,4 @@ export class AgendaPage implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -109,20 +109,13 @@ export class ViewEventPage implements OnInit {
|
|||||||
|
|
||||||
async editEventDetail() {
|
async editEventDetail() {
|
||||||
|
|
||||||
let classs;
|
|
||||||
if( window.innerWidth <= 800){
|
|
||||||
classs = 'modal'
|
|
||||||
} else {
|
|
||||||
classs = 'modal modal-desktop'
|
|
||||||
}
|
|
||||||
|
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: EditEventPage,
|
component: EditEventPage,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
eventId: this.loadedEvent.EventId,
|
eventId: this.loadedEvent.EventId,
|
||||||
profile: this.profile,
|
profile: this.profile,
|
||||||
},
|
},
|
||||||
cssClass: classs,
|
cssClass: 'modal modal-desktop',
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -131,7 +124,7 @@ export class ViewEventPage implements OnInit {
|
|||||||
|
|
||||||
let classs;
|
let classs;
|
||||||
if( window.innerWidth <= 800){
|
if( window.innerWidth <= 800){
|
||||||
classs = 'modal'
|
classs = 'modal modal-desktop'
|
||||||
} else {
|
} else {
|
||||||
classs = 'modal modal-desktop showAsideOptions'
|
classs = 'modal modal-desktop showAsideOptions'
|
||||||
}
|
}
|
||||||
@@ -151,6 +144,7 @@ export class ViewEventPage implements OnInit {
|
|||||||
if(res){
|
if(res){
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
/* this.loadEvent(); */
|
/* this.loadEvent(); */
|
||||||
|
this.loadEvent()
|
||||||
this.getAttachments();
|
this.getAttachments();
|
||||||
}, 250);
|
}, 250);
|
||||||
this.isEventEdited = true;
|
this.isEventEdited = true;
|
||||||
|
|||||||
@@ -28,12 +28,11 @@ export class EventListPage implements OnInit {
|
|||||||
private modalController: ModalController,
|
private modalController: ModalController,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private navParams: NavParams,
|
private navParams: NavParams,
|
||||||
) { }
|
) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.profile = this.navParams.get('profile');
|
this.profile = this.navParams.get('profile');
|
||||||
console.log(this.profile);
|
|
||||||
|
|
||||||
/* console.log(this.navParams.get('md')); */
|
/* console.log(this.navParams.get('md')); */
|
||||||
if(this.profile == "mdgpr"){
|
if(this.profile == "mdgpr"){
|
||||||
this.profile = 'MDGPR'
|
this.profile = 'MDGPR'
|
||||||
@@ -53,7 +52,7 @@ export class EventListPage implements OnInit {
|
|||||||
|
|
||||||
window.onresize = (event) => {
|
window.onresize = (event) => {
|
||||||
// if not mobile remove all component
|
// if not mobile remove all component
|
||||||
if( window.innerWidth <= 1024){
|
if( window.innerWidth <= 800){
|
||||||
this.modalController.dismiss();
|
this.modalController.dismiss();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -73,21 +72,15 @@ export class EventListPage implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
async openApproveModal(eventSerialNumber){
|
async openApproveModal(eventSerialNumber){
|
||||||
let classs;
|
|
||||||
if( window.innerWidth <= 1024){
|
|
||||||
classs = 'cal-modal modal modal-desktop'
|
|
||||||
} else {
|
|
||||||
classs = 'gabinete-digital-mobile-modal-to-Desktop'
|
|
||||||
}
|
|
||||||
|
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: ApproveEventModalPage,
|
component: ApproveEventModalPage,
|
||||||
componentProps:{
|
componentProps:{
|
||||||
serialNumber: eventSerialNumber,
|
serialNumber: eventSerialNumber,
|
||||||
},
|
},
|
||||||
cssClass: 'event-list',
|
cssClass: 'event-list cal-modal modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -61,7 +61,7 @@
|
|||||||
</ion-list>
|
</ion-list>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</div>
|
</div>
|
||||||
<div class="add-people" (click)="addParticipants(); showAttendees='true'">
|
<div class="add-people" (click)="addParticipants();">
|
||||||
<ion-icon slot="start" src="assets/images/icons-arrow-forward.svg"></ion-icon>
|
<ion-icon slot="start" src="assets/images/icons-arrow-forward.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
</ion-list>
|
</ion-list>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
</div>
|
</div>
|
||||||
<div class="add-people" (click)="addParticipantsCc(); showAttendees='true'">
|
<div class="add-people" (click)="addParticipantsCc();">
|
||||||
<ion-icon slot="start" src="assets/images/icons-arrow-forward.svg"></ion-icon>
|
<ion-icon slot="start" src="assets/images/icons-arrow-forward.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+12
-3
@@ -113,6 +113,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
|
|
||||||
}
|
}
|
||||||
saveTask(){
|
saveTask(){
|
||||||
|
|
||||||
let attendees = this.taskParticipants.concat(this.taskParticipantsCc);
|
let attendees = this.taskParticipants.concat(this.taskParticipantsCc);
|
||||||
attendees = attendees.map(function(val) {
|
attendees = attendees.map(function(val) {
|
||||||
return {
|
return {
|
||||||
@@ -120,6 +121,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
UserType: val.IsRequired?"I": "CC"
|
UserType: val.IsRequired?"I": "CC"
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
if(this.taskParticipants.length > 0){
|
if(this.taskParticipants.length > 0){
|
||||||
switch (this.taskType){
|
switch (this.taskType){
|
||||||
case '0':
|
case '0':
|
||||||
@@ -185,7 +187,10 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
this.adding = "intervenient";
|
this.adding = "intervenient";
|
||||||
this.contacts = this.taskParticipants;
|
this.contacts = this.taskParticipants;
|
||||||
|
|
||||||
if(window.innerWidth <=1024){
|
if(window.innerWidth <=800){
|
||||||
|
|
||||||
|
this.showAttendees=false;
|
||||||
|
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: AddParticipantsModalPage,
|
component: AddParticipantsModalPage,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
@@ -214,7 +219,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
console.log(this.postData);
|
console.log(this.postData);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
this.showAttendees=true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -223,7 +228,9 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
this.adding = "CC";
|
this.adding = "CC";
|
||||||
this.contacts = this.taskParticipantsCc;
|
this.contacts = this.taskParticipantsCc;
|
||||||
|
|
||||||
if(window.innerWidth <=1024){
|
if(window.innerWidth <=800){
|
||||||
|
this.showAttendees=false;
|
||||||
|
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: AddParticipantsCcModalPage,
|
component: AddParticipantsCcModalPage,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
@@ -251,6 +258,8 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
this.postData.UsersSelected = this.participants;
|
this.postData.UsersSelected = this.participants;
|
||||||
console.log(this.postData);
|
console.log(this.postData);
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
this.showAttendees=true
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -141,7 +141,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
//this.modalController.dismiss();
|
//this.modalController.dismiss();
|
||||||
let classs;
|
let classs;
|
||||||
if( window.innerWidth <= 800){
|
if( window.innerWidth <= 800){
|
||||||
classs = 'modal'
|
classs = 'modal modal-desktop'
|
||||||
} else {
|
} else {
|
||||||
classs = 'modal modal-desktop showAsideOptions'
|
classs = 'modal modal-desktop showAsideOptions'
|
||||||
}
|
}
|
||||||
@@ -193,7 +193,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
async openBookMeetingModal(task: any) {
|
async openBookMeetingModal(task: any) {
|
||||||
let classs;
|
let classs;
|
||||||
if( window.innerWidth <= 800){
|
if( window.innerWidth <= 800){
|
||||||
classs = 'book-meeting-modal'
|
classs = 'book-meeting-modal modal modal-desktop'
|
||||||
} else {
|
} else {
|
||||||
classs = 'modal modal-desktop showAsideOptions'
|
classs = 'modal modal-desktop showAsideOptions'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,14 +65,7 @@ export class ExpedientePage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async viewExpedientDetail(serialNumber:any) {
|
async viewExpedientDetail(serialNumber:any) {
|
||||||
console.log(this.profile);
|
|
||||||
|
|
||||||
let classs;
|
|
||||||
if( window.innerWidth <= 800){
|
|
||||||
classs = 'modal modal-desktop'
|
|
||||||
} else {
|
|
||||||
classs = 'gabinete-digital-mobile-modal-to-Desktop'
|
|
||||||
}
|
|
||||||
|
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: ExpedienteDetailPage,
|
component: ExpedienteDetailPage,
|
||||||
@@ -80,7 +73,7 @@ export class ExpedientePage implements OnInit {
|
|||||||
serialNumber: serialNumber,
|
serialNumber: serialNumber,
|
||||||
profile: this.profile,
|
profile: this.profile,
|
||||||
},
|
},
|
||||||
cssClass: classs,
|
cssClass: 'modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="aside overflow-y-auto d-flex flex-wrap width-100">
|
<div class="aside overflow-y-auto d-flex flex-wrap width-100">
|
||||||
<div class="exp-card d-flex flex-column" (click)="openEventsToApprovePage('MDGPR')">
|
<div [class.active]="selectedElement == 'approval'" (click)="openEventsToApprovePage('MDGPR');selectedElement='approval'" class="exp-card d-flex flex-column" >
|
||||||
<div class="d-flex justify-center">
|
<div class="d-flex justify-center">
|
||||||
<ion-icon src="assets/images/icons-agenda.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-agenda.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
<p class="text-center exp-card-content">{{count_ev_md+count_ev_pr}} <span class="title1">Documentos</span></p>
|
<p class="text-center exp-card-content">{{count_ev_md+count_ev_pr}} <span class="title1">Documentos</span></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="exp-card d-flex flex-column justify-center" (click)="openExpedientListPage()">
|
<div [class.active]="selectedElement == 'Correspondence'" (click)="openExpedientListPage(); selectedElement='Correspondence'" class="exp-card d-flex flex-column justify-center" >
|
||||||
<div class="d-flex justify-center">
|
<div class="d-flex justify-center">
|
||||||
<ion-icon src="assets/images/icons-correspondencia.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-correspondencia.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
<p class="text-center exp-card-content">{{count_exp_dailywork}} <span class="title1">Documentos</span></p>
|
<p class="text-center exp-card-content">{{count_exp_dailywork}} <span class="title1">Documentos</span></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="exp-card d-flex flex-column justify-center" (click)="notImplemented()">
|
<div [class.active]="selectedElement == 'Pending'" (click)="notImplemented()" class="exp-card d-flex flex-column justify-center" >
|
||||||
<div class="d-flex justify-center">
|
<div class="d-flex justify-center">
|
||||||
<ion-icon src="assets/images/icons-expediente-pendente.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-expediente-pendente.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
@@ -44,21 +44,24 @@
|
|||||||
<p class="text-center exp-card-title ">Pendentes</p>
|
<p class="text-center exp-card-title ">Pendentes</p>
|
||||||
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span></p>
|
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="exp-card d-flex flex-column justify-center" (click)="notImplemented()">
|
|
||||||
|
<div [class.active]="selectedElement == 'RequestsForOpinion'" class="exp-card d-flex flex-column justify-center" (click)="notImplemented()">
|
||||||
<div class="d-flex justify-center">
|
<div class="d-flex justify-center">
|
||||||
<ion-icon src="assets/images/icons-expediente-parecer.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-expediente-parecer.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-center exp-card-title ">Pedidos de Parecer</p>
|
<p class="text-center exp-card-title ">Pedidos de Parecer</p>
|
||||||
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span></p>
|
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="exp-card d-flex flex-column justify-center" (click)="notImplemented()">
|
|
||||||
|
<div [class.active]="selectedElement == 'RequestForApproval'" class="exp-card d-flex flex-column justify-center" (click)="notImplemented()">
|
||||||
<div class="d-flex justify-center">
|
<div class="d-flex justify-center">
|
||||||
<ion-icon src="assets/images/icons-expediente-deferimento.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-expediente-deferimento.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-center exp-card-title ">Pedidos de Deferimento</p>
|
<p class="text-center exp-card-title ">Pedidos de Deferimento</p>
|
||||||
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span></p>
|
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="exp-card d-flex flex-column justify-center" (click)="notImplemented()">
|
|
||||||
|
<div [class.active]="selectedElement == '£££££££'" class="exp-card d-flex flex-column justify-center" (click)="notImplemented()">
|
||||||
<div class="d-flex justify-center">
|
<div class="d-flex justify-center">
|
||||||
<ion-icon src="assets/images/icons-expediente-diploma.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-expediente-diploma.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
@@ -66,15 +69,15 @@
|
|||||||
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span> </p>
|
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span> </p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div [class.active]="selectedElement == '£££££££'" class="exp-card d-flex d-none flex-column justify-center" (click)="notImplemented()">
|
||||||
<div class="exp-card d-flex d-none flex-column justify-center" (click)="notImplemented()">
|
|
||||||
<div class="d-flex justify-center">
|
<div class="d-flex justify-center">
|
||||||
<ion-icon src="assets/images/icons-expediente-presidente.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-expediente-presidente.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-center exp-card-title ">Expediente Presidente</p>
|
<p class="text-center exp-card-title ">Expediente Presidente</p>
|
||||||
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span></p>
|
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="exp-card d-flex d-none flex-column justify-center" (click)="notImplemented()">
|
|
||||||
|
<div [class.active]="selectedElement == '£££££££'" class="exp-card d-flex d-none flex-column justify-center" (click)="notImplemented()">
|
||||||
<div class="d-flex justify-center">
|
<div class="d-flex justify-center">
|
||||||
<ion-icon src="assets/images/icons-despachos-presidente.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-despachos-presidente.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
@@ -82,9 +85,7 @@
|
|||||||
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span> </p>
|
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span> </p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div [class.active]="selectedElement == '£££££££'" class="exp-card-long justify-center width-100" (click)="notImplemented()">
|
||||||
|
|
||||||
<div class="exp-card-long justify-center width-100" (click)="notImplemented()">
|
|
||||||
<div class="center-div">
|
<div class="center-div">
|
||||||
<div class="exp-card-icon">
|
<div class="exp-card-icon">
|
||||||
<ion-icon src="assets/images/icons-expediente-presidente.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-expediente-presidente.svg"></ion-icon>
|
||||||
@@ -95,7 +96,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="exp-card-long width-100" (click)="notImplemented()">
|
|
||||||
|
<div [class.active]="selectedElement == '£££££££'" class="exp-card-long width-100" (click)="notImplemented()">
|
||||||
<div class="center-div">
|
<div class="center-div">
|
||||||
<div class="exp-card-icon">
|
<div class="exp-card-icon">
|
||||||
<ion-icon src="assets/images/icons-despachos-presidente.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-despachos-presidente.svg"></ion-icon>
|
||||||
@@ -107,14 +109,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="exp-card d-flex flex-column justify-center" (click)="notImplemented()">
|
<div [class.active]="selectedElement == '£££££££'" class="exp-card d-flex flex-column justify-center" (click)="notImplemented()">
|
||||||
<div class="d-flex justify-center">
|
<div class="d-flex justify-center">
|
||||||
<ion-icon src="assets/images/icons-diplomas-assinados-presidente.svg"></ion-icon>
|
<ion-icon src="assets/images/icons-diplomas-assinados-presidente.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-center exp-card-title ">Diplomas assinaldos PR</p>
|
<p class="text-center exp-card-title ">Diplomas assinaldos PR</p>
|
||||||
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span> </p>
|
<p class="text-center exp-card-content"><span class="number">-</span> <span class="title1">Documentos</span> </p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Aside right -->
|
<!-- Aside right -->
|
||||||
|
|||||||
@@ -345,3 +345,9 @@ ion-content{
|
|||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.active {
|
||||||
|
border: 1px solid green;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
@@ -12,6 +12,7 @@ import { ActivatedRoute, NavigationEnd, Router } from '@angular/router';
|
|||||||
templateUrl: './gabinete-digital.page.html',
|
templateUrl: './gabinete-digital.page.html',
|
||||||
styleUrls: ['./gabinete-digital.page.scss'],
|
styleUrls: ['./gabinete-digital.page.scss'],
|
||||||
})
|
})
|
||||||
|
|
||||||
export class GabineteDigitalPage implements OnInit {
|
export class GabineteDigitalPage implements OnInit {
|
||||||
|
|
||||||
segment:string;
|
segment:string;
|
||||||
@@ -27,11 +28,13 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
count_ev_pr=0;
|
count_ev_pr=0;
|
||||||
count_ev_md=0;
|
count_ev_md=0;
|
||||||
|
|
||||||
|
selectedElement = "";
|
||||||
|
|
||||||
desktopComponent: any = {
|
desktopComponent: any = {
|
||||||
showEventList: false,
|
showEventList: false,
|
||||||
showExpediente : false
|
showExpediente : false
|
||||||
}
|
}
|
||||||
|
|
||||||
showEventsToApprove = false;
|
showEventsToApprove = false;
|
||||||
showEmptyContainer = false;
|
showEmptyContainer = false;
|
||||||
showExpedients = true;
|
showExpedients = true;
|
||||||
@@ -46,17 +49,15 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
private alertService: AlertService,
|
private alertService: AlertService,
|
||||||
private activatedRoute: ActivatedRoute,
|
private activatedRoute: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
window.onresize = (event) => {
|
window.onresize = (event) => {
|
||||||
// if not mobile remove all component
|
// if not mobile remove all component
|
||||||
if( window.innerWidth <= 1024){
|
if( window.innerWidth <= 1024){
|
||||||
this.modalController.dismiss();
|
this.modalController.dismiss();
|
||||||
}
|
}
|
||||||
this.adjastModalHeight();
|
|
||||||
};
|
|
||||||
|
|
||||||
this.adjastModalHeight();
|
};
|
||||||
|
|
||||||
this.activatedRoute.queryParams.subscribe(params => {
|
this.activatedRoute.queryParams.subscribe(params => {
|
||||||
if(params["show"]){
|
if(params["show"]){
|
||||||
@@ -69,24 +70,6 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
adjastModalHeight(){
|
|
||||||
setTimeout(() => {
|
|
||||||
if( window.innerWidth <= 1366){
|
|
||||||
|
|
||||||
document.querySelectorAll('.gabinete-digital-mobile-modal-to-Desktop').forEach(e=>{
|
|
||||||
console.log('adjast width')
|
|
||||||
e.setAttribute('style',`height:${window.innerHeight - (74 + 57)}px`)
|
|
||||||
})
|
|
||||||
} else if( window.innerWidth >= 1366){
|
|
||||||
document.querySelectorAll('.gabinete-digital-mobile-modal-to-Desktop').forEach(e=>{
|
|
||||||
console.log('adjast width')
|
|
||||||
e.setAttribute('style',`height:${window.innerHeight - (74)}px`)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}, 200);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
closeAllDesktopComponent(){
|
closeAllDesktopComponent(){
|
||||||
this.desktopComponent = {
|
this.desktopComponent = {
|
||||||
@@ -94,6 +77,7 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
showExpediente: false
|
showExpediente: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
//Initialize profile as mdgpr
|
//Initialize profile as mdgpr
|
||||||
this.profile = "MDGPR";
|
this.profile = "MDGPR";
|
||||||
@@ -178,22 +162,13 @@ this.processesbackend.GetActionsList().subscribe(res=>{
|
|||||||
async openEventsToApproveList(profile:any){
|
async openEventsToApproveList(profile:any){
|
||||||
|
|
||||||
this.closeAllDesktopComponent();
|
this.closeAllDesktopComponent();
|
||||||
|
|
||||||
let classs;
|
|
||||||
if( window.innerWidth <= 800){
|
|
||||||
classs = 'modal'
|
|
||||||
} else {
|
|
||||||
classs = 'gabinete-digital-mobile-modal-to-Desktop'
|
|
||||||
}
|
|
||||||
|
|
||||||
//if( window.innerWidth <= 1024){
|
//if( window.innerWidth <= 1024){
|
||||||
this.adjastModalHeight();
|
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: EventListPage,
|
component: EventListPage,
|
||||||
componentProps:{
|
componentProps:{
|
||||||
profile: profile,
|
profile: profile,
|
||||||
},
|
},
|
||||||
cssClass: classs,
|
cssClass: 'modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
@@ -203,6 +178,7 @@ this.processesbackend.GetActionsList().subscribe(res=>{
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
openExpedientListPage(){
|
openExpedientListPage(){
|
||||||
this.closeAllDesktopComponents();
|
this.closeAllDesktopComponents();
|
||||||
if( window.innerWidth <= 1024){
|
if( window.innerWidth <= 1024){
|
||||||
@@ -212,6 +188,7 @@ this.processesbackend.GetActionsList().subscribe(res=>{
|
|||||||
this.showExpedients = true;
|
this.showExpedients = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
openExpedientPage(data){
|
openExpedientPage(data){
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
|
||||||
@@ -224,24 +201,18 @@ this.processesbackend.GetActionsList().subscribe(res=>{
|
|||||||
this.showExpedientDetail = true;
|
this.showExpedientDetail = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async openExpedientList(){
|
async openExpedientList(){
|
||||||
|
|
||||||
this.closeAllDesktopComponent();
|
this.closeAllDesktopComponent();
|
||||||
let classs;
|
|
||||||
if( window.innerWidth <= 1024){
|
|
||||||
classs = 'modal'
|
|
||||||
} else {
|
|
||||||
classs = 'gabinete-digital-mobile-modal-to-Desktop'
|
|
||||||
}
|
|
||||||
|
|
||||||
//if( window.innerWidth <= 1024){
|
//if( window.innerWidth <= 1024){
|
||||||
this.adjastModalHeight();
|
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: ExpedientePage,
|
component: ExpedientePage,
|
||||||
componentProps:{
|
componentProps:{
|
||||||
profile: this.profile,
|
profile: this.profile,
|
||||||
},
|
},
|
||||||
cssClass: classs,
|
cssClass: 'modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
|
|||||||
@@ -1,18 +1,3 @@
|
|||||||
<ion-header class="ion-no-border">
|
|
||||||
<ion-toolbar class="ion-no-border bg-blue">
|
|
||||||
<div class="div-top-header">
|
|
||||||
<div class="div-search">
|
|
||||||
<ion-icon src='assets/images/icons-search.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
<div class="div-logo">
|
|
||||||
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
|
||||||
</div>
|
|
||||||
<div class="div-profile">
|
|
||||||
<ion-icon src='assets/images/icons-profile.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</ion-toolbar>
|
|
||||||
</ion-header>
|
|
||||||
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<div class="content-container">
|
<div class="content-container">
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ ion-toolbar{
|
|||||||
border-width: 0 !important;
|
border-width: 0 !important;
|
||||||
}
|
}
|
||||||
.div-top-header{
|
.div-top-header{
|
||||||
width: 400px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background-color: #0782c9;
|
background-color: #0782c9;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -41,7 +40,6 @@ ion-toolbar{
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.content-top{
|
.content-top{
|
||||||
width: 344px;
|
|
||||||
background: #f3f2f2;
|
background: #f3f2f2;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -60,7 +58,6 @@ ion-toolbar{
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.title-content{
|
.title-content{
|
||||||
width: 360px;
|
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
@@ -79,7 +76,6 @@ font-size: 25px;
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.ion-item-container{
|
.ion-item-container{
|
||||||
width: 360px;
|
|
||||||
margin: 15px auto;
|
margin: 15px auto;
|
||||||
border: 1px solid #ebebeb;
|
border: 1px solid #ebebeb;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
@@ -92,8 +88,8 @@ font-size: 25px;
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.ion-item-class-2{
|
.ion-item-class-2{
|
||||||
width: 360px;
|
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
.ion-icon-class{
|
.ion-icon-class{
|
||||||
width: 45px;
|
width: 45px;
|
||||||
@@ -101,24 +97,23 @@ font-size: 25px;
|
|||||||
float: left;
|
float: left;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
|
|
||||||
}
|
}
|
||||||
.ion-input-class{
|
.ion-input-class{
|
||||||
width: 315px;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
border: 1px solid #ebebeb;
|
border: 1px solid #ebebeb;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
float: left;
|
flex: 1;
|
||||||
}
|
}
|
||||||
.ion-textarea-class{
|
.ion-textarea-class{
|
||||||
width: 315px;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
border: 1px solid #ebebeb;
|
border: 1px solid #ebebeb;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
float: left;
|
flex: 1;
|
||||||
}
|
}
|
||||||
.ion-input-class-no-height{
|
.ion-input-class-no-height{
|
||||||
border: 1px solid #ebebeb;
|
border: 1px solid #ebebeb;
|
||||||
|
|||||||
@@ -1,18 +1,4 @@
|
|||||||
<ion-header class="ion-no-border">
|
|
||||||
<ion-toolbar class="ion-no-border bg-blue">
|
|
||||||
<div class="div-top-header">
|
|
||||||
<div class="div-search">
|
|
||||||
<ion-icon src='assets/images/icons-search.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
<div class="div-logo">
|
|
||||||
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
|
||||||
</div>
|
|
||||||
<div class="div-profile">
|
|
||||||
<ion-icon src='assets/images/icons-profile.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</ion-toolbar>
|
|
||||||
</ion-header>
|
|
||||||
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<div class="content-container">
|
<div class="content-container">
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ ion-toolbar{
|
|||||||
border-width: 0 !important;
|
border-width: 0 !important;
|
||||||
}
|
}
|
||||||
.div-top-header{
|
.div-top-header{
|
||||||
width: 400px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background-color: #0782c9;
|
background-color: #0782c9;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -41,7 +40,6 @@ ion-toolbar{
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.content-top{
|
.content-top{
|
||||||
width: 344px;
|
|
||||||
background: #f3f2f2;
|
background: #f3f2f2;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -60,7 +58,6 @@ ion-toolbar{
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.title-content{
|
.title-content{
|
||||||
width: 360px;
|
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
@@ -79,7 +76,6 @@ font-size: 25px;
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.ion-item-container{
|
.ion-item-container{
|
||||||
width: 360px;
|
|
||||||
margin: 15px auto;
|
margin: 15px auto;
|
||||||
border: 1px solid #ebebeb;
|
border: 1px solid #ebebeb;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
@@ -92,8 +88,8 @@ font-size: 25px;
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.ion-item-class-2{
|
.ion-item-class-2{
|
||||||
width: 360px;
|
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
.ion-icon-class{
|
.ion-icon-class{
|
||||||
width: 45px;
|
width: 45px;
|
||||||
@@ -109,7 +105,7 @@ font-size: 25px;
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
float: left;
|
flex: 1;
|
||||||
}
|
}
|
||||||
.ion-input-class-no-height{
|
.ion-input-class-no-height{
|
||||||
border: 1px solid #ebebeb;
|
border: 1px solid #ebebeb;
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ export class NewPublicationPage implements OnInit {
|
|||||||
this.capturedImage = imageData;
|
this.capturedImage = imageData;
|
||||||
this.capturedImageTitle = new Date().getTime() + '.jpeg';
|
this.capturedImageTitle = new Date().getTime() + '.jpeg';
|
||||||
}, (err) => {
|
}, (err) => {
|
||||||
console.log(err);
|
/* console.log(err); */
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -102,7 +102,7 @@ export class NewPublicationPage implements OnInit {
|
|||||||
this.capturedImage = imageData;
|
this.capturedImage = imageData;
|
||||||
this.capturedImageTitle = new Date().getTime() + '.jpeg';
|
this.capturedImageTitle = new Date().getTime() + '.jpeg';
|
||||||
}, (err) => {
|
}, (err) => {
|
||||||
console.log(err);
|
/* console.log(err); */
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -139,8 +139,8 @@ export class NewPublicationPage implements OnInit {
|
|||||||
FileBase64: this.publication.FileBase64,
|
FileBase64: this.publication.FileBase64,
|
||||||
FileExtension: 'jpeg',
|
FileExtension: 'jpeg',
|
||||||
}
|
}
|
||||||
console.log('Edit - keep image');
|
/* console.log('Edit - keep image');
|
||||||
console.log(this.publication);
|
console.log(this.publication); */
|
||||||
this.publications.UpdatePublication(this.publication.ProcessId, this.publication);
|
this.publications.UpdatePublication(this.publication.ProcessId, this.publication);
|
||||||
this.close();
|
this.close();
|
||||||
}
|
}
|
||||||
@@ -159,8 +159,8 @@ export class NewPublicationPage implements OnInit {
|
|||||||
FileExtension: 'jpeg',
|
FileExtension: 'jpeg',
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('Create');
|
/* console.log('Create');
|
||||||
console.log(this.publication);
|
console.log(this.publication); */
|
||||||
this.publications.CreatePublication(this.folderId, this.publication);
|
this.publications.CreatePublication(this.folderId, this.publication);
|
||||||
this.close();
|
this.close();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,21 +1,6 @@
|
|||||||
<ion-header class="ion-no-border">
|
|
||||||
<ion-toolbar class="ion-no-border bg-blue">
|
|
||||||
<div class="div-top-header">
|
|
||||||
<div class="div-search">
|
|
||||||
<ion-icon tappable src='assets/images/icons-search.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
<div class="div-logo">
|
|
||||||
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
|
||||||
</div>
|
|
||||||
<div class="div-profile">
|
|
||||||
<ion-icon src='assets/images/icons-profile.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</ion-toolbar>
|
|
||||||
|
|
||||||
</ion-header>
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<div class="content-top"></div>
|
|
||||||
<div class="content-container">
|
<div class="content-container">
|
||||||
<div *ngIf="publication.Title != ''">
|
<div *ngIf="publication.Title != ''">
|
||||||
<div class="title-content">
|
<div class="title-content">
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
border-width: 0 !important;
|
border-width: 0 !important;
|
||||||
}
|
}
|
||||||
.div-top-header{
|
.div-top-header{
|
||||||
width: 400px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background-color: #0782c9;
|
background-color: #0782c9;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -37,7 +36,6 @@
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.content-top{
|
.content-top{
|
||||||
width: 344px;
|
|
||||||
background: #f3f2f2;
|
background: #f3f2f2;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -55,7 +53,6 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.title-content{
|
.title-content{
|
||||||
width: 360px;
|
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
@@ -67,7 +64,6 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.div-title{
|
.div-title{
|
||||||
width: 270px;
|
|
||||||
/* padding: 0!important; */
|
/* padding: 0!important; */
|
||||||
float: left;
|
float: left;
|
||||||
margin: 2.5px 0 0 5px;
|
margin: 2.5px 0 0 5px;
|
||||||
@@ -88,7 +84,6 @@
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
.post-description{
|
.post-description{
|
||||||
width: 360px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: 35px;
|
margin-bottom: 35px;
|
||||||
}
|
}
|
||||||
@@ -94,7 +94,7 @@ export class PublicationDetailPage implements OnInit {
|
|||||||
publicationType: publicationType,
|
publicationType: publicationType,
|
||||||
publication: this.publication,
|
publication: this.publication,
|
||||||
},
|
},
|
||||||
cssClass: 'new-publication',
|
cssClass: 'new-publication modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
|
|||||||
@@ -16,9 +16,9 @@
|
|||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<ion-toolbar >
|
<ion-toolbar >
|
||||||
<div class="main-header">
|
<div class="main-header">
|
||||||
<div class="title-content">
|
<div class="title-content d-flex justify-space-between">
|
||||||
<div class="div-title">
|
<div class="div-title flex-grow-1">
|
||||||
<ion-label class="title">Acções Presidenciais</ion-label>
|
<ion-label class="title ">Acções Presidenciais</ion-label>
|
||||||
</div>
|
</div>
|
||||||
<div class="div-icon">
|
<div class="div-icon">
|
||||||
<button class="btn-no-color" (click)="AddPublicationFolder()">
|
<button class="btn-no-color" (click)="AddPublicationFolder()">
|
||||||
|
|||||||
@@ -55,13 +55,11 @@ ion-toolbar{
|
|||||||
|
|
||||||
.title-content{
|
.title-content{
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
overflow: auto;
|
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
.div-title{
|
.div-title{
|
||||||
padding: 0!important;
|
padding: 0!important;
|
||||||
float: left;
|
|
||||||
}
|
}
|
||||||
.title{
|
.title{
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
@@ -71,7 +69,6 @@ ion-toolbar{
|
|||||||
/* width: 45px;
|
/* width: 45px;
|
||||||
float: right; */
|
float: right; */
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
overflow: auto;
|
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ export class PublicationsPage implements OnInit {
|
|||||||
componentProps:{
|
componentProps:{
|
||||||
item: item,
|
item: item,
|
||||||
},
|
},
|
||||||
cssClass: 'new-action',
|
cssClass: 'new-action modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
@@ -131,7 +131,6 @@ export class PublicationsPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async viewPublications(folderId: string) {
|
async viewPublications(folderId: string) {
|
||||||
console.log('FOLDER', folderId)
|
|
||||||
|
|
||||||
const enterAnimation = (baseEl: any) => {
|
const enterAnimation = (baseEl: any) => {
|
||||||
const backdropAnimation = this.animationController.create()
|
const backdropAnimation = this.animationController.create()
|
||||||
@@ -160,7 +159,7 @@ export class PublicationsPage implements OnInit {
|
|||||||
this.closeDesktopComponent();
|
this.closeDesktopComponent();
|
||||||
|
|
||||||
// OpenModal
|
// OpenModal
|
||||||
if( window.innerWidth <= 1024){
|
if( window.innerWidth <= 800){
|
||||||
/* let item = this.publicationFolderList; */
|
/* let item = this.publicationFolderList; */
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: ViewPublicationsPage,
|
component: ViewPublicationsPage,
|
||||||
@@ -169,7 +168,7 @@ export class PublicationsPage implements OnInit {
|
|||||||
componentProps:{
|
componentProps:{
|
||||||
folderId:folderId,
|
folderId:folderId,
|
||||||
},
|
},
|
||||||
cssClass: 'new-action',
|
cssClass: 'new-action modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
|
|||||||
+5
-19
@@ -1,26 +1,11 @@
|
|||||||
<ion-header class="ion-no-border">
|
|
||||||
<ion-toolbar class="ion-no-border bg-blue">
|
|
||||||
<div class="div-top-header">
|
|
||||||
<div class="div-search">
|
|
||||||
<ion-icon src='assets/images/icons-search.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
<div class="div-logo">
|
|
||||||
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
|
||||||
</div>
|
|
||||||
<div class="div-profile">
|
|
||||||
<ion-icon src='assets/images/icons-profile.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</ion-toolbar>
|
|
||||||
|
|
||||||
</ion-header>
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<div class="content-top"></div>
|
|
||||||
<div class="content-container">
|
<div class="content-container">
|
||||||
<div *ngIf="publication.Title != ''">
|
<div *ngIf="publication.Title != ''">
|
||||||
<div class="title-content">
|
<div class="title-content px-20" (click)="close()">
|
||||||
<div class="back-icon">
|
<div class="back-icon">
|
||||||
<ion-icon (click)="close()" slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
<ion-icon slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="div-title">
|
<div class="div-title">
|
||||||
<ion-label class="title"> {{publication.Title}}</ion-label>
|
<ion-label class="title"> {{publication.Title}}</ion-label>
|
||||||
@@ -39,7 +24,7 @@
|
|||||||
<div *ngIf="publication.FileBase64.length < 30" class="post-img">
|
<div *ngIf="publication.FileBase64.length < 30" class="post-img">
|
||||||
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
||||||
</div>
|
</div>
|
||||||
<div class="post-description">
|
<div class="post-description px-20">
|
||||||
<p>{{publication.Message}}</p>
|
<p>{{publication.Message}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -67,6 +52,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
|
||||||
<ion-footer>
|
<ion-footer>
|
||||||
<ion-toolbar class="footer-toolbar">
|
<ion-toolbar class="footer-toolbar">
|
||||||
<ion-buttons slot="start">
|
<ion-buttons slot="start">
|
||||||
|
|||||||
-6
@@ -14,7 +14,6 @@
|
|||||||
border-width: 0 !important;
|
border-width: 0 !important;
|
||||||
}
|
}
|
||||||
.div-top-header{
|
.div-top-header{
|
||||||
width: 400px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background-color: #0782c9;
|
background-color: #0782c9;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -41,7 +40,6 @@
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.content-top{
|
.content-top{
|
||||||
width: 344px;
|
|
||||||
background: #f3f2f2;
|
background: #f3f2f2;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -60,10 +58,8 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.title-content{
|
.title-content{
|
||||||
width: 360px;
|
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 0 !important;
|
|
||||||
}
|
}
|
||||||
.back-icon{
|
.back-icon{
|
||||||
width: auto;
|
width: auto;
|
||||||
@@ -72,7 +68,6 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.div-title{
|
.div-title{
|
||||||
width: 270px;
|
|
||||||
/* padding: 0!important; */
|
/* padding: 0!important; */
|
||||||
float: left;
|
float: left;
|
||||||
margin: 2.5px 0 0 5px;
|
margin: 2.5px 0 0 5px;
|
||||||
@@ -93,7 +88,6 @@
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
.post-description{
|
.post-description{
|
||||||
width: 360px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: 35px;
|
margin-bottom: 35px;
|
||||||
}
|
}
|
||||||
+1
-1
@@ -90,7 +90,7 @@ export class PublicationDetailPage implements OnInit {
|
|||||||
publicationType: publicationType,
|
publicationType: publicationType,
|
||||||
publication: this.publication,
|
publication: this.publication,
|
||||||
},
|
},
|
||||||
cssClass: 'new-publication',
|
cssClass: 'new-publication modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
|
|||||||
@@ -1,35 +1,20 @@
|
|||||||
<ion-header class="ion-no-border">
|
|
||||||
<ion-toolbar class="bg-blue">
|
|
||||||
<div class="div-top-header">
|
|
||||||
<div class="div-search">
|
|
||||||
<ion-icon src='assets/images/icons-search.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
<div class="div-logo">
|
|
||||||
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
|
||||||
</div>
|
|
||||||
<div class="div-profile">
|
|
||||||
<ion-icon src='assets/images/icons-profile.svg'></ion-icon>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</ion-toolbar>
|
|
||||||
</ion-header>
|
|
||||||
|
|
||||||
<ion-header class="ion-no-border">
|
<ion-header class="ion-no-border">
|
||||||
<ion-toolbar class="bg-blue">
|
<ion-toolbar class="bg-blue">
|
||||||
<div class="content-top"></div>
|
|
||||||
<div class="main-header">
|
<div class="main-header">
|
||||||
<div class="title-content">
|
<div class="title-content d-flex">
|
||||||
<div class="back-icon">
|
<div class="back-icon" (click)="close()">
|
||||||
<ion-icon (click)="close()" slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
<ion-icon slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="div-title">
|
<div class="div-title flex-grow-1">
|
||||||
<ion-label class="title">{{item.Description}}</ion-label>
|
<ion-label class="title">{{item.Description}}</ion-label>
|
||||||
<p class="item-content-detail">{{item.Detail}}</p>
|
<p class="item-content-detail">{{item.Detail}}</p>
|
||||||
<p class="item-content-date">{{item.DateBegin}}</p>
|
<p class="item-content-date">{{item.DateBegin}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions-icon">
|
<div class="actions-icon" (click)="AddPublication('2',item.ProcessId)">
|
||||||
<!-- <ion-icon (click)="AddPublication('1',item.ProcessId)" slot="end" src='assets/images/icons-add-photo.svg'></ion-icon> -->
|
<!-- <ion-icon (click)="AddPublication('1',item.ProcessId)" slot="end" src='assets/images/icons-add-photo.svg'></ion-icon> -->
|
||||||
<ion-icon (click)="AddPublication('2',item.ProcessId)" slot="end" src='assets/images/icons-add.svg'></ion-icon>
|
<ion-icon slot="end" src='assets/images/icons-add.svg'></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -54,7 +39,7 @@
|
|||||||
<div *ngIf="publication.FileBase64.length < 30" class="post-img">
|
<div *ngIf="publication.FileBase64.length < 30" class="post-img">
|
||||||
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
||||||
</div>
|
</div>
|
||||||
<div class="post-content">
|
<div class="post-content px-20">
|
||||||
<div class="post-title-time">
|
<div class="post-title-time">
|
||||||
<div class="post-title">
|
<div class="post-title">
|
||||||
<ion-label>{{publication.Title}}</ion-label>
|
<ion-label>{{publication.Title}}</ion-label>
|
||||||
@@ -70,7 +55,7 @@
|
|||||||
<div class="post-img">
|
<div class="post-img">
|
||||||
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
||||||
</div>
|
</div>
|
||||||
<div class="post-content">
|
<div class="post-content px-20">
|
||||||
<div class="post-title-time">
|
<div class="post-title-time">
|
||||||
<div class="post-title">
|
<div class="post-title">
|
||||||
<ion-label><ion-skeleton-text animated animated style="width: 60%;"></ion-skeleton-text></ion-label>
|
<ion-label><ion-skeleton-text animated animated style="width: 60%;"></ion-skeleton-text></ion-label>
|
||||||
@@ -85,7 +70,7 @@
|
|||||||
<div class="post-img">
|
<div class="post-img">
|
||||||
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
<img src="/assets/icon/icon-no-image.svg" alt="image">
|
||||||
</div>
|
</div>
|
||||||
<div class="post-content">
|
<div class="post-content px-20">
|
||||||
<div class="post-title-time">
|
<div class="post-title-time">
|
||||||
<div class="post-title">
|
<div class="post-title">
|
||||||
<ion-label><ion-skeleton-text animated animated style="width: 60%;"></ion-skeleton-text></ion-label>
|
<ion-label><ion-skeleton-text animated animated style="width: 60%;"></ion-skeleton-text></ion-label>
|
||||||
|
|||||||
@@ -66,7 +66,6 @@
|
|||||||
padding: 15px 20px 0 20px;
|
padding: 15px 20px 0 20px;
|
||||||
}
|
}
|
||||||
.content-top{
|
.content-top{
|
||||||
width: 344px;
|
|
||||||
background: #f3f2f2;
|
background: #f3f2f2;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -86,7 +85,6 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.title-content{
|
.title-content{
|
||||||
width: 360px;
|
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
@@ -100,7 +98,6 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
.div-title{
|
.div-title{
|
||||||
width: 221px;
|
|
||||||
/* padding: 0!important; */
|
/* padding: 0!important; */
|
||||||
float: left;
|
float: left;
|
||||||
margin: 2.5px 0 0 5px;
|
margin: 2.5px 0 0 5px;
|
||||||
@@ -148,7 +145,6 @@
|
|||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
.post-content{
|
.post-content{
|
||||||
width: 360px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: 35px;
|
margin-bottom: 35px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ export class ViewPublicationsPage implements OnInit {
|
|||||||
publicationType: publicationType,
|
publicationType: publicationType,
|
||||||
folderId: folderId,
|
folderId: folderId,
|
||||||
},
|
},
|
||||||
cssClass: 'new-publication',
|
cssClass: 'new-publication modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
@@ -109,7 +109,7 @@ export class ViewPublicationsPage implements OnInit {
|
|||||||
publicationId: publicationId,
|
publicationId: publicationId,
|
||||||
folderId: this.folderId,
|
folderId: this.folderId,
|
||||||
},
|
},
|
||||||
cssClass: 'publication-detail',
|
cssClass: 'publication-detail modal modal-desktop',
|
||||||
backdropDismiss: false
|
backdropDismiss: false
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
|
|||||||
@@ -146,7 +146,11 @@
|
|||||||
src="assets/images/icons-viagem.svg"></ion-icon>
|
src="assets/images/icons-viagem.svg"></ion-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="content ion-align-items-center">
|
<div class="content ion-align-items-center">
|
||||||
<p class="result-name">{{ searchDocument.Assunto}}</p>
|
|
||||||
|
<div class="d-flex ion-justify-content-between ">
|
||||||
|
<span class="result-name">{{ searchDocument.Assunto}}</span>
|
||||||
|
<span class="app-name" *ngIf="currentPath == '/home/gabinete-digital' ">{{ searchDocument.appName}}</span>
|
||||||
|
</div>
|
||||||
<div class="d-flex ion-justify-content-between ">
|
<div class="d-flex ion-justify-content-between ">
|
||||||
<span class="organic-entity">{{ searchDocument.EntidadeOrganicaNome }}</span>
|
<span class="organic-entity">{{ searchDocument.EntidadeOrganicaNome }}</span>
|
||||||
<span class="documente-date">{{ formateIsoDate(searchDocument.Data) }}</span>
|
<span class="documente-date">{{ formateIsoDate(searchDocument.Data) }}</span>
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ ion-slide{
|
|||||||
.content{
|
.content{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
p{
|
.result-name{
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-family: Roboto;
|
font-family: Roboto;
|
||||||
@@ -169,6 +169,22 @@ ion-slide{
|
|||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
color: #797979;
|
color: #797979;
|
||||||
}
|
}
|
||||||
|
.app-name{
|
||||||
|
background: #42b9f2;
|
||||||
|
border-radius: 18px;
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0px 5px;
|
||||||
|
color: white;
|
||||||
|
font-size: 9pt;
|
||||||
|
font-weight: 500;
|
||||||
|
height: 19px;
|
||||||
|
-webkit-border-radius: 18px;
|
||||||
|
-moz-border-radius: 18px;
|
||||||
|
-ms-border-radius: 18px;
|
||||||
|
-o-border-radius: 18px;
|
||||||
|
}
|
||||||
span.documente-date{
|
span.documente-date{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ export class SearchPage implements OnInit {
|
|||||||
|
|
||||||
showLoader: boolean;
|
showLoader: boolean;
|
||||||
|
|
||||||
|
currentPath: string
|
||||||
|
|
||||||
// See http://idangero.us/swiper/api/ for valid options.
|
// See http://idangero.us/swiper/api/ for valid options.
|
||||||
slideOpts = {
|
slideOpts = {
|
||||||
slidesPerView: parseInt(`${window.innerWidth/147}`, 10),
|
slidesPerView: parseInt(`${window.innerWidth/147}`, 10),
|
||||||
@@ -53,6 +55,8 @@ export class SearchPage implements OnInit {
|
|||||||
private search: SearchService,
|
private search: SearchService,
|
||||||
private modalCtrl: ModalController,) {
|
private modalCtrl: ModalController,) {
|
||||||
this.ordinance = "recent";
|
this.ordinance = "recent";
|
||||||
|
|
||||||
|
this.currentPath= window.location.pathname;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@@ -220,6 +224,7 @@ export class SearchPage implements OnInit {
|
|||||||
// bind respose
|
// bind respose
|
||||||
|
|
||||||
this.sortArrayISODate(res.Documents).forEach(e => {
|
this.sortArrayISODate(res.Documents).forEach(e => {
|
||||||
|
e['appName'] = 'Correspondencia'
|
||||||
this.searchDocuments.push(e)
|
this.searchDocuments.push(e)
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -245,6 +250,7 @@ export class SearchPage implements OnInit {
|
|||||||
|
|
||||||
|
|
||||||
this.sortArrayISODate(res.Documents).forEach(e => {
|
this.sortArrayISODate(res.Documents).forEach(e => {
|
||||||
|
e['appName'] = 'ArquivoDespachoElect'
|
||||||
this.searchDocuments.push(e)
|
this.searchDocuments.push(e)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<ion-content>
|
<ion-content>
|
||||||
<div class="title width-100">
|
<div class="title width-100">
|
||||||
<div class="title-container">
|
<div class="title-container d-flex justify-space-between">
|
||||||
<span class="text-center mt-0 aside-title px-20"><label>Eventos para Aprovação</label></span>
|
<span class="text-center mt-0 aside-title px-20"><label>Eventos para Aprovação</label></span>
|
||||||
<button class="btn-no-color" (click)="doRefresh($event)">
|
<button class="btn-no-color" (click)="doRefresh($event)">
|
||||||
<ion-icon class="title-icon" name="reload-circle"></ion-icon>
|
<ion-icon class="title-icon" name="reload-circle"></ion-icon>
|
||||||
|
|||||||
@@ -108,7 +108,6 @@
|
|||||||
|
|
||||||
.actions-icon{
|
.actions-icon{
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow: auto;
|
|
||||||
align-items: top;
|
align-items: top;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
@@ -116,7 +115,6 @@
|
|||||||
.actions-icon ion-icon{
|
.actions-icon ion-icon{
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
float: right;
|
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
/* .title-icon{
|
/* .title-icon{
|
||||||
|
|||||||
+2
-35
@@ -399,24 +399,7 @@ border-top: 1px solid #d8d8d8;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
.gabinete-digital-mobile-modal-to-Desktop{
|
|
||||||
top: 75px;
|
|
||||||
left: 340px;
|
|
||||||
transform: none !important;
|
|
||||||
ion-backdrop{
|
|
||||||
display: none;
|
|
||||||
transform: none !important;
|
|
||||||
}
|
|
||||||
.modal-wrapper{
|
|
||||||
transform: none !important;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
box-shadow: none !important;
|
|
||||||
.ion-page {
|
|
||||||
transform: none !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.chat-mobile-modal-to-Desktop{
|
.chat-mobile-modal-to-Desktop{
|
||||||
top: 75px;
|
top: 75px;
|
||||||
@@ -438,20 +421,6 @@ border-top: 1px solid #d8d8d8;
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 1365px) {
|
@media only screen and (min-width: 1365px) {
|
||||||
.gabinete-digital-mobile-modal-to-Desktop{
|
|
||||||
//top: 75px;
|
|
||||||
left: 40%;
|
|
||||||
|
|
||||||
.modal-wrapper{
|
|
||||||
transform: none !important;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
box-shadow: none !important;
|
|
||||||
.ion-page {
|
|
||||||
transform: none !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-modal{
|
.search-modal{
|
||||||
ion-backdrop{
|
ion-backdrop{
|
||||||
@@ -490,9 +459,7 @@ border-top: 1px solid #d8d8d8;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.gabinete-digital-mobile-modal-to-Desktop{
|
|
||||||
border-top-right-radius: 27px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Breakpoints */
|
/* Breakpoints */
|
||||||
._xs{
|
._xs{
|
||||||
|
|||||||
Reference in New Issue
Block a user