mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Fix
This commit is contained in:
@@ -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()
|
||||
});
|
||||
}
|
||||
|
||||
+1
@@ -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()
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user