mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
save
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
|
||||
<!-- most searched word-->
|
||||
<div class="most-searched-words d-md-flex flex-md-column">
|
||||
<p class="title ion-text-center">Assunto mais pesquisado</p>
|
||||
<p class="title ion-text-center">Assuntos mais recebidos</p>
|
||||
<div class="most-searched-word-container height-100 overflow-y-auto">
|
||||
</div>
|
||||
</div>
|
||||
@@ -121,8 +121,8 @@
|
||||
<div class="d-flex sort-by ion-justify-content-center">
|
||||
<p>
|
||||
<span class="order">Order por:</span>
|
||||
<span *ngIf="ordinance == 'recent'" class="order-labal">Mais Recente</span>
|
||||
<span *ngIf="ordinance == 'old'" class="order-labal">Mais Antigo</span>
|
||||
<span *ngIf="ordinance == 'recent'" class="order-labal">Mais Recentes</span>
|
||||
<span *ngIf="ordinance == 'old'" class="order-labal">Mais Antigos</span>
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -9,6 +9,7 @@ import { OrganicEntityPage } from 'src/app/pages/search/organic-entity/organic-e
|
||||
import WordCloud from 'src/plugin/wordcloud2.js';
|
||||
import { ViewEventPage } from 'src/app/pages/agenda/view-event/view-event.page';
|
||||
import { PublicationDetailPage } from '../publications/view-publications/publication-detail/publication-detail.page';
|
||||
import { ExpedienteDetailPage } from '../gabinete-digital/expediente/expediente-detail/expediente-detail.page';
|
||||
@Component({
|
||||
selector: 'app-search',
|
||||
templateUrl: './search.page.html',
|
||||
@@ -421,6 +422,8 @@ export class SearchPage implements OnInit {
|
||||
|
||||
|
||||
async viewDetail(id:any) {
|
||||
console.log(id);
|
||||
|
||||
|
||||
if(window.location.pathname == '/home/agenda'){
|
||||
|
||||
@@ -430,7 +433,6 @@ export class SearchPage implements OnInit {
|
||||
eventId: id
|
||||
},
|
||||
cssClass: 'modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then((res)=>{});
|
||||
@@ -439,6 +441,10 @@ export class SearchPage implements OnInit {
|
||||
|
||||
this.viewPublicationDetail(id);
|
||||
}
|
||||
else if(window.location.pathname == '/home/gabinete-digital'){
|
||||
console.log('OPEN DOC');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -456,5 +462,28 @@ export class SearchPage implements OnInit {
|
||||
modal.onDidDismiss().then(()=>{});
|
||||
|
||||
}
|
||||
|
||||
async viewExpedientDetail(serialNumber:any) {
|
||||
|
||||
let classs;
|
||||
if( window.innerWidth <= 800){
|
||||
classs = 'modal modal-desktop'
|
||||
} else {
|
||||
classs = 'gabinete-digital-mobile-modal-to-Desktop'
|
||||
}
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: ExpedienteDetailPage,
|
||||
componentProps:{
|
||||
serialNumber: serialNumber,
|
||||
profile: 'mdgpr',
|
||||
},
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user