mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +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)
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user