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:
+1
-1
@@ -46,7 +46,7 @@
|
||||
</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-option value="Oficial">
|
||||
Oficial
|
||||
|
||||
+2
-10
@@ -154,17 +154,9 @@ export class BookMeetingModalPage implements OnInit {
|
||||
|
||||
goBack() {
|
||||
this.modalController.dismiss(null);
|
||||
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);
|
||||
}
|
||||
window.history.back();
|
||||
}
|
||||
|
||||
async saveTask(){
|
||||
// issue12323423
|
||||
let Attendees = this.taskParticipants.concat(this.taskParticipantsCc);
|
||||
|
||||
+6
-1
@@ -35,6 +35,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
fulltask: any;
|
||||
eventsList: Event[];
|
||||
serialnumber: string;
|
||||
caller:string;
|
||||
serialNumber: string;
|
||||
profile: string;
|
||||
intervenientes: any;
|
||||
@@ -65,6 +66,9 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
if(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() {
|
||||
if(this.task.Status == "Pending"){
|
||||
if(this.task.Status == "Pending" && this.caller != 'events'){
|
||||
if (window.innerWidth <= 800) {
|
||||
this.router.navigate(['/home/gabinete-digital/pendentes']);
|
||||
}
|
||||
@@ -111,6 +115,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
}
|
||||
}
|
||||
else{
|
||||
console.log('HERE');
|
||||
this.activatedRoute.paramMap.subscribe(params => {
|
||||
switch (params["params"].caller) {
|
||||
case 'events':
|
||||
|
||||
Reference in New Issue
Block a user