mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
-style approve entents for desktop finished
-style expedient for desktop ongoing
This commit is contained in:
@@ -31,6 +31,10 @@ export class GabineteDigitalPage implements OnInit {
|
||||
showEventList: false,
|
||||
showExpediente : false
|
||||
}
|
||||
showEventsToApprove = true;
|
||||
showEmptyContainer = false;
|
||||
showExpedients = false;
|
||||
emptyTextDescription = 'Sem opção selecionada';
|
||||
|
||||
constructor(
|
||||
private processesbackend:ProcessesService,
|
||||
@@ -90,6 +94,13 @@ this.processesbackend.GetActionsList().subscribe(res=>{
|
||||
});
|
||||
}
|
||||
|
||||
closeAllDesktopComponents(){
|
||||
this.showEmptyContainer = false;
|
||||
this.showEventsToApprove = false;
|
||||
this.showExpedients = false;
|
||||
this.showExpedients = false;
|
||||
}
|
||||
|
||||
LoadCounts() {
|
||||
this.showLoader = true;
|
||||
this.processesbackend.GetTasksList("Expediente", true).subscribe(res =>{
|
||||
@@ -122,6 +133,16 @@ this.processesbackend.GetActionsList().subscribe(res=>{
|
||||
notImplemented(){
|
||||
this.alertService.presentAlert('Funcionalidade em desenvolvimento');
|
||||
}
|
||||
|
||||
openEventsToApprovePage(segment:any){
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 1024){
|
||||
this.openEventsToApproveList(segment);
|
||||
}
|
||||
else{
|
||||
this.showEventsToApprove = true;
|
||||
}
|
||||
}
|
||||
|
||||
async openEventsToApproveList(segment:any){
|
||||
|
||||
@@ -151,7 +172,15 @@ this.processesbackend.GetActionsList().subscribe(res=>{
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
openExpedientListPage(){
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 1024){
|
||||
this.openExpedientList();
|
||||
}
|
||||
else{
|
||||
this.showExpedients = true;
|
||||
}
|
||||
}
|
||||
async openExpedientList(){
|
||||
|
||||
this.closeAllDesktopComponent();
|
||||
|
||||
Reference in New Issue
Block a user