mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
add
This commit is contained in:
@@ -60,7 +60,9 @@ export class AddNotePage implements OnInit {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
}
|
||||
});
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -187,6 +187,8 @@ export class ChatOptionsFeaturesPage implements OnInit {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -207,6 +209,8 @@ export class ChatOptionsFeaturesPage implements OnInit {
|
||||
if(data){
|
||||
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
else{
|
||||
|
||||
@@ -602,6 +602,8 @@ export class CreateProcessPage implements OnInit {
|
||||
this.setIntervenient(newAttendees);
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
} else {
|
||||
this.showAttendees = true
|
||||
@@ -640,6 +642,8 @@ export class CreateProcessPage implements OnInit {
|
||||
this.setIntervenient(newAttendees);
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
} else {
|
||||
@@ -666,6 +670,8 @@ export class CreateProcessPage implements OnInit {
|
||||
this.modalController.dismiss(res['data'])
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -718,6 +724,8 @@ export class CreateProcessPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -745,6 +753,8 @@ export class CreateProcessPage implements OnInit {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -97,6 +97,8 @@ export class DarParecerPage implements OnInit {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -135,6 +135,8 @@ export class DelegarPage implements OnInit {
|
||||
this.setIntervenient(newAttendees);
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
} else {
|
||||
this.showAttendees=true
|
||||
@@ -176,7 +178,11 @@ export class DelegarPage implements OnInit {
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
() => {},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
validateFormInputs(){
|
||||
@@ -208,7 +214,9 @@ export class DelegarPage implements OnInit {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
}
|
||||
});
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -198,7 +198,9 @@ export class DocumentDetailPage implements OnInit {
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( async(res)=>{});
|
||||
modal.onDidDismiss().then( async(res)=>{}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@@ -222,6 +224,8 @@ export class DocumentDetailPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res=>{
|
||||
//this.RouteService.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -243,6 +247,8 @@ export class DocumentDetailPage implements OnInit {
|
||||
} else if(res.data.component == 'openExpedientActionsModal') {
|
||||
this.openExpedientActionsModal(res.data.taskAction)
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -335,6 +335,8 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
this.setIntervenient(newAttendees);
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
} else {
|
||||
@@ -371,6 +373,8 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
this.setIntervenient(newAttendees);
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
} else {
|
||||
this.showAttendees = true;
|
||||
@@ -393,7 +397,9 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
const data = res.data;
|
||||
this.attachments.push(data.selected);
|
||||
}
|
||||
});
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
removeAttachment(index: number) {
|
||||
|
||||
@@ -183,6 +183,8 @@ export class ForwardPage implements OnInit {
|
||||
this.setIntervenient(newAttendees);
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
} else {
|
||||
this.showAttendees=true
|
||||
@@ -226,7 +228,9 @@ export class ForwardPage implements OnInit {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
}
|
||||
});
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -308,6 +308,8 @@ export class ProfilePage implements OnInit {
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.isProfileOpen = false;
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
@@ -109,6 +109,8 @@ export class ViewDocumentPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -132,6 +134,8 @@ export class ViewDocumentPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res=>{
|
||||
//this.RouteService.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -156,7 +160,12 @@ export class ViewDocumentPage implements OnInit {
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( async(res)=>{});
|
||||
modal.onDidDismiss().then(
|
||||
async(res)=>{}
|
||||
, (error) => {
|
||||
console.log(error)
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -218,6 +218,8 @@ export class ViewEventPage implements OnInit {
|
||||
}, 250);
|
||||
this.isEventEdited = true;
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
@@ -244,6 +246,8 @@ export class ViewEventPage implements OnInit {
|
||||
}, 250);
|
||||
this.isEventEdited = true;
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
@@ -275,6 +279,8 @@ export class ViewEventPage implements OnInit {
|
||||
}, 250);
|
||||
this.isEventEdited = true;
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -344,6 +350,8 @@ export class ViewEventPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res => {
|
||||
//this.RouteService.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -367,7 +375,11 @@ export class ViewEventPage implements OnInit {
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(async (res) => { });
|
||||
modal.onDidDismiss().then(
|
||||
async (res) => { },
|
||||
(error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -226,6 +226,8 @@ export class ApproveEventPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@@ -255,6 +255,8 @@ export class PedidosPage implements OnInit {
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
|
||||
this.LoadList();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -99,6 +99,8 @@ export class DeplomaOptionsPage implements OnInit {
|
||||
this.goBack();
|
||||
}
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -150,7 +152,12 @@ export class DeplomaOptionsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=> {},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -291,6 +298,8 @@ export class DeplomaOptionsPage implements OnInit {
|
||||
}
|
||||
|
||||
this.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -316,6 +325,8 @@ export class DeplomaOptionsPage implements OnInit {
|
||||
this.openMenu(); */
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -68,6 +68,8 @@ export class DespachosOptionsPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( res => {
|
||||
// this.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -103,6 +105,8 @@ export class DespachosOptionsPage implements OnInit {
|
||||
if(res['data']=='close'){
|
||||
this.goBack('back');
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -126,6 +130,8 @@ export class DespachosOptionsPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.goBack('no');
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -154,6 +160,8 @@ export class DespachosOptionsPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -241,6 +249,8 @@ export class DespachosOptionsPage implements OnInit {
|
||||
}
|
||||
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -100,6 +100,8 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
|
||||
this.popoverController.dismiss('close')
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -145,6 +147,8 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
}
|
||||
this.popoverController.dismiss('close')
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -166,7 +170,12 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss()
|
||||
modal.onDidDismiss().then(
|
||||
()=> {},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
@@ -188,13 +197,15 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res => {
|
||||
if(res){
|
||||
if(res) {
|
||||
const data = res.data;
|
||||
if(data == 'close') {
|
||||
this.goBack();
|
||||
}
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -284,6 +295,8 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
|
||||
this.goBack();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -109,6 +109,8 @@ export class DiplomasGerarOptionsPage implements OnInit {
|
||||
|
||||
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
@@ -148,7 +150,12 @@ export class DiplomasGerarOptionsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
async openDelegarModal() {
|
||||
@@ -175,6 +182,8 @@ export class DiplomasGerarOptionsPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -125,6 +125,8 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
}
|
||||
this.goBack();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -225,6 +227,8 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
}
|
||||
}
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -310,6 +314,8 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -330,7 +336,12 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
goBack() {
|
||||
@@ -379,6 +390,8 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
})
|
||||
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@@ -76,7 +76,11 @@ export class OptsExpedientePage implements OnInit {
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
close() {
|
||||
@@ -141,6 +145,8 @@ export class OptsExpedientePage implements OnInit {
|
||||
this.popoverController.dismiss()
|
||||
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
@@ -188,6 +194,8 @@ export class OptsExpedientePage implements OnInit {
|
||||
this.popoverController.dismiss();
|
||||
this.goBack();
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -281,7 +289,12 @@ export class OptsExpedientePage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
@@ -327,6 +340,8 @@ export class OptsExpedientePage implements OnInit {
|
||||
else{
|
||||
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -412,6 +427,8 @@ export class OptsExpedientePage implements OnInit {
|
||||
}
|
||||
}
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -118,7 +118,11 @@ export class RequestOptionsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{}
|
||||
, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
async openNewGroupPage(){
|
||||
@@ -134,6 +138,8 @@ export class RequestOptionsPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( () => {
|
||||
this.popoverController.dismiss('close');
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -146,7 +152,11 @@ export class RequestOptionsPage implements OnInit {
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss();
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
@@ -178,6 +188,8 @@ export class RequestOptionsPage implements OnInit {
|
||||
this.popoverController.dismiss('close')
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -254,6 +266,8 @@ export class RequestOptionsPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -296,6 +310,8 @@ export class RequestOptionsPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( () => {
|
||||
this.popoverController.dismiss('close');
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
}
|
||||
@@ -318,6 +334,8 @@ export class RequestOptionsPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.popoverController.dismiss('close');
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -345,6 +363,8 @@ export class RequestOptionsPage implements OnInit {
|
||||
this.popoverController.dismiss('close');
|
||||
}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
export let versionData = {
|
||||
"shortSHA": "069248247",
|
||||
"SHA": "069248247f42b888dcb2bbef8ed494e0ba993dac",
|
||||
"branch": "developer",
|
||||
"shortSHA": "63abde569",
|
||||
"SHA": "63abde56977535af2bbe1622ceb7281d0f66e8df",
|
||||
"branch": "developer-catch",
|
||||
"lastCommitAuthor": "'Eudes Inácio'",
|
||||
"lastCommitTime": "'Thu Jul 13 11:39:24 2023 +0100'",
|
||||
"lastCommitMessage": "added tag rascunho",
|
||||
"lastCommitNumber": "5058",
|
||||
"lastCommitTime": "'Thu Jul 13 12:11:28 2023 +0100'",
|
||||
"lastCommitMessage": "bug saving mc token solved",
|
||||
"lastCommitNumber": "5059",
|
||||
"change": "",
|
||||
"changeStatus": "On branch developer\nYour branch is up to date with 'origin/developer'.\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/login/login.page.ts",
|
||||
"changeAuthor": "eudes.inacio"
|
||||
"changeStatus": "On branch developer-catch\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/modals/add-note/add-note.page.ts\n\tmodified: src/app/modals/chat-options-features/chat-options-features.page.ts\n\tmodified: src/app/modals/create-process/create-process.page.ts\n\tmodified: src/app/modals/dar-parecer/dar-parecer.page.ts\n\tmodified: src/app/modals/delegar/delegar.page.ts\n\tmodified: src/app/modals/document-detail/document-detail.page.ts\n\tmodified: src/app/modals/document-set-up-meeting/document-set-up-meeting.page.ts\n\tmodified: src/app/modals/forward/forward.page.ts\n\tmodified: src/app/modals/profile/profile.page.ts\n\tmodified: src/app/modals/view-document/view-document.page.ts\n\tmodified: src/app/modals/view-event/view-event.page.ts\n\tmodified: src/app/pages/gabinete-digital/despachos-pr/despacho-pr/despacho-pr.page.ts\n\tmodified: src/app/pages/gabinete-digital/despachos-pr/despachos-pr.page.ts\n\tmodified: src/app/pages/gabinete-digital/despachos/despacho/despacho.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas-gerar/diplomas-gerar/diplomas-gerar.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas/diploma/diploma.page.ts\n\tmodified: src/app/pages/gabinete-digital/event-list/approve-event-modal/approve-event-modal.page.ts\n\tmodified: src/app/pages/gabinete-digital/event-list/approve-event/approve-event.page.ts\n\tmodified: src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.ts\n\tmodified: src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.ts\n\tmodified: src/app/pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page.ts\n\tmodified: src/app/pages/gabinete-digital/expedientes-pr/expediente-pr/expediente-pr.page.ts\n\tmodified: src/app/pages/gabinete-digital/expedientes-pr/expedientes-pr.page.ts\n\tmodified: src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts\n\tmodified: src/app/shared/agenda/approve-event/approve-event.page.ts\n\tmodified: src/app/shared/gabinete-digital/pedidos/pedidos.page.ts\n\tmodified: src/app/shared/popover/deploma-options/deploma-options.page.ts\n\tmodified: src/app/shared/popover/despachos-options/despachos-options.page.ts\n\tmodified: src/app/shared/popover/despachos-pr-options/despachos-pr-options.page.ts\n\tmodified: src/app/shared/popover/diplomas-gerar-options/diplomas-gerar-options.page.ts\n\tmodified: src/app/shared/popover/opts-expediente-pr/opts-expediente-pr.page.ts\n\tmodified: src/app/shared/popover/opts-expediente/opts-expediente.page.ts\n\tmodified: src/app/shared/popover/request-options/request-options.page.ts",
|
||||
"changeAuthor": "peter.maquiran"
|
||||
}
|
||||
Reference in New Issue
Block a user