mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
commit
This commit is contained in:
@@ -107,15 +107,17 @@ export class ChatOptionsPopoverPage implements OnInit {
|
||||
showSearchInput: true,
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
if(res){
|
||||
if(res) {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async bookMeeting() {
|
||||
|
||||
@@ -48,7 +48,7 @@ export class DiplomaOptionsPage implements OnInit {
|
||||
}
|
||||
|
||||
async openAddNoteModal(actionName:string) {
|
||||
this.popoverController.dismiss();
|
||||
// this.popoverController.dismiss();
|
||||
let classs;
|
||||
if( window.innerWidth <= 800) {
|
||||
classs = 'modal modal-desktop'
|
||||
@@ -64,8 +64,6 @@ export class DiplomaOptionsPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
if(res.data){
|
||||
|
||||
@@ -102,6 +100,8 @@ export class DiplomaOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async askToChange(note:string, documents:any){
|
||||
@@ -289,7 +289,6 @@ export class DiplomaOptionsPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
|
||||
@@ -300,7 +299,11 @@ export class DiplomaOptionsPage implements OnInit {
|
||||
this.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
}).catch(e => {
|
||||
console.log(e)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async distartExpedientModal() {
|
||||
@@ -316,7 +319,6 @@ export class DiplomaOptionsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res['data'] == 'close') {
|
||||
this.close();
|
||||
@@ -325,7 +327,14 @@ export class DiplomaOptionsPage implements OnInit {
|
||||
this.openMenu(); */
|
||||
}
|
||||
|
||||
});
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
}).catch(e => {
|
||||
console.log(e)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
goBack() {
|
||||
|
||||
@@ -65,12 +65,14 @@ export class DespachosOptionsPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( res => {
|
||||
// this.goBack();
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
sendExpedienteToPending() {
|
||||
@@ -100,7 +102,7 @@ export class DespachosOptionsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res=>{
|
||||
if(res['data']=='close'){
|
||||
this.goBack('back');
|
||||
@@ -108,6 +110,8 @@ export class DespachosOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -127,12 +131,14 @@ export class DespachosOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.goBack('no');
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openDelegarModal(task: any) {
|
||||
@@ -151,7 +157,6 @@ export class DespachosOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res => {
|
||||
if(res){
|
||||
const data = res.data;
|
||||
@@ -163,6 +168,8 @@ export class DespachosOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async generateDiploma(note:string, documents:any){
|
||||
|
||||
@@ -86,7 +86,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( (res)=> {
|
||||
|
||||
if(res['data']=='openDiscart') {
|
||||
@@ -103,6 +103,8 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
sendExpedienteToPending() {
|
||||
@@ -137,7 +139,6 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res=>{
|
||||
if(res['data']=='close'){
|
||||
this.close();
|
||||
@@ -150,6 +151,8 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -169,7 +172,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=> {},
|
||||
(error) => {
|
||||
@@ -177,6 +180,8 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
}
|
||||
)
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async openDelegarModal(task: any) {
|
||||
@@ -195,7 +200,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if(res) {
|
||||
const data = res.data;
|
||||
@@ -207,6 +212,8 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async generateDiploma(note:string, documents:any) {
|
||||
@@ -257,8 +264,6 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
if(res.data){
|
||||
@@ -298,6 +303,8 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -62,8 +62,6 @@ export class DiplomasGerarOptionsPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
if (res.data) {
|
||||
|
||||
@@ -113,6 +111,8 @@ export class DiplomasGerarOptionsPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async sendExpedienteToPending() {
|
||||
@@ -149,13 +149,15 @@ export class DiplomasGerarOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openDelegarModal() {
|
||||
@@ -173,7 +175,7 @@ export class DiplomasGerarOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
if(res) {
|
||||
const data = res.data;
|
||||
@@ -185,6 +187,9 @@ export class DiplomasGerarOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -100,7 +100,6 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
@@ -128,6 +127,8 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async approve(note:string, documents:any) {
|
||||
@@ -165,7 +166,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async (res)=>{
|
||||
|
||||
|
||||
@@ -230,6 +231,8 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
@@ -289,7 +292,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async (res)=>{
|
||||
|
||||
let body = res['data'];
|
||||
@@ -317,6 +320,8 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openBookMeetingModal(task: any) {
|
||||
@@ -335,13 +340,14 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
goBack() {
|
||||
@@ -370,7 +376,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then((res)=>{
|
||||
if(res){
|
||||
const data = res.data;
|
||||
@@ -394,6 +400,8 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -75,12 +75,14 @@ export class OptsExpedientePage implements OnInit {
|
||||
documents: this.fulltask.Documents,
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
close() {
|
||||
@@ -111,7 +113,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async (res)=>{
|
||||
if(res){
|
||||
const data = res.data;
|
||||
@@ -149,6 +151,8 @@ export class OptsExpedientePage implements OnInit {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async openAddNoteModal(actionName:string) {
|
||||
@@ -168,8 +172,6 @@ export class OptsExpedientePage implements OnInit {
|
||||
//backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async (res) => {
|
||||
|
||||
if(res.data){
|
||||
@@ -197,6 +199,8 @@ export class OptsExpedientePage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async sendToReview(note:string, documents:any) {
|
||||
@@ -288,13 +292,15 @@ export class OptsExpedientePage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{},
|
||||
(error) => {
|
||||
console.log(error)
|
||||
}
|
||||
)
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
@@ -316,7 +322,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async res=>{
|
||||
|
||||
let body = res['data'];
|
||||
@@ -343,6 +349,8 @@ export class OptsExpedientePage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async distartExpedientModal(body:any){
|
||||
@@ -355,7 +363,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async (res) => {
|
||||
|
||||
|
||||
@@ -430,6 +438,8 @@ export class OptsExpedientePage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -117,12 +117,14 @@ export class RequestOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(
|
||||
()=>{}
|
||||
, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openNewGroupPage(){
|
||||
@@ -135,12 +137,14 @@ export class RequestOptionsPage implements OnInit {
|
||||
documents: this.fulltask.Documents,
|
||||
},
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( () => {
|
||||
this.popoverController.dismiss('close');
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async newGroup(){
|
||||
@@ -178,7 +182,7 @@ export class RequestOptionsPage implements OnInit {
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res=> {
|
||||
|
||||
if(res['data']=='openDiscart') {
|
||||
@@ -191,6 +195,8 @@ export class RequestOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async repreciar(note:string, documents:any) {
|
||||
@@ -237,8 +243,6 @@ export class RequestOptionsPage implements OnInit {
|
||||
backdropDismiss: true
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
|
||||
|
||||
@@ -269,6 +273,8 @@ export class RequestOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async arquivar(note:string, documents:any) {
|
||||
@@ -307,13 +313,15 @@ export class RequestOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( () => {
|
||||
this.popoverController.dismiss('close');
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
|
||||
}
|
||||
|
||||
async openForwardModal(tasK: any) {
|
||||
@@ -331,12 +339,14 @@ export class RequestOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.popoverController.dismiss('close');
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
async openDelegarModal(task: any) {
|
||||
@@ -356,7 +366,7 @@ export class RequestOptionsPage implements OnInit {
|
||||
cssClass: classs,
|
||||
backdropDismiss: false
|
||||
});
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async (res)=> {
|
||||
|
||||
if(res['data']=='close') {
|
||||
@@ -366,6 +376,8 @@ export class RequestOptionsPage implements OnInit {
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
await modal.present();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user