mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
commit
This commit is contained in:
@@ -54,7 +54,7 @@ export class AddNotePage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
if(res){
|
||||
const data = res.data;
|
||||
@@ -64,6 +64,8 @@ export class AddNotePage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
removeAttachment(index: number){
|
||||
|
||||
@@ -204,7 +204,7 @@ export class ChatOptionsFeaturesPage implements OnInit {
|
||||
cssClass: 'modal modal-desktop',
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if(data){
|
||||
|
||||
@@ -212,6 +212,8 @@ export class ChatOptionsFeaturesPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
else{
|
||||
this.modalController.dismiss('meeting');
|
||||
|
||||
@@ -589,8 +589,7 @@ export class CreateProcessPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
|
||||
if (data) {
|
||||
@@ -605,6 +604,9 @@ export class CreateProcessPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
} else {
|
||||
this.showAttendees = true
|
||||
}
|
||||
@@ -629,7 +631,6 @@ export class CreateProcessPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
|
||||
@@ -646,6 +647,9 @@ export class CreateProcessPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
} else {
|
||||
this.showAttendees = true
|
||||
}
|
||||
@@ -664,7 +668,7 @@ export class CreateProcessPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res['data'] == 'close') {
|
||||
this.modalController.dismiss(res['data'])
|
||||
@@ -673,6 +677,8 @@ export class CreateProcessPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async setContact(data: EventPerson[]) {
|
||||
@@ -721,12 +727,14 @@ export class CreateProcessPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -747,7 +755,7 @@ export class CreateProcessPage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
if (res) {
|
||||
const data = res.data;
|
||||
@@ -756,6 +764,8 @@ export class CreateProcessPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -91,8 +91,8 @@ export class DarParecerPage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
if(res){
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
@@ -100,6 +100,8 @@ export class DarParecerPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ export class DelegarPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if(data) {
|
||||
@@ -138,6 +138,8 @@ export class DelegarPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
} else {
|
||||
this.showAttendees=true
|
||||
}
|
||||
|
||||
@@ -197,11 +197,13 @@ export class DocumentDetailPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async(res)=>{}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async openBookMeetingModal() {
|
||||
@@ -221,12 +223,14 @@ export class DocumentDetailPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res=>{
|
||||
//this.RouteService.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openOptions() {
|
||||
@@ -239,7 +243,7 @@ export class DocumentDetailPage implements OnInit {
|
||||
},
|
||||
translucent: true
|
||||
});
|
||||
await popover.present()
|
||||
|
||||
|
||||
popover.onDidDismiss().then((res:any) => {
|
||||
if(res.data.component == 'openBookMeetingModal') {
|
||||
@@ -250,6 +254,8 @@ export class DocumentDetailPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await popover.present()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -322,8 +322,6 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
|
||||
if(data) {
|
||||
@@ -339,6 +337,8 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present()
|
||||
|
||||
} else {
|
||||
this.showAttendees = true;
|
||||
}
|
||||
@@ -360,7 +360,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
|
||||
@@ -376,6 +376,8 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
} else {
|
||||
this.showAttendees = true;
|
||||
}
|
||||
@@ -391,7 +393,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=> {
|
||||
if(res){
|
||||
const data = res.data;
|
||||
@@ -400,6 +402,8 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
removeAttachment(index: number) {
|
||||
|
||||
@@ -173,7 +173,7 @@ export class ForwardPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
if(data) {
|
||||
@@ -186,6 +186,8 @@ export class ForwardPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
} else {
|
||||
this.showAttendees=true
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ export class ProfilePage implements OnInit {
|
||||
componentProps: {
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.isProfileOpen = false;
|
||||
@@ -312,6 +312,8 @@ export class ProfilePage implements OnInit {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -131,12 +131,14 @@ export class ViewDocumentPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res=>{
|
||||
//this.RouteService.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
// efetuar despacho
|
||||
@@ -159,7 +161,7 @@ export class ViewDocumentPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
async(res)=>{}
|
||||
, (error) => {
|
||||
@@ -167,6 +169,8 @@ export class ViewDocumentPage implements OnInit {
|
||||
}
|
||||
);
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -208,7 +208,7 @@ export class ViewEventPage implements OnInit {
|
||||
cssClass: 'discart-expedient-modal',
|
||||
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
if (res) {
|
||||
@@ -222,6 +222,8 @@ export class ViewEventPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -236,7 +238,7 @@ export class ViewEventPage implements OnInit {
|
||||
cssClass: 'modal modal-desktop',
|
||||
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
if (res) {
|
||||
@@ -250,6 +252,8 @@ export class ViewEventPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async editEvent() {
|
||||
@@ -269,7 +273,7 @@ export class ViewEventPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
if (res) {
|
||||
@@ -282,6 +286,7 @@ export class ViewEventPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
docIndex(index: number) {
|
||||
@@ -347,12 +352,13 @@ export class ViewEventPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
//this.RouteService.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
// efetuar despacho
|
||||
@@ -374,13 +380,15 @@ export class ViewEventPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
async (res) => { },
|
||||
(error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user