mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
add
This commit is contained in:
@@ -430,6 +430,8 @@ export class DespachoPrPage implements OnInit {
|
||||
this.TaskService.loadDiplomas()
|
||||
this.goBack();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -464,6 +466,8 @@ export class DespachoPrPage implements OnInit {
|
||||
this.goBack();
|
||||
this.TaskService.loadDiplomas()
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -482,6 +486,8 @@ export class DespachoPrPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.TaskService.loadDiplomas()
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -501,7 +507,12 @@ export class DespachoPrPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{}
|
||||
, (error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
async openDelegarModal(task: any) {
|
||||
@@ -529,6 +540,8 @@ export class DespachoPrPage implements OnInit {
|
||||
this.TaskService.loadDiplomas()
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -551,6 +564,8 @@ export class DespachoPrPage implements OnInit {
|
||||
this.close();
|
||||
}
|
||||
this.TaskService.loadDiplomas()
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -578,7 +593,9 @@ export class DespachoPrPage implements OnInit {
|
||||
|
||||
this.TaskService.loadDiplomas()
|
||||
|
||||
}))
|
||||
}), (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -240,6 +240,8 @@ export class DespachosPrPage implements OnInit {
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
this.LoadList();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -275,7 +277,12 @@ export class DespachosPrPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
(e)=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -443,6 +443,8 @@ export class DespachoPage implements OnInit {
|
||||
this.goBack();
|
||||
}
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -473,6 +475,8 @@ export class DespachoPage implements OnInit {
|
||||
}
|
||||
|
||||
this.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -520,6 +524,8 @@ export class DespachoPage implements OnInit {
|
||||
this.TaskService.loadDespachos();
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -546,6 +552,8 @@ export class DespachoPage implements OnInit {
|
||||
}
|
||||
|
||||
this.TaskService.loadDespachos();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -570,6 +578,8 @@ export class DespachoPage implements OnInit {
|
||||
this.goBack();
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
+6
@@ -277,6 +277,8 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
|
||||
this.TaskService.loadDiplomas()
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -324,6 +326,8 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
}
|
||||
|
||||
this.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -349,6 +353,8 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
this.openMenu(); */
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -166,6 +166,8 @@ export class DiplomasGerarPage implements OnInit {
|
||||
this.TaskService.loadDiplomas()
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -186,7 +188,11 @@ export class DiplomasGerarPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss()
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
async sendExpedienteToPending() {
|
||||
@@ -269,6 +275,8 @@ export class DiplomasGerarPage implements OnInit {
|
||||
|
||||
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@@ -362,6 +362,8 @@ export class DiplomaPage implements OnInit {
|
||||
this.goBack();
|
||||
}
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -381,7 +383,11 @@ export class DiplomaPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
async arquivar(note: string, documents: AttachmentList) {
|
||||
@@ -441,6 +447,8 @@ export class DiplomaPage implements OnInit {
|
||||
this.TaskService.loadDiplomas()
|
||||
|
||||
this.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -467,6 +475,8 @@ export class DiplomaPage implements OnInit {
|
||||
this.openMenu(); */
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
+4
@@ -227,6 +227,8 @@ export class ApproveEventModalPage implements OnInit {
|
||||
this.toastService._badRequest('É necessário adicionar uma nota');
|
||||
}
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -246,6 +248,8 @@ export class ApproveEventModalPage implements OnInit {
|
||||
modal.onDidDismiss().then(res => {
|
||||
this.getTask();
|
||||
this.getAttachments();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@@ -219,6 +219,8 @@ export class ApproveEventPage implements OnInit {
|
||||
this.toastService._badRequest('É necessário adicionar uma nota');
|
||||
}
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
@@ -330,6 +332,8 @@ export class ApproveEventPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -358,6 +362,8 @@ export class ApproveEventPage implements OnInit {
|
||||
modal.onDidDismiss().then(res => {
|
||||
this.getTask();
|
||||
this.TaskService.loadEventosParaAprovacao();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
+12
-2
@@ -387,6 +387,8 @@ export class BookMeetingModalPage implements OnInit {
|
||||
this.setIntervenient(newAttendees);
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
} else {
|
||||
@@ -430,6 +432,8 @@ export class BookMeetingModalPage implements OnInit {
|
||||
this.setIntervenient(newAttendees);
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
} else {
|
||||
this.showAttendees = true;
|
||||
@@ -447,7 +451,11 @@ export class BookMeetingModalPage implements OnInit {
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=> {}
|
||||
, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
async getDoc() {
|
||||
@@ -466,7 +474,9 @@ export class BookMeetingModalPage implements OnInit {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
}
|
||||
});
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
removeAttachment(index: number){
|
||||
|
||||
+5
-1
@@ -520,6 +520,8 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
this.setIntervenient(newAttendees);
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
} else {
|
||||
this.showAttendees = true
|
||||
@@ -605,7 +607,9 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
}
|
||||
});
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
removeAttachment(index: number){
|
||||
|
||||
+17
-1
@@ -316,6 +316,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
}
|
||||
this.goBack();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -502,6 +504,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
this.LoadTaskDetail(this.serialNumber);
|
||||
}, 5000);
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -538,6 +542,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
else {
|
||||
this.close();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -620,6 +626,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
}
|
||||
}
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -643,6 +651,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res => {
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -666,6 +676,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
modal.onDidDismiss().then((res) => {
|
||||
if (res) {
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -711,7 +723,11 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -237,6 +237,8 @@ export class ExpedientePrPage implements OnInit {
|
||||
}) */
|
||||
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
@@ -347,6 +349,8 @@ export class ExpedientePrPage implements OnInit {
|
||||
this.TaskService.loadExpedientes();
|
||||
this.goBack();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -389,6 +393,8 @@ export class ExpedientePrPage implements OnInit {
|
||||
else{
|
||||
this.close();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -472,6 +478,8 @@ export class ExpedientePrPage implements OnInit {
|
||||
}
|
||||
}
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -488,7 +496,12 @@ export class ExpedientePrPage implements OnInit {
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
() => {},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
async openBookMeetingModal(task: any) {
|
||||
@@ -507,7 +520,12 @@ export class ExpedientePrPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
async viewEventDetail(eventId: any) {
|
||||
@@ -526,6 +544,8 @@ export class ExpedientePrPage implements OnInit {
|
||||
modal.onDidDismiss().then((res) => {
|
||||
if (res) {
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -156,6 +156,8 @@ export class ExpedientesPrPage implements OnInit {
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
|
||||
this.LoadList();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -270,7 +270,9 @@ export class PedidoPage implements OnInit {
|
||||
this.TaskService.loadPedidos();
|
||||
|
||||
|
||||
}))
|
||||
}), (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
async repreciar(note: string, documents: any) {
|
||||
@@ -385,6 +387,8 @@ export class PedidoPage implements OnInit {
|
||||
modal.onDidDismiss().then(res => {
|
||||
|
||||
this.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -404,7 +408,11 @@ export class PedidoPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
openNewGroupPage() {
|
||||
@@ -431,7 +439,12 @@ export class PedidoPage implements OnInit {
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
// async viewEventDetail(eventId: any) {
|
||||
@@ -473,6 +486,8 @@ export class PedidoPage implements OnInit {
|
||||
this.openMenu(); */
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -502,6 +517,8 @@ export class PedidoPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -522,7 +539,11 @@ export class PedidoPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
async openDarParecer(task: any) {
|
||||
@@ -549,6 +570,8 @@ export class PedidoPage implements OnInit {
|
||||
if(res.data == 'sucess'){
|
||||
this.goBack();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -598,6 +621,8 @@ export class PedidoPage implements OnInit {
|
||||
}
|
||||
this.TaskService.loadPedidos();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user