mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
labels
This commit is contained in:
@@ -122,10 +122,8 @@ export class HomePage implements OnInit {
|
|||||||
SessionStore.setUrlBeforeInactivity(pathname)
|
SessionStore.setUrlBeforeInactivity(pathname)
|
||||||
|
|
||||||
if (this.platform.is('mobileweb')) {
|
if (this.platform.is('mobileweb')) {
|
||||||
// this.router.navigate(['/inactivity']);
|
|
||||||
window.location.pathname = '/inactivity'
|
window.location.pathname = '/inactivity'
|
||||||
} else {
|
} else {
|
||||||
// this.router.navigate(['/']);
|
|
||||||
window.location.pathname = '/'
|
window.location.pathname = '/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -135,7 +133,6 @@ export class HomePage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goto(url) {
|
goto(url) {
|
||||||
// this.router.navigateByUrl('/home/events', { replaceUrl: true });
|
|
||||||
this.router.navigate([url], { replaceUrl: true })
|
this.router.navigate([url], { replaceUrl: true })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -186,7 +186,6 @@ export class CreateProcessPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
//this.router.navigate(['/home/gabinete-digital/expediente']);
|
|
||||||
this.modalController.dismiss(null);
|
this.modalController.dismiss(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -270,7 +270,7 @@
|
|||||||
</ion-row>
|
</ion-row>
|
||||||
|
|
||||||
<div style="padding-right: 50px" class=" text-black align-center cursor-pointer" (click)="changeSegment('Combinado')" [class.active]="segment == 'Combinado' ">
|
<div style="padding-right: 50px" class=" text-black align-center cursor-pointer" (click)="changeSegment('Combinado')" [class.active]="segment == 'Combinado' ">
|
||||||
Todos
|
Todas
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-right: 50px" class=" text-black align-center cursor-pointer" (click)="changeSegment('Pessoal')" [class.active]="segment == 'Pessoal' ">
|
<div style="padding-right: 50px" class=" text-black align-center cursor-pointer" (click)="changeSegment('Pessoal')" [class.active]="segment == 'Pessoal' ">
|
||||||
Pessoais
|
Pessoais
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
<div class="schedule-header">
|
<div class="schedule-header">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<ion-icon class="icon" slot="end" src="assets/images/icons-default-agenda.svg" ></ion-icon>
|
<ion-icon class="icon" slot="end" src="assets/images/icons-default-agenda.svg" ></ion-icon>
|
||||||
<div class="text">A sua Agenda</div>
|
<div class="text">A sua agenda do dia</div>
|
||||||
</div>
|
</div>
|
||||||
<button title="Ir para a sua Agenda" class="btn-no-color" [routerLink]="['/home/agenda']">
|
<button title="Ir para a sua Agenda" class="btn-no-color" [routerLink]="['/home/agenda']">
|
||||||
<ion-icon
|
<ion-icon
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
<div class="schedule-header">
|
<div class="schedule-header">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<ion-icon class="icon" slot="end" src="assets/images/icons-default-agenda.svg" ></ion-icon>
|
<ion-icon class="icon" slot="end" src="assets/images/icons-default-agenda.svg" ></ion-icon>
|
||||||
<div class="text">A sua Agenda</div>
|
<div class="text">A sua agenda do dia</div>
|
||||||
</div>
|
</div>
|
||||||
<button title="Ir para a sua Agenda" class="btn-no-color" [routerLink]="['/home/agenda']">
|
<button title="Ir para a sua Agenda" class="btn-no-color" [routerLink]="['/home/agenda']">
|
||||||
<ion-icon
|
<ion-icon
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import { SessionStore } from 'src/app/store/session.service';
|
|||||||
import { CustomTaskPipe } from 'src/app/pipes/custom-task.pipe';
|
import { CustomTaskPipe } from 'src/app/pipes/custom-task.pipe';
|
||||||
import { environment } from 'src/environments/environment';
|
import { environment } from 'src/environments/environment';
|
||||||
import { TaskService } from 'src/app/services/task.service'
|
import { TaskService } from 'src/app/services/task.service'
|
||||||
|
import { RouteService } from 'src/app/services/route.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-despachos-pr',
|
selector: 'app-despachos-pr',
|
||||||
@@ -75,7 +76,8 @@ export class DespachosPrPage implements OnInit {
|
|||||||
private backgroundservice: BackgroundService,
|
private backgroundservice: BackgroundService,
|
||||||
private sortService: SortService,
|
private sortService: SortService,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
public TaskService: TaskService
|
public TaskService: TaskService,
|
||||||
|
private RouteService: RouteService,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
this.profile = 'mdgpr';
|
this.profile = 'mdgpr';
|
||||||
@@ -289,7 +291,7 @@ export class DespachosPrPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.router.navigate(['/home/gabinete-digital']);
|
this.RouteService.goBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,15 +29,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="OverdueTasks">
|
<mat-option value="OverdueTasks">
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
|
|||||||
import { NavigationStart, Router } from '@angular/router';
|
import { NavigationStart, Router } from '@angular/router';
|
||||||
import { DespachoService } from 'src/app/Rules/despacho.service';
|
import { DespachoService } from 'src/app/Rules/despacho.service';
|
||||||
import { DespachoStore } from 'src/app/store/despacho-store.service';
|
import { DespachoStore } from 'src/app/store/despacho-store.service';
|
||||||
|
import { RouteService } from 'src/app/services/route.service';
|
||||||
import { SqliteService } from 'src/app/services/sqlite.service';
|
import { SqliteService } from 'src/app/services/sqlite.service';
|
||||||
import { Platform } from '@ionic/angular';
|
import { Platform } from '@ionic/angular';
|
||||||
import { BackgroundService } from 'src/app/services/background.service';
|
import { BackgroundService } from 'src/app/services/background.service';
|
||||||
@@ -32,7 +32,8 @@ export class DespachosPage implements OnInit {
|
|||||||
private platform: Platform,
|
private platform: Platform,
|
||||||
private backgroundservice: BackgroundService,
|
private backgroundservice: BackgroundService,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
public TaskService: TaskService
|
public TaskService: TaskService,
|
||||||
|
private RouteService: RouteService,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@@ -139,11 +140,7 @@ export class DespachosPage implements OnInit {
|
|||||||
|
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.router.navigate(['/home/gabinete-digital']);
|
this.RouteService.goBack();
|
||||||
}
|
|
||||||
|
|
||||||
goToList() {
|
|
||||||
this.router.navigate(['/home/gabinete-digital/despachos']);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,15 +23,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="OverdueTasks">
|
<mat-option value="OverdueTasks">
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import { SortService } from 'src/app/services/functions/sort.service';
|
|||||||
import { ThemeService } from 'src/app/services/theme.service'
|
import { ThemeService } from 'src/app/services/theme.service'
|
||||||
import { DeplomasStore } from 'src/app/store/deplomas.service';
|
import { DeplomasStore } from 'src/app/store/deplomas.service';
|
||||||
import { TaskService } from 'src/app/services/task.service'
|
import { TaskService } from 'src/app/services/task.service'
|
||||||
|
import { RouteService } from 'src/app/services/route.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-diplomas-assinar',
|
selector: 'app-diplomas-assinar',
|
||||||
@@ -41,7 +42,8 @@ export class DiplomasAssinarPage implements OnInit {
|
|||||||
private router: Router,
|
private router: Router,
|
||||||
private sortService: SortService,
|
private sortService: SortService,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
public TaskService: TaskService) {
|
public TaskService: TaskService,
|
||||||
|
private RouteService: RouteService,) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@@ -126,8 +128,9 @@ export class DiplomasAssinarPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.router.navigate(['/home/gabinete-digital']);
|
// this.router.navigate(['/home/gabinete-digital']);
|
||||||
// window.history.back()
|
// window.history.back()
|
||||||
|
this.RouteService.goBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { SortService } from 'src/app/services/functions/sort.service';
|
|||||||
import { ThemeService } from 'src/app/services/theme.service'
|
import { ThemeService } from 'src/app/services/theme.service'
|
||||||
import { DeplomasStore } from 'src/app/store/deplomas.service';
|
import { DeplomasStore } from 'src/app/store/deplomas.service';
|
||||||
import { TaskService } from 'src/app/services/task.service'
|
import { TaskService } from 'src/app/services/task.service'
|
||||||
|
import { RouteService } from 'src/app/services/route.service';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-diplomas-gerars',
|
selector: 'app-diplomas-gerars',
|
||||||
templateUrl: './diplomas-gerar.page.html',
|
templateUrl: './diplomas-gerar.page.html',
|
||||||
@@ -42,7 +42,8 @@ export class DiplomasGerarPage implements OnInit {
|
|||||||
private router: Router,
|
private router: Router,
|
||||||
private sortService: SortService,
|
private sortService: SortService,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
public TaskService: TaskService) {
|
public TaskService: TaskService,
|
||||||
|
private RouteService: RouteService,) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@@ -139,7 +140,7 @@ export class DiplomasGerarPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.router.navigate(['/home/gabinete-digital']);
|
this.RouteService.goBack();
|
||||||
// window.history.back()
|
// window.history.back()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,31 +85,7 @@ export class DiplomaPage implements OnInit {
|
|||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.RouteService.goBack();
|
this.RouteService.goBack();
|
||||||
/* if(this.task.Status == "Pending" && this.caller == 'gabinete-digital'){
|
|
||||||
if (window.innerWidth < 801) {
|
|
||||||
this.router.navigate(['/home/gabinete-digital/pendentes']);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
let navigationExtras: NavigationExtras = {
|
|
||||||
queryParams: {
|
|
||||||
"pendentes": true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
if (window.innerWidth < 801) {
|
|
||||||
this.router.navigate(['/home/gabinete-digital/diplomas']);
|
|
||||||
} else {
|
|
||||||
let navigationExtras: NavigationExtras = {
|
|
||||||
queryParams: {
|
|
||||||
'diplomas': true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
}
|
|
||||||
} */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async openOptions(taskAction?: any) {
|
async openOptions(taskAction?: any) {
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import { PermissionService } from 'src/app/services/permission.service';
|
|||||||
import { DeplomasStore } from 'src/app/store/deplomas.service';
|
import { DeplomasStore } from 'src/app/store/deplomas.service';
|
||||||
import { CustomTaskPipe } from 'src/app/pipes/custom-task.pipe';
|
import { CustomTaskPipe } from 'src/app/pipes/custom-task.pipe';
|
||||||
import { TaskService } from 'src/app/services/task.service'
|
import { TaskService } from 'src/app/services/task.service'
|
||||||
|
import { RouteService } from 'src/app/services/route.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-diplomas',
|
selector: 'app-diplomas',
|
||||||
@@ -46,7 +47,8 @@ export class DiplomasPage implements OnInit, OnDestroy {
|
|||||||
private sortService: SortService,
|
private sortService: SortService,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
public p: PermissionService,
|
public p: PermissionService,
|
||||||
public TaskService: TaskService
|
public TaskService: TaskService,
|
||||||
|
private RouteService: RouteService,
|
||||||
) {
|
) {
|
||||||
//Inicializar segment
|
//Inicializar segment
|
||||||
|
|
||||||
@@ -223,8 +225,7 @@ export class DiplomasPage implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.router.navigate(['/home/gabinete-digital']);
|
this.RouteService.goBack();
|
||||||
// window.history.back()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -71,7 +71,6 @@ export class ApproveEventModalPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
close(){
|
close(){
|
||||||
/* this.router.navigate(['/home/gabinete-digital/event-list']); */
|
|
||||||
this.modalController.dismiss(null);
|
this.modalController.dismiss(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -95,16 +95,6 @@ export class ApproveEventPage implements OnInit {
|
|||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.RouteService.goBack();
|
this.RouteService.goBack();
|
||||||
/* let navigationExtras: NavigationExtras = {
|
|
||||||
queryParams: {
|
|
||||||
"eventos": true,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
if( window.innerWidth < 801) {
|
|
||||||
this.router.navigate(['/home',this.caller, 'event-list']);
|
|
||||||
} else {
|
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
} */
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -31,15 +31,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não Lidos" >
|
<mat-option value="Não Lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
+4
-1
@@ -25,6 +25,8 @@ import { ThemeService } from 'src/app/services/theme.service'
|
|||||||
import { SessionStore } from 'src/app/store/session.service';
|
import { SessionStore } from 'src/app/store/session.service';
|
||||||
import { PermissionService } from 'src/app/services/permission.service';
|
import { PermissionService } from 'src/app/services/permission.service';
|
||||||
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
||||||
|
import { RouteService } from 'src/app/services/route.service';
|
||||||
|
|
||||||
|
|
||||||
const CUSTOM_DATE_FORMATS: NgxMatDateFormats = {
|
const CUSTOM_DATE_FORMATS: NgxMatDateFormats = {
|
||||||
parse: {
|
parse: {
|
||||||
@@ -113,6 +115,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
public p: PermissionService,
|
public p: PermissionService,
|
||||||
private httpErroHandle: HttpErrorHandle,
|
private httpErroHandle: HttpErrorHandle,
|
||||||
|
private RouteService: RouteService,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
this.loggeduser = SessionStore.user;
|
this.loggeduser = SessionStore.user;
|
||||||
@@ -178,7 +181,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
this.RouteService.goBack();
|
||||||
this.modalController.dismiss(null);
|
this.modalController.dismiss(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -32,15 +32,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import { Storage } from '@ionic/storage';
|
|||||||
import { EventTrigger } from 'src/app/services/eventTrigger.service';
|
import { EventTrigger } from 'src/app/services/eventTrigger.service';
|
||||||
import { TaskDeadlineService } from 'src/app/services/task-deadline.service'
|
import { TaskDeadlineService } from 'src/app/services/task-deadline.service'
|
||||||
import { TaskService } from 'src/app/services/task.service'
|
import { TaskService } from 'src/app/services/task.service'
|
||||||
|
import { RouteService } from 'src/app/services/route.service';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-expediente',
|
selector: 'app-expediente',
|
||||||
templateUrl: './expediente.page.html',
|
templateUrl: './expediente.page.html',
|
||||||
@@ -51,7 +51,8 @@ export class ExpedientePage implements OnInit {
|
|||||||
private storage: Storage,
|
private storage: Storage,
|
||||||
private eventTriger: EventTrigger,
|
private eventTriger: EventTrigger,
|
||||||
public TaskDeadlineService: TaskDeadlineService,
|
public TaskDeadlineService: TaskDeadlineService,
|
||||||
public TaskService: TaskService
|
public TaskService: TaskService,
|
||||||
|
private RouteService: RouteService,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
this.eventTriger.getObservable().subscribe((event) => {
|
this.eventTriger.getObservable().subscribe((event) => {
|
||||||
@@ -158,7 +159,7 @@ export class ExpedientePage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.router.navigate(['/home/gabinete-digital']);
|
this.RouteService.goBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
goToExpediente(serialNumber: any) {
|
goToExpediente(serialNumber: any) {
|
||||||
|
|||||||
@@ -101,41 +101,6 @@ export class ExpedientePrPage implements OnInit {
|
|||||||
goBack() {
|
goBack() {
|
||||||
this.TaskService.loadExpedientes()
|
this.TaskService.loadExpedientes()
|
||||||
this.RouteService.goBack();
|
this.RouteService.goBack();
|
||||||
/* if(this.task.Status == "Pending" && this.caller != 'events'){
|
|
||||||
if (window.innerWidth <= 800) {
|
|
||||||
this.router.navigate(['/home/gabinete-digital/pendentes']);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
let navigationExtras: NavigationExtras = {
|
|
||||||
queryParams: {
|
|
||||||
"pendentes": true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
this.activatedRoute.paramMap.subscribe(params => {
|
|
||||||
switch (params["params"].caller) {
|
|
||||||
case 'events':
|
|
||||||
this.router.navigate(['/home',params["params"].caller]);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'gabinete-digital':
|
|
||||||
let navigationExtras: NavigationExtras = {
|
|
||||||
queryParams: {
|
|
||||||
"expedientes-pr": true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if( window.innerWidth < 801) {
|
|
||||||
this.router.navigate(['/home/gabinete-digital/expedientes-pr']);
|
|
||||||
} else {
|
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sendExpedienteToPending() {
|
sendExpedienteToPending() {
|
||||||
|
|||||||
@@ -143,7 +143,6 @@ export class ExpedientesPrPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goToExpediente({SerialNumber}){
|
goToExpediente({SerialNumber}){
|
||||||
//this.router.navigate(['/home/gabinete-digital/expedientes-pr',serialNumber,'gabinete-digital']);
|
|
||||||
this.router.navigate(['/home/gabinete-digital/expediente', SerialNumber, 'gabinete-digital']);
|
this.router.navigate(['/home/gabinete-digital/expediente', SerialNumber, 'gabinete-digital']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,15 +22,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="OverdueTasks">
|
<mat-option value="OverdueTasks">
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
@@ -121,15 +121,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="OverdueTasks">
|
<mat-option value="OverdueTasks">
|
||||||
@@ -137,7 +137,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@@ -262,6 +262,7 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.checkRoutes()
|
||||||
this.hideRefreshButton();
|
this.hideRefreshButton();
|
||||||
|
|
||||||
// console.log(' this.scroll', this.scroll)
|
// console.log(' this.scroll', this.scroll)
|
||||||
@@ -390,9 +391,12 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
|
|
||||||
checkRoutes() {
|
checkRoutes() {
|
||||||
this.closeAllDesktopComponents();
|
this.closeAllDesktopComponents();
|
||||||
if (this.router.url == 'processes=true') {
|
|
||||||
|
// console.log(this.router.url, this.router.url.includes('processes=true'))
|
||||||
|
// alert('hello')
|
||||||
|
if (this.router.url.includes('processes=true')) {
|
||||||
this.openAllProcessesPage();
|
this.openAllProcessesPage();
|
||||||
this.selectedElement = 'allProcessesTag';
|
this.checkUser()
|
||||||
}
|
}
|
||||||
if (this.router.url == '/home/gabinete-digital?eventos=true') {
|
if (this.router.url == '/home/gabinete-digital?eventos=true') {
|
||||||
this.openEventsToApprovePage();
|
this.openEventsToApprovePage();
|
||||||
@@ -514,7 +518,7 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
this.router.navigate(['/home/gabinete-digital']);
|
this.router.navigate(['/home/gabinete-digital']);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
// this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
||||||
this.showAllProcesses = true;
|
this.showAllProcesses = true;
|
||||||
this.selectedElement = "allProcessesTag";
|
this.selectedElement = "allProcessesTag";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -608,40 +608,6 @@ export class PedidoPage implements OnInit {
|
|||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.RouteService.goBack();
|
this.RouteService.goBack();
|
||||||
// if(this.task.Status == "Pending" && this.caller == 'gabinete-digital'){
|
|
||||||
// if (window.innerWidth <= 700) {
|
|
||||||
// this.router.navigate(['/home/gabinete-digital/pendentes']);
|
|
||||||
// }
|
|
||||||
// else {
|
|
||||||
|
|
||||||
// let navigationExtras: NavigationExtras;
|
|
||||||
|
|
||||||
// if (this.task.activityInstanceName == 'Concluir Deferimento') {
|
|
||||||
// navigationExtras= { queryParams: {"deferimento": true,}};
|
|
||||||
// } else if (this.task.activityInstanceName == 'Tarefa de Parecer' ) {
|
|
||||||
// navigationExtras = { queryParams: {"parecer": true,}};
|
|
||||||
// }
|
|
||||||
|
|
||||||
// this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// else {
|
|
||||||
// if (window.innerWidth <= 700) {
|
|
||||||
// this.router.navigate(['/home/gabinete-digital/pedidos']);
|
|
||||||
// }
|
|
||||||
// else {
|
|
||||||
|
|
||||||
// let navigationExtras: NavigationExtras;
|
|
||||||
|
|
||||||
// if (this.task.activityInstanceName == 'Concluir Deferimento') {
|
|
||||||
// navigationExtras= { queryParams: {"deferimento": true,}};
|
|
||||||
// } else if (this.task.activityInstanceName == 'Tarefa de Parecer' ) {
|
|
||||||
|
|
||||||
// navigationExtras = { queryParams: {"parecer": true,}};
|
|
||||||
// }
|
|
||||||
// this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,15 +34,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="OverdueTasks">
|
<mat-option value="OverdueTasks">
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ import { SortService } from 'src/app/services/functions/sort.service';
|
|||||||
import { ThemeService } from 'src/app/services/theme.service'
|
import { ThemeService } from 'src/app/services/theme.service'
|
||||||
import { TaskService } from 'src/app/services/task.service'
|
import { TaskService } from 'src/app/services/task.service'
|
||||||
import { CustomTaskPipe } from 'src/app/pipes/custom-task.pipe';
|
import { CustomTaskPipe } from 'src/app/pipes/custom-task.pipe';
|
||||||
|
import { RouteService } from 'src/app/services/route.service';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-pedidos',
|
selector: 'app-pedidos',
|
||||||
templateUrl: './pedidos.page.html',
|
templateUrl: './pedidos.page.html',
|
||||||
@@ -62,7 +65,8 @@ export class PedidosPage implements OnInit {
|
|||||||
private backgroundservice: BackgroundService,
|
private backgroundservice: BackgroundService,
|
||||||
private platform: Platform,
|
private platform: Platform,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
public TaskService: TaskService
|
public TaskService: TaskService,
|
||||||
|
private RouteService: RouteService,
|
||||||
) {
|
) {
|
||||||
this.segment = 'parecer';
|
this.segment = 'parecer';
|
||||||
|
|
||||||
@@ -138,23 +142,9 @@ export class PedidosPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.router.navigate(['/home/gabinete-digital']);
|
this.RouteService.goBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* segmentChanged(ev: any) {
|
|
||||||
|
|
||||||
let navigationExtras: NavigationExtras;
|
|
||||||
|
|
||||||
if (this.segment == 'deferimento') {
|
|
||||||
navigationExtras= { queryParams: {"deferimento": true,}};
|
|
||||||
} else if (this.segment == 'parecer') {
|
|
||||||
navigationExtras = { queryParams: {"parecer": true,}};
|
|
||||||
}
|
|
||||||
|
|
||||||
this.router.navigate(['/home/gabinete-digital/pedidos'], navigationExtras);
|
|
||||||
|
|
||||||
// this.LoadList();
|
|
||||||
} */
|
|
||||||
|
|
||||||
goToPedido(serialNumber: any) {
|
goToPedido(serialNumber: any) {
|
||||||
this.router.navigate(['/home/gabinete-digital/pedidos', serialNumber, 'gabinete-digital']);
|
this.router.navigate(['/home/gabinete-digital/pedidos', serialNumber, 'gabinete-digital']);
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import { SessionStore } from 'src/app/store/session.service';
|
|||||||
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
||||||
import { TaskService } from 'src/app/services/task.service'
|
import { TaskService } from 'src/app/services/task.service'
|
||||||
import { ThemeService } from 'src/app/services/theme.service'
|
import { ThemeService } from 'src/app/services/theme.service'
|
||||||
|
import { RouteService } from 'src/app/services/route.service';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-pendentes',
|
selector: 'app-pendentes',
|
||||||
templateUrl: './pendentes.page.html',
|
templateUrl: './pendentes.page.html',
|
||||||
@@ -62,6 +62,7 @@ export class PendentesPage implements OnInit {
|
|||||||
private httpErroHandle: HttpErrorHandle,
|
private httpErroHandle: HttpErrorHandle,
|
||||||
public TaskService: TaskService,
|
public TaskService: TaskService,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
|
private RouteService: RouteService,
|
||||||
) {
|
) {
|
||||||
this.loggeduser = SessionStore.user;
|
this.loggeduser = SessionStore.user;
|
||||||
this.profile = 'mdgpr';
|
this.profile = 'mdgpr';
|
||||||
@@ -128,7 +129,7 @@ export class PendentesPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.router.navigate(['/home/gabinete-digital']);
|
this.RouteService.goBack();
|
||||||
}
|
}
|
||||||
|
|
||||||
notImplemented() {
|
notImplemented() {
|
||||||
|
|||||||
@@ -61,15 +61,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="OverdueTasks">
|
<mat-option value="OverdueTasks">
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@@ -58,15 +58,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -54,15 +54,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -23,15 +23,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@@ -52,15 +52,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -57,15 +57,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -55,15 +55,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -56,15 +56,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="OverdueTasks">
|
<mat-option value="OverdueTasks">
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -60,15 +60,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="OverdueTasks">
|
<mat-option value="OverdueTasks">
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@@ -56,15 +56,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -55,15 +55,15 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Novos" >
|
<mat-option value="Novos" >
|
||||||
Novos
|
Novas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Lidos" >
|
<mat-option value="Lidos" >
|
||||||
Lidos
|
Lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Não lidos" >
|
<mat-option value="Não lidos" >
|
||||||
Não lidos
|
Não lidas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
<mat-option value="Todos" >
|
<mat-option value="Todos" >
|
||||||
Todos
|
Todas
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -87,54 +87,7 @@ export class OptsExpedientePage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
if(this.task.Status == "Pending" && this.caller != 'events') {
|
this.RouteService.goBack()
|
||||||
if (window.innerWidth <= 800) {
|
|
||||||
this.router.navigate(['/home/gabinete-digital/pendentes']);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
let navigationExtras: NavigationExtras = {
|
|
||||||
queryParams: {
|
|
||||||
"pendentes": true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
this.RouteService.goBack()
|
|
||||||
|
|
||||||
|
|
||||||
/* this.activatedRoute.paramMap.subscribe(params => {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
switch (params["params"].caller) {
|
|
||||||
case 'events':
|
|
||||||
|
|
||||||
|
|
||||||
this.router.navigate(['/home',params["params"].caller]);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'gabinete-digital':
|
|
||||||
|
|
||||||
let navigationExtras: NavigationExtras = {
|
|
||||||
queryParams: {
|
|
||||||
"expedientes": true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if( window.innerWidth < 801) {
|
|
||||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
|
||||||
|
|
||||||
|
|
||||||
} else {
|
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
}
|
|
||||||
}); */
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
attachDocument(){
|
attachDocument(){
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
export let versionData = {
|
export let versionData = {
|
||||||
"shortSHA": "04b5373ea",
|
"shortSHA": "2f6588c16",
|
||||||
"SHA": "04b5373eaa358edf7036441f15eb88461a1242a3",
|
"SHA": "2f6588c16488e7ab520cdacaa354abf1760b7506",
|
||||||
"branch": "feature/gabinete-search",
|
"branch": "feature/gabinete-search",
|
||||||
"lastCommitAuthor": "'Peter Maquiran'",
|
"lastCommitAuthor": "'Peter Maquiran'",
|
||||||
"lastCommitTime": "'Sat Jun 10 14:17:41 2023 +0100'",
|
"lastCommitTime": "'Sat Jun 10 14:44:42 2023 +0100'",
|
||||||
"lastCommitMessage": "remove limites",
|
"lastCommitMessage": "update details un upload file",
|
||||||
"lastCommitNumber": "4962",
|
"lastCommitNumber": "4963",
|
||||||
"change": "",
|
"change": "",
|
||||||
"changeStatus": "On branch feature/gabinete-search\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/gabinete-digital/event-list/approve-event/approve-event.page.ts\n\tmodified: src/app/shared/agenda/approve-event/approve-event.page.ts\n\tmodified: src/app/shared/agenda/edit-event-to-approve/edit-event-to-approve.page.ts",
|
"changeStatus": "On branch feature/gabinete-search\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/home/home.page.ts\n\tmodified: src/app/modals/create-process/create-process.page.ts\n\tmodified: src/app/pages/agenda/agenda.page.html\n\tmodified: src/app/pages/events/events.page.html\n\tmodified: src/app/pages/gabinete-digital/despachos-pr/despachos-pr.page.ts\n\tmodified: src/app/pages/gabinete-digital/despachos/despachos.page.html\n\tmodified: src/app/pages/gabinete-digital/despachos/despachos.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diplomas-assinar.page.html\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diplomas-assinar.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas-gerar/diplomas-gerar.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas/diploma/diploma.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas/diplomas.page.ts\n\tmodified: src/app/pages/gabinete-digital/event-list/approve-event-modal/approve-event-modal.page.ts\n\tmodified: src/app/pages/gabinete-digital/event-list/approve-event/approve-event.page.ts\n\tmodified: src/app/pages/gabinete-digital/event-list/event-list.page.html\n\tmodified: src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.ts\n\tmodified: src/app/pages/gabinete-digital/expediente/expediente.page.html\n\tmodified: src/app/pages/gabinete-digital/expediente/expediente.page.ts\n\tmodified: src/app/pages/gabinete-digital/expedientes-pr/expediente-pr/expediente-pr.page.ts\n\tmodified: src/app/pages/gabinete-digital/expedientes-pr/expedientes-pr.page.ts\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.html\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.ts\n\tmodified: src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts\n\tmodified: src/app/pages/gabinete-digital/pedidos/pedidos.page.html\n\tmodified: src/app/pages/gabinete-digital/pedidos/pedidos.page.ts\n\tmodified: src/app/pages/gabinete-digital/pendentes/pendentes.page.ts\n\tmodified: src/app/shared/gabinete-digital/all-processes/all-processes.page.html\n\tmodified: src/app/shared/gabinete-digital/despachos/despachos.page.html\n\tmodified: src/app/shared/gabinete-digital/diplomas-assinar/diplomas-assinar.page.html\n\tmodified: src/app/shared/gabinete-digital/diplomas-gerar/diplomas-gerar.page.html\n\tmodified: src/app/shared/gabinete-digital/diplomas/diplomas.page.html\n\tmodified: src/app/shared/gabinete-digital/events-to-approve/events-to-approve.page.html\n\tmodified: src/app/shared/gabinete-digital/expedientes-pr/expedientes-pr.page.html\n\tmodified: src/app/shared/gabinete-digital/expedients/expedients.page.html\n\tmodified: src/app/shared/gabinete-digital/generic/task-list-header/task-list-header.page.html\n\tmodified: src/app/shared/gabinete-digital/pedidos/pedidos.page.html\n\tmodified: src/app/shared/gabinete-digital/pendentes/pendentes.page.html\n\tmodified: src/app/shared/popover/opts-expediente/opts-expediente.page.ts",
|
||||||
"changeAuthor": "peter.maquiran"
|
"changeAuthor": "peter.maquiran"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user