This commit is contained in:
Peter Maquiran
2021-07-17 14:50:20 +01:00
parent 86586470fe
commit 9c739a151b
8 changed files with 16 additions and 0 deletions
@@ -137,6 +137,9 @@ export class DespachoPrPage implements OnInit {
});
this.getDocumentDetails(this.task.FolderId, '361');
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
});
}
@@ -140,6 +140,7 @@ export class DespachoPage implements OnInit {
});
this.getDocumentDetails(this.task.FolderId, '361');
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
});
}
@@ -124,6 +124,7 @@ export class DiplomaAssinarPage implements OnInit {
this.getDocumentDetails(this.task.FolderId, '361');
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
});
@@ -139,6 +139,7 @@ export class DiplomaPage implements OnInit {
this.getDocumentDetails(this.task.FolderId, '361');
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
});
@@ -160,6 +160,9 @@ export class ExpedienteDetailPage implements OnInit {
console.log('this.task', this.task)
console.log('this.task.DocumentURL', this.task.DocumentURL)
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
});
@@ -4,6 +4,7 @@ import { DailyWorkTask } from '../../../models/dailyworktask.model';
import { ProcessesService } from 'src/app/services/processes.service';
import { ModalController } from '@ionic/angular';
import { AlertService } from 'src/app/services/alert.service';
import { ToastService } from 'src/app/services/toast.service';
@Component({
selector: 'app-expediente',
@@ -25,6 +26,7 @@ export class ExpedientePage implements OnInit {
private modalController: ModalController,
private alertService: AlertService,
private router: Router,
private toastService: ToastService
) {
}
@@ -74,6 +76,9 @@ export class ExpedientePage implements OnInit {
});
console.log(this.taskslist);
this.skeletonLoader = false;
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
});
}
@@ -185,6 +185,7 @@ export class ExpedientePrPage implements OnInit {
})
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
});
}
@@ -154,6 +154,7 @@ export class PedidoPage implements OnInit {
});
this.getDocumentDetails(res.workflowInstanceDataFields.FolderID, '361');
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
});
}