mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -108,12 +108,6 @@ export class ViewEventPage implements OnInit {
|
|||||||
this.router.navigate(['/home',params["params"].caller]);
|
this.router.navigate(['/home',params["params"].caller]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/* this.activatedRoute.queryParams.subscribe(params => {
|
|
||||||
if(params["caller"]) {
|
|
||||||
this.router.navigate(['/home',params["caller"]]);
|
|
||||||
}
|
|
||||||
}); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loadEvent(){
|
loadEvent(){
|
||||||
|
|||||||
+1
-1
@@ -46,7 +46,7 @@
|
|||||||
</ion-select>
|
</ion-select>
|
||||||
|
|
||||||
|
|
||||||
<mat-form-field class="d-none d-md-block width-100">
|
<mat-form-field floatLabel="never" class="d-none d-md-block width-100">
|
||||||
<mat-select placeholder="Selecione agenda" [(ngModel)]="postData.CalendarName" >
|
<mat-select placeholder="Selecione agenda" [(ngModel)]="postData.CalendarName" >
|
||||||
<mat-option value="Oficial">
|
<mat-option value="Oficial">
|
||||||
Oficial
|
Oficial
|
||||||
|
|||||||
+2
-10
@@ -154,17 +154,9 @@ export class BookMeetingModalPage implements OnInit {
|
|||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.modalController.dismiss(null);
|
this.modalController.dismiss(null);
|
||||||
let navigationExtras: NavigationExtras = {
|
window.history.back();
|
||||||
queryParams: {
|
|
||||||
"expedientes": true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if( window.innerWidth < 801) {
|
|
||||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
|
||||||
} else {
|
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async saveTask(){
|
async saveTask(){
|
||||||
// issue12323423
|
// issue12323423
|
||||||
let Attendees = this.taskParticipants.concat(this.taskParticipantsCc);
|
let Attendees = this.taskParticipants.concat(this.taskParticipantsCc);
|
||||||
|
|||||||
+6
-1
@@ -35,6 +35,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
fulltask: any;
|
fulltask: any;
|
||||||
eventsList: Event[];
|
eventsList: Event[];
|
||||||
serialnumber: string;
|
serialnumber: string;
|
||||||
|
caller:string;
|
||||||
serialNumber: string;
|
serialNumber: string;
|
||||||
profile: string;
|
profile: string;
|
||||||
intervenientes: any;
|
intervenientes: any;
|
||||||
@@ -65,6 +66,9 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
if(params["params"].SerialNumber) {
|
if(params["params"].SerialNumber) {
|
||||||
this.serialnumber = params["params"].SerialNumber;
|
this.serialnumber = params["params"].SerialNumber;
|
||||||
}
|
}
|
||||||
|
if(params["params"].caller) {
|
||||||
|
this.caller = params["params"].caller;
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -97,7 +101,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
if(this.task.Status == "Pending"){
|
if(this.task.Status == "Pending" && this.caller != 'events'){
|
||||||
if (window.innerWidth <= 800) {
|
if (window.innerWidth <= 800) {
|
||||||
this.router.navigate(['/home/gabinete-digital/pendentes']);
|
this.router.navigate(['/home/gabinete-digital/pendentes']);
|
||||||
}
|
}
|
||||||
@@ -111,6 +115,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
console.log('HERE');
|
||||||
this.activatedRoute.paramMap.subscribe(params => {
|
this.activatedRoute.paramMap.subscribe(params => {
|
||||||
switch (params["params"].caller) {
|
switch (params["params"].caller) {
|
||||||
case 'events':
|
case 'events':
|
||||||
|
|||||||
@@ -189,57 +189,6 @@ export class GabineteDigitalPage implements OnInit {
|
|||||||
this.openDiplomasPage('');
|
this.openDiplomasPage('');
|
||||||
this.selectedElement='DiplomasAssinar';
|
this.selectedElement='DiplomasAssinar';
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this.activatedRoute.queryParams.subscribe(params => {
|
|
||||||
switch (params)
|
|
||||||
{
|
|
||||||
case params["eventos"]:
|
|
||||||
this.openEventsToApprovePage("MDGPR");
|
|
||||||
this.selectedElement='approval';
|
|
||||||
break;
|
|
||||||
|
|
||||||
case params["expedientes"]:
|
|
||||||
this.openExpedientListPage();
|
|
||||||
this.selectedElement='Correspondence';
|
|
||||||
this.expedientesPage.doRefresh();
|
|
||||||
break;
|
|
||||||
|
|
||||||
case params["pendentes"]:
|
|
||||||
this.openPendentesPage('');
|
|
||||||
this.selectedElement='Pending';
|
|
||||||
break;
|
|
||||||
|
|
||||||
case params["despachos"]:
|
|
||||||
this.openDespachosPage('');
|
|
||||||
this.selectedElement='Dispatches';
|
|
||||||
break;
|
|
||||||
|
|
||||||
case params["pedidos"]:
|
|
||||||
this.openPedidosPage('parecer');
|
|
||||||
this.selectedElement='RequestsForOpinion';
|
|
||||||
break;
|
|
||||||
|
|
||||||
case params["expedientespr"]:
|
|
||||||
this.openEventsToApprovePage("MDGPR");
|
|
||||||
this.selectedElement='Expediente Presidente'
|
|
||||||
break;
|
|
||||||
|
|
||||||
case params["despachospr"]:
|
|
||||||
this.openDespachosPrPage('');
|
|
||||||
this.selectedElement='DispatchesPr'
|
|
||||||
break;
|
|
||||||
|
|
||||||
case params["diplomas"]:
|
|
||||||
this.openDiplomasPage('validar');
|
|
||||||
this.selectedElement='DiplomasPorValidar';
|
|
||||||
break;
|
|
||||||
|
|
||||||
case params["diplomasassinar"]:
|
|
||||||
this.openDiplomasPage('');
|
|
||||||
this.selectedElement='DiplomasAssinar';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
refreshExpedientes(){
|
refreshExpedientes(){
|
||||||
|
|||||||
@@ -69,19 +69,28 @@
|
|||||||
margin: 1px;
|
margin: 1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.title-content{
|
||||||
|
display: flex;
|
||||||
|
justify-content:space-between;
|
||||||
|
align-items: flex-start !important;
|
||||||
|
border-radius: 0 !important;
|
||||||
|
|
||||||
.title{
|
.title{
|
||||||
|
width: fit-content;
|
||||||
|
height: auto;
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
float: left;
|
float: left;
|
||||||
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
.div-icon{
|
.div-icon{
|
||||||
width: 40px;
|
position: absolute;
|
||||||
float: right;
|
width: fit-content !important;
|
||||||
font-size: 35px;
|
font-size: 35px !important;
|
||||||
overflow: auto;
|
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
|
right: 0 !important;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ion-item-group{
|
ion-item-group{
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
|
|||||||
Reference in New Issue
Block a user