mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
commit
This commit is contained in:
@@ -930,13 +930,15 @@ export class AgendaPage implements OnInit {
|
||||
cssClass: 'modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if (data) {
|
||||
|
||||
}
|
||||
this.openAddEventDismiss(data['data'])
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
} else {
|
||||
this.mobileComponent.showAddNewEvent = true;
|
||||
this.taskParticipants = [{
|
||||
|
||||
@@ -530,7 +530,7 @@ export class EditEventPage implements OnInit {
|
||||
select: true,
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async (res)=> {
|
||||
if(res) {
|
||||
const data = res.data;
|
||||
@@ -555,6 +555,8 @@ export class EditEventPage implements OnInit {
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -102,7 +102,6 @@ export class EventActionsPopoverPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss()
|
||||
.then( async (res) => {
|
||||
@@ -140,6 +139,9 @@ export class EventActionsPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async rejeitar() {
|
||||
@@ -173,9 +175,10 @@ export class EventActionsPopoverPage implements OnInit {
|
||||
// backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {});
|
||||
await modal.present();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -514,7 +514,7 @@ export class NewEventPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
|
||||
@@ -532,6 +532,8 @@ export class NewEventPage implements OnInit {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
setIntervenient(data) {
|
||||
@@ -566,13 +568,15 @@ export class NewEventPage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
if(res){
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
removeAttachment(index: number) {
|
||||
|
||||
@@ -316,7 +316,7 @@ export class ViewEventPage implements OnInit {
|
||||
cssClass: 'discart-expedient-modal',
|
||||
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
|
||||
@@ -329,6 +329,7 @@ export class ViewEventPage implements OnInit {
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -381,7 +382,7 @@ export class ViewEventPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
|
||||
@@ -402,6 +403,8 @@ export class ViewEventPage implements OnInit {
|
||||
|
||||
this.getAttachments()
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
docIndex(index: number) {
|
||||
@@ -480,10 +483,11 @@ export class ViewEventPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
//this.RouteService.goBack();
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
// efetuar despacho
|
||||
|
||||
@@ -727,7 +727,7 @@ export class ChatPage implements OnInit {
|
||||
component: ContactsPage,
|
||||
cssClass: 'modal modal-desktop',
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((Data) => {
|
||||
// console.log(Data,'daatatatat');
|
||||
|
||||
@@ -737,6 +737,8 @@ export class ChatPage implements OnInit {
|
||||
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async newGroup() {
|
||||
@@ -756,11 +758,13 @@ export class ChatPage implements OnInit {
|
||||
roomId: roomId,
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
this.modalController.dismiss(res.data);
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openMessagesModal(roomId: any) {
|
||||
@@ -803,8 +807,9 @@ export class ChatPage implements OnInit {
|
||||
// roomId: roomId,
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openGroupMessagesModal(roomId: any) {
|
||||
@@ -816,10 +821,11 @@ export class ChatPage implements OnInit {
|
||||
roomId: roomId,
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(() =>{
|
||||
this.ChatSystemService.currentRoom.roomLeave()
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -198,8 +198,10 @@ export class GroupContactsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -335,10 +335,11 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
@@ -620,12 +621,14 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
cssClass: 'modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if (data) {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -827,11 +830,12 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.getRoomInfo();
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -111,8 +111,9 @@ export class ContactsPage implements OnInit {
|
||||
roomId: roomId,
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -580,9 +580,10 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async bookMeeting() {
|
||||
@@ -605,7 +606,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
cssClass: 'modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if (data?.data && data.data.id) {
|
||||
|
||||
@@ -625,6 +626,8 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
// })
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -111,9 +111,10 @@ export class ContactsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -105,8 +105,9 @@ export class NewGroupPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async setDuration(ev: any) {
|
||||
|
||||
@@ -95,7 +95,7 @@ export class EditEventPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if (data['data'] != null)
|
||||
@@ -104,6 +104,7 @@ export class EditEventPage implements OnInit {
|
||||
this.loadedEvent.Attendees = newattendees;
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
getEventAttendees(): EventPerson[]
|
||||
|
||||
@@ -97,7 +97,7 @@ export class EventDetailModalPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if (data['data'] != null)
|
||||
@@ -106,6 +106,8 @@ export class EventDetailModalPage implements OnInit {
|
||||
this.loadedEvent.Attendees = newattendees;
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
getEventAttendees(): EventPerson[]
|
||||
|
||||
@@ -99,7 +99,7 @@ export class EventDetailPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if (data['data'] != null)
|
||||
@@ -108,6 +108,7 @@ export class EventDetailPage implements OnInit {
|
||||
this.loadedEvent.Attendees = newattendees;
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
getEventAttendees(): EventPerson[]
|
||||
@@ -236,7 +237,7 @@ export class EventDetailPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if (data['data'] != null)
|
||||
@@ -246,6 +247,8 @@ export class EventDetailPage implements OnInit {
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -321,8 +321,9 @@ export class EventsPage implements OnInit {
|
||||
cssClass: 'event-detail',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
@@ -337,8 +338,9 @@ export class EventsPage implements OnInit {
|
||||
cssClass: 'view-event',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -392,7 +392,7 @@ export class DespachoPrPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
@@ -433,6 +433,8 @@ export class DespachoPrPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
@@ -455,7 +457,7 @@ export class DespachoPrPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
|
||||
if (res['data'] == 'openDiscart') {
|
||||
@@ -469,6 +471,8 @@ export class DespachoPrPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async distartExpedientModal2(task: any) {
|
||||
@@ -483,12 +487,14 @@ export class DespachoPrPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.TaskService.loadDiplomas()
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openBookMeetingModal(task: any) {
|
||||
@@ -506,13 +512,15 @@ export class DespachoPrPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{}
|
||||
, (error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openDelegarModal(task: any) {
|
||||
@@ -558,7 +566,7 @@ export class DespachoPrPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res['data'] == 'close') {
|
||||
this.close();
|
||||
@@ -567,6 +575,8 @@ export class DespachoPrPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openOptions(taskAction?: any) {
|
||||
|
||||
@@ -237,13 +237,15 @@ export class DespachosPrPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
this.LoadList();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -277,13 +279,14 @@ export class DespachosPrPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
(e)=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
);
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -409,7 +409,6 @@ export class DespachoPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
if (res.data) {
|
||||
@@ -446,6 +445,9 @@ export class DespachoPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
@@ -466,7 +468,7 @@ export class DespachoPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
|
||||
@@ -478,6 +480,8 @@ export class DespachoPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openBookMeetingModal(task: any) {
|
||||
@@ -495,8 +499,9 @@ export class DespachoPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openDelegarModal(task: any) {
|
||||
@@ -514,7 +519,7 @@ export class DespachoPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res) {
|
||||
const data = res.data;
|
||||
@@ -527,6 +532,7 @@ export class DespachoPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async distartExpedientModal() {
|
||||
@@ -542,7 +548,6 @@ export class DespachoPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res['data'] == 'close') {
|
||||
this.close();
|
||||
@@ -555,6 +560,7 @@ export class DespachoPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openOptions(taskAction?: any) {
|
||||
@@ -570,7 +576,7 @@ export class DespachoPage implements OnInit {
|
||||
},
|
||||
translucent: true
|
||||
});
|
||||
await popover.present();
|
||||
|
||||
|
||||
popover.onDidDismiss().then((res) => {
|
||||
// console.log('res', res.data)
|
||||
@@ -582,6 +588,8 @@ export class DespachoPage implements OnInit {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await popover.present();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
+5
-2
@@ -243,7 +243,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
if (res.data) {
|
||||
@@ -282,6 +282,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async arquivar(note: string, documents: AttachmentList) {
|
||||
@@ -346,7 +347,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res['data'] == 'close') {
|
||||
this.close();
|
||||
@@ -358,6 +359,8 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
toDateString(e) {
|
||||
|
||||
@@ -158,7 +158,7 @@ export class DiplomasGerarPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if(res){
|
||||
const data = res.data;
|
||||
@@ -171,6 +171,8 @@ export class DiplomasGerarPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -189,12 +191,14 @@ export class DiplomasGerarPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async sendExpedienteToPending() {
|
||||
@@ -234,7 +238,7 @@ export class DiplomasGerarPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
if (res.data) {
|
||||
@@ -281,6 +285,8 @@ export class DiplomasGerarPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async viewDocument(DocId:string, Document) {
|
||||
|
||||
@@ -97,11 +97,17 @@ export class DiplomaPage implements OnInit {
|
||||
},
|
||||
translucent: true
|
||||
});
|
||||
return await popover.present().then(() => {
|
||||
|
||||
popover.onDidDismiss().then(() => {
|
||||
this.TaskService.loadDiplomas()
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
}).catch((e) => {
|
||||
console.log(e)
|
||||
})
|
||||
|
||||
|
||||
let a = await popover.present();
|
||||
}
|
||||
|
||||
async LoadTaskDetail(serial: string) {
|
||||
@@ -328,7 +334,7 @@ export class DiplomaPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
this.TaskService.loadDiplomas()
|
||||
@@ -367,6 +373,8 @@ export class DiplomaPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openBookMeetingModal(task: any) {
|
||||
@@ -384,12 +392,13 @@ export class DiplomaPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async arquivar(note: string, documents: AttachmentList) {
|
||||
@@ -438,7 +447,7 @@ export class DiplomaPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
|
||||
@@ -452,6 +461,8 @@ export class DiplomaPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async distartExpedientModal() {
|
||||
@@ -467,7 +478,7 @@ export class DiplomaPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
this.TaskService.loadDiplomas()
|
||||
if (res['data'] == 'close') {
|
||||
@@ -480,6 +491,8 @@ export class DiplomaPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
getDocumentPdf(Documents: any) {
|
||||
|
||||
+7
-3
@@ -191,7 +191,7 @@ export class ApproveEventModalPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then( async (res) => {
|
||||
if(res.data.option == 'save') {
|
||||
@@ -232,6 +232,8 @@ export class ApproveEventModalPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async editar(serialNumber: string) {
|
||||
@@ -245,8 +247,7 @@ export class ApproveEventModalPage implements OnInit {
|
||||
// backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
this.getTask();
|
||||
this.getAttachments();
|
||||
@@ -254,6 +255,9 @@ export class ApproveEventModalPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ export class ApproveEventPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss()
|
||||
.then(async (res) => {
|
||||
@@ -223,6 +223,8 @@ export class ApproveEventPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async rejeitar(serialNumber: string) {
|
||||
@@ -297,7 +299,7 @@ export class ApproveEventPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
@@ -337,6 +339,8 @@ export class ApproveEventPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
goToEventsToApprove() {
|
||||
@@ -359,7 +363,7 @@ export class ApproveEventPage implements OnInit {
|
||||
cssClass: 'modal modal-desktop'
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
this.getTask();
|
||||
@@ -368,6 +372,7 @@ export class ApproveEventPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+5
-2
@@ -374,7 +374,7 @@ export class BookMeetingModalPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
|
||||
@@ -391,6 +391,8 @@ export class BookMeetingModalPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
} else {
|
||||
this.showAttendees = true;
|
||||
}
|
||||
@@ -450,12 +452,13 @@ export class BookMeetingModalPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=> {}
|
||||
, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async getDoc() {
|
||||
|
||||
+8
-3
@@ -507,7 +507,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
|
||||
@@ -523,6 +523,8 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
} else {
|
||||
this.showAttendees = true
|
||||
}
|
||||
@@ -585,9 +587,10 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -601,7 +604,7 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
if(res){
|
||||
const data = res.data;
|
||||
@@ -610,6 +613,8 @@ export class ExpedientTaskModalPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
removeAttachment(index: number){
|
||||
|
||||
+20
-7
@@ -289,7 +289,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
//backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
|
||||
@@ -319,6 +319,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
subscribeEventTrigger(value) {
|
||||
@@ -465,7 +467,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
findOnly: [8]
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
if (res) {
|
||||
const data = res.data;
|
||||
@@ -507,6 +509,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
@@ -525,7 +529,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
let body = res['data'];
|
||||
if (res['data']) {
|
||||
@@ -545,6 +549,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async distartExpedientModal(body: any) {
|
||||
@@ -556,7 +562,6 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
|
||||
@@ -629,6 +634,8 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openBookMeetingModal(task: any) {
|
||||
@@ -648,12 +655,14 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
goToEvent(eventId: any) {
|
||||
@@ -672,13 +681,15 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
cssClass: 'modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
if (res) {
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openOptions(taskAction?: any) {
|
||||
@@ -724,12 +735,14 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
task: this.task
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ export class ExpedientePrPage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
if(res){
|
||||
|
||||
@@ -241,6 +241,8 @@ export class ExpedientePrPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
removeAttachment(index: number){
|
||||
@@ -322,7 +324,7 @@ export class ExpedientePrPage implements OnInit {
|
||||
//backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
|
||||
@@ -352,6 +354,8 @@ export class ExpedientePrPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
@@ -371,7 +375,7 @@ export class ExpedientePrPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async(res)=>{
|
||||
let body = res['data'];
|
||||
if(res['data']) {
|
||||
@@ -396,6 +400,8 @@ export class ExpedientePrPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async distartExpedientModal(body:any){
|
||||
@@ -407,7 +413,7 @@ export class ExpedientePrPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async (res)=>{
|
||||
|
||||
|
||||
@@ -481,6 +487,8 @@ export class ExpedientePrPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async distartExpedientModal2(task: any){
|
||||
@@ -495,13 +503,15 @@ export class ExpedientePrPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
() => {},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openBookMeetingModal(task: any) {
|
||||
@@ -519,13 +529,14 @@ export class ExpedientePrPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async viewEventDetail(eventId: any) {
|
||||
@@ -540,13 +551,15 @@ export class ExpedientePrPage implements OnInit {
|
||||
cssClass: 'modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
if (res) {
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openOptions(taskAction?: any) {
|
||||
|
||||
@@ -154,13 +154,14 @@ export class ExpedientesPrPage implements OnInit {
|
||||
},
|
||||
cssClass: 'modal modal-desktop',
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
|
||||
this.LoadList();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
goBack() {
|
||||
|
||||
@@ -112,7 +112,6 @@ export class GabineteDigitalPage implements OnInit {
|
||||
|
||||
window.onresize = (event) => {
|
||||
if (window.innerWidth < 701) {
|
||||
this.modalController.dismiss();
|
||||
this.hideRefreshBtn = false;
|
||||
this.hideInMobile = false;
|
||||
this.segmentVista = "listview";
|
||||
|
||||
@@ -383,13 +383,15 @@ export class PedidoPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
|
||||
this.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openBookMeetingModal(task: any) {
|
||||
@@ -407,12 +409,14 @@ export class PedidoPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
openNewGroupPage() {
|
||||
@@ -438,13 +442,14 @@ export class PedidoPage implements OnInit {
|
||||
task: this.task
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
// async viewEventDetail(eventId: any) {
|
||||
@@ -477,7 +482,7 @@ export class PedidoPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res['data'] == 'close') {
|
||||
this.close();
|
||||
@@ -489,6 +494,8 @@ export class PedidoPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openDelegarModal(task: any) {
|
||||
@@ -508,7 +515,7 @@ export class PedidoPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if(res){
|
||||
const data = res.data;
|
||||
@@ -520,6 +527,8 @@ export class PedidoPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openForwardModal(task: any) {
|
||||
@@ -538,12 +547,14 @@ export class PedidoPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openDarParecer(task: any) {
|
||||
@@ -564,7 +575,7 @@ export class PedidoPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
this.TaskService.loadPedidos();
|
||||
if(res.data == 'sucess'){
|
||||
@@ -573,6 +584,8 @@ export class PedidoPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openAddNoteModal(actionName: string) {
|
||||
@@ -593,7 +606,7 @@ export class PedidoPage implements OnInit {
|
||||
});
|
||||
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
const DocumentToSave = await res.data.documents.map(async (e) => {
|
||||
@@ -624,6 +637,8 @@ export class PedidoPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
goBack() {
|
||||
|
||||
@@ -122,12 +122,14 @@ export class PublicationDetailPage implements OnInit {
|
||||
cssClass: 'new-publication modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(()=>{
|
||||
setTimeout(() => {
|
||||
this.getPublicationDetail();
|
||||
}, 5000);
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
openPreview(imageUrl:string){
|
||||
|
||||
@@ -199,10 +199,11 @@ export class PublicationsPage implements OnInit {
|
||||
cssClass: 'new-action modal modal-desktop',
|
||||
backdropDismiss: true
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.getActions();
|
||||
});
|
||||
await modal.present();
|
||||
//this.refreshing()
|
||||
}
|
||||
|
||||
@@ -241,10 +242,11 @@ export class PublicationsPage implements OnInit {
|
||||
cssClass: 'new-action modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.getActions();
|
||||
});
|
||||
await modal.present();
|
||||
} else {
|
||||
this.desktopComponent.showAddActions = true;
|
||||
}
|
||||
@@ -306,8 +308,9 @@ export class PublicationsPage implements OnInit {
|
||||
cssClass: 'new-action modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss();
|
||||
await modal.present();
|
||||
|
||||
} else {
|
||||
// open angular component
|
||||
@@ -438,7 +441,7 @@ export class PublicationsPage implements OnInit {
|
||||
},
|
||||
//translucent: true
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res['data'] == 'edit') {
|
||||
this.closeDesktopComponent();
|
||||
@@ -450,6 +453,7 @@ export class PublicationsPage implements OnInit {
|
||||
this.closeDesktopComponent()
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+3
-1
@@ -142,12 +142,14 @@ export class PublicationDetailPage implements OnInit {
|
||||
cssClass: 'new-publication modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(()=>{
|
||||
setTimeout(() => {
|
||||
this.getPublicationDetail();
|
||||
}, 5000);
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openPreview(item) {
|
||||
|
||||
@@ -219,10 +219,11 @@ export class ViewPublicationsPage implements OnInit {
|
||||
cssClass: 'new-publication modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.doRefresh(event);
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
goToPublicationDetail(publicationId: string) {
|
||||
@@ -240,10 +241,12 @@ export class ViewPublicationsPage implements OnInit {
|
||||
cssClass: 'publication-detail modal modal-desktop',
|
||||
// backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.getPublicationsIds();
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -823,11 +823,12 @@ export class SearchPage implements OnInit {
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
this.searchSender = data.data;
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
@@ -848,11 +849,12 @@ export class SearchPage implements OnInit {
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
this.searchOrganicEntiry = data.data;
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -924,9 +926,9 @@ export class SearchPage implements OnInit {
|
||||
},
|
||||
cssClass: 'modal modal-desktop',
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then((res)=>{});
|
||||
|
||||
modal.onDidDismiss().then((res)=>{});
|
||||
await modal.present();
|
||||
} else if(this.type == "AccoesPresidenciais") {
|
||||
|
||||
this.viewPublicationDetail(Id, DocTypeDesc);
|
||||
@@ -959,8 +961,9 @@ export class SearchPage implements OnInit {
|
||||
//backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(()=>{});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -984,8 +987,9 @@ export class SearchPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=>{});
|
||||
await modal.present();
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user