mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</ion-refresher>
|
||||
<div class="main-content d-flex height-100">
|
||||
<!-- Aside left -->
|
||||
<div class="aside-wrapper d-flex flex-column pt-25">
|
||||
<div class="aside-wrapper d-flex flex-column pt-25 flex-grow-1">
|
||||
<!-- <p class="text-center mt-0 aside-title px-20">Chat</p> -->
|
||||
<div class="title-content">
|
||||
<div class="div-title">
|
||||
|
||||
@@ -11,6 +11,7 @@ import { PendentesPage } from './pendentes/pendentes.page';
|
||||
import { AuthService } from 'src/app/services/auth.service';
|
||||
import { User } from 'src/app/models/user.model';
|
||||
import { DespachosPrPage } from 'src/app/pages/gabinete-digital/despachos-pr/despachos-pr.page'
|
||||
import { DiplomasPage } from 'src/app/shared/gabinete-digital/diplomas/diplomas.page';
|
||||
@Component({
|
||||
selector: 'app-gabinete-digital',
|
||||
templateUrl: './gabinete-digital.page.html',
|
||||
@@ -267,7 +268,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
console.log(data);
|
||||
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 1024){
|
||||
if( window.innerWidth <= 800){
|
||||
//this.openExpedientList();
|
||||
}
|
||||
else{
|
||||
@@ -278,7 +279,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
|
||||
openPedidosPage(segment:string){
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 1024){
|
||||
if( window.innerWidth <= 800){
|
||||
this.openPedidoList();
|
||||
}
|
||||
else{
|
||||
@@ -289,7 +290,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
|
||||
openDespachosPage(segment:string){
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 1024){
|
||||
if( window.innerWidth <= 800){
|
||||
this.openDespachoList();
|
||||
}
|
||||
else{
|
||||
@@ -299,7 +300,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
|
||||
openDespachosPrPage(segment:string) {
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 1024){
|
||||
if( window.innerWidth <= 800){
|
||||
this.openDespachoListPr();
|
||||
}
|
||||
else{
|
||||
@@ -309,7 +310,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
|
||||
openPendentesPage(segment:string){
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 1024){
|
||||
if( window.innerWidth <= 800){
|
||||
this.openPendenteList();
|
||||
}
|
||||
else{
|
||||
@@ -319,7 +320,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
|
||||
openExpedientesPrPage(segment:string){
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 1024){
|
||||
if( window.innerWidth <= 800){
|
||||
//this.openDespachoList();
|
||||
}
|
||||
else{
|
||||
@@ -329,8 +330,8 @@ export class GabineteDigitalPage implements OnInit {
|
||||
|
||||
openDiplomasPage(segment:string){
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 1024){
|
||||
//this.openPendenteList();
|
||||
if( window.innerWidth <= 800){
|
||||
this.openDeploma();
|
||||
}
|
||||
else{
|
||||
this.segment = segment;
|
||||
@@ -338,6 +339,21 @@ export class GabineteDigitalPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
async openDeploma() {
|
||||
const modal = await this.modalController.create({
|
||||
component: DiplomasPage,
|
||||
componentProps:{
|
||||
profile: this.profile,
|
||||
},
|
||||
cssClass: 'modal modal-desktop',
|
||||
//backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
}
|
||||
|
||||
async openExpedientList(){
|
||||
this.closeAllDesktopComponent();
|
||||
//if( window.innerWidth <= 1024){
|
||||
@@ -414,6 +430,4 @@ export class GabineteDigitalPage implements OnInit {
|
||||
console.log('show desktop modal')
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user