mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
Improve
This commit is contained in:
@@ -61,7 +61,7 @@ export class AddNotePage implements OnInit {
|
||||
this.documents = this.documents.filter( (e, i) => index != i);
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -504,7 +504,7 @@ export class CreateProcessPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -97,7 +97,7 @@ export class DarParecerPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -171,7 +171,7 @@ export class DelegarPage implements OnInit {
|
||||
this.taskParticipants = taskParticipants;
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -234,7 +234,7 @@ export class EditEventPage implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -92,7 +92,7 @@ export class EventActionsPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -169,7 +169,7 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -464,7 +464,7 @@ export class DespachoPrPage implements OnInit {
|
||||
return await popover.present();
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -424,7 +424,7 @@ export class DespachoPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
+7
-5
@@ -53,7 +53,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
this.LoadTaskDetail(this.serialnumber);
|
||||
}
|
||||
|
||||
goBack(){
|
||||
goBack() {
|
||||
let navigationExtras: NavigationExtras = {
|
||||
queryParams: {
|
||||
"diplomas": true,
|
||||
@@ -150,18 +150,20 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
}
|
||||
try {
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
this.goBack();
|
||||
this.successMessage()
|
||||
|
||||
this.successMessage(false, ()=>{
|
||||
this.goBack();
|
||||
})
|
||||
} catch (error) {
|
||||
this.badRequest()
|
||||
}
|
||||
}
|
||||
|
||||
close(){
|
||||
close() {
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -154,7 +154,9 @@ export class DiplomaPage implements OnInit {
|
||||
try {
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
this.close();
|
||||
this.successMessage()
|
||||
this.successMessage(false, ()=>{
|
||||
|
||||
})
|
||||
} catch (error) {
|
||||
this.badRequest()
|
||||
}
|
||||
@@ -272,7 +274,7 @@ export class DiplomaPage implements OnInit {
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
+2
-2
@@ -128,7 +128,7 @@ export class ApproveEventModalPage implements OnInit {
|
||||
|
||||
try {
|
||||
await this.processes.PostTaskAction(body).toPromise()
|
||||
|
||||
|
||||
this.successMessage('Evento rejeitado', () =>{
|
||||
this.router.navigate(['/home/gabinete-digital/event-list']);
|
||||
})
|
||||
@@ -220,7 +220,7 @@ export class ApproveEventModalPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -235,7 +235,7 @@ export class ApproveEventPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
+1
-1
@@ -305,7 +305,7 @@ export class BookMeetingModalPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
+1
-1
@@ -528,7 +528,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
+1
-1
@@ -364,7 +364,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -440,7 +440,7 @@ export class ExpedientePrPage implements OnInit {
|
||||
return await popover.present();
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -418,7 +418,7 @@ export class PedidoPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -205,7 +205,7 @@ export class LoginPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -56,7 +56,7 @@ export class NewActionPage implements OnInit {
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -122,7 +122,7 @@ export class PublicationDetailPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
+1
-1
@@ -124,7 +124,7 @@ export class PublicationDetailPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -22,7 +22,7 @@ export class ToastService {
|
||||
toast.present();
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -235,7 +235,7 @@ export class ApproveEventPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -315,7 +315,7 @@ export class NewEventPage implements OnInit {
|
||||
window['temp.path:/home/agenda/new-event.component.ts'] = {}
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -69,7 +69,7 @@ export class FingerprintPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -407,7 +407,7 @@ export class EditEventToApproveComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -54,7 +54,7 @@ export class PinPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -145,7 +145,7 @@ export class DeplomaOptionsPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -281,7 +281,7 @@ export class DespachosOptionsPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -282,7 +282,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -289,7 +289,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -285,7 +285,7 @@ export class RequestOptionsPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -59,7 +59,7 @@ export class NewActionPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
@@ -275,7 +275,7 @@ export class NewPublicationPage implements OnInit {
|
||||
} */
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
+1
-1
@@ -141,7 +141,7 @@ export class PublicationDetailPage implements OnInit {
|
||||
|
||||
|
||||
|
||||
async successMessage(message?: string, callback?) {
|
||||
async successMessage(message?: any, callback?) {
|
||||
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
|
||||
Reference in New Issue
Block a user