Merge branch 'developer-c' of bitbucket.org:equilibriumito/gabinete-digital into developer-c

This commit is contained in:
Peter Maquiran
2021-04-08 23:03:33 +01:00
5 changed files with 17 additions and 24 deletions
+1
View File
@@ -161,6 +161,7 @@ export class AgendaPage implements OnInit {
this.showLoader = false; this.showLoader = false;
this.showTimelineFilterState = false; this.showTimelineFilterState = false;
this.showTimeline = false; this.showTimeline = false;
this.mobileComponent.showEventList = true;
} }
+3 -7
View File
@@ -90,13 +90,9 @@
<ion-icon class="icon" slot="end" src="assets/images/icons-correspondencias.svg"></ion-icon> <ion-icon class="icon" slot="end" src="assets/images/icons-correspondencias.svg"></ion-icon>
<div class="text">Correspondência por ler</div> <div class="text">Correspondência por ler</div>
</div> </div>
<ion-icon <button class="btn-no-color" (click)="viewExpedientListPage()">
class="icon-next" <ion-icon class="icon-next" slot="end" src="assets/images/icons-arrow-circle-arrow-right.svg"></ion-icon>
slot="end" </button>
src="assets/images/icons-arrow-circle-arrow-right.svg"
(click)="viewExpedientListPage()"
></ion-icon>
</div> </div>
<div class="content"> <div class="content">
<ion-list> <ion-list>
@@ -14,7 +14,9 @@
<div class="aside-wrapper d-flex flex-column pt-25 justify-center width-md-40 "> <div class="aside-wrapper d-flex flex-column pt-25 justify-center width-md-40 ">
<div class="title-container"> <div class="title-container">
<span class="text-center mt-0 aside-title px-20">Gabinete Digital</span> <span class="text-center mt-0 aside-title px-20">Gabinete Digital</span>
<ion-icon (click)="doRefresh($event)" class="title-icon" name="reload-circle"></ion-icon> <button class="btn-no-color" (click)="doRefresh($event)">
<ion-icon class="title-icon" name="reload-circle"></ion-icon>
</button>
</div> </div>
<div class="aside overflow-y-auto d-flex d-md-block flex-wrap justify-center width-100 px-20"> <div class="aside overflow-y-auto d-flex d-md-block flex-wrap justify-center width-100 px-20">
@@ -13,11 +13,15 @@ ion-content{
} }
.title-container{ .title-container{
margin-bottom: 15px; margin-bottom: 15px;
.btn-no-color{
display: flex;
float: right;
}
.title-icon{ .title-icon{
float: right; float: right;
margin-right: 20px; margin-right: 20px;
font-size: 30px; font-size: 30px;
color: #0782c9; color: #42b9fe;
} }
} }
@@ -33,8 +33,8 @@ export class GabineteDigitalPage implements OnInit {
showExpediente : false showExpediente : false
} }
showEventsToApprove = false; showEventsToApprove = false;
showEmptyContainer = true; showEmptyContainer = false;
showExpedients = false; showExpedients = true;
showExpedientDetail = false; showExpedientDetail = false;
emptyTextDescription = 'Sem opção selecionada'; emptyTextDescription = 'Sem opção selecionada';
@@ -58,23 +58,13 @@ export class GabineteDigitalPage implements OnInit {
this.adjastModalHeight(); this.adjastModalHeight();
/* this.activatedRoute.queryParams.subscribe(params => { this.activatedRoute.queryParams.subscribe(params => {
if(params["show"]){ if(params["show"]){
this.openExpedientListPage(); this.openExpedientListPage();
} }
else if(params["events-to-approve"]){ else if(params["events"]){
this.openEventsToApprovePage("MDGPR"); this.openEventsToApprovePage("MDGPR");
} }
}); */
this.activatedRoute.paramMap.subscribe(paramMap =>{
if (paramMap.has("show")){
this.openExpedientListPage();
}
else if(paramMap.has("events")){
this.openEventsToApprovePage("MDGPR");
this.LoadCounts();
}
}); });
} }
@@ -161,7 +151,7 @@ this.processesbackend.GetActionsList().subscribe(res=>{
doRefresh(event) { doRefresh(event) {
this.closeAllDesktopComponents(); this.closeAllDesktopComponents();
this.showEmptyContainer = true; this.showExpedients = true;
this.LoadCounts(); this.LoadCounts();
setTimeout(() => { setTimeout(() => {