mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Remove relevant console log,
This commit is contained in:
@@ -40,7 +40,7 @@ export class ChatOptionsPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log(this.attendees);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ export class ChatOptionsPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
attachDocument(){
|
||||
console.log('Anexar Documento');
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -110,14 +110,14 @@ export class ChatOptionsPopoverPage implements OnInit {
|
||||
if(res){
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
console.log(res.data);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async bookMeeting() {
|
||||
console.log(this.attendees);
|
||||
|
||||
this.popoverController.dismiss();
|
||||
if( window.innerWidth <= 1024){
|
||||
const modal = await this.modalController.create({
|
||||
|
||||
@@ -31,7 +31,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log(this.roomId);
|
||||
|
||||
}
|
||||
|
||||
close(action:any){
|
||||
@@ -79,7 +79,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
|
||||
let res:any = await this.wsChatMethodsService.leaveRoom(this.roomId);
|
||||
|
||||
console.log(res.error.error);
|
||||
|
||||
|
||||
if(res.error){
|
||||
if(res.error.error = "error-you-are-last-owner"){
|
||||
@@ -107,7 +107,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
|
||||
if(this.room.t === 'p'){
|
||||
this.chatService.leaveGroup(body).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
this.close('leave');
|
||||
},
|
||||
(e)=>{
|
||||
@@ -130,7 +130,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
}
|
||||
else{
|
||||
this.chatService.leaveChannel(body).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
this.close('leave');
|
||||
},
|
||||
(e)=>{
|
||||
@@ -158,12 +158,12 @@ export class ChatPopoverPage implements OnInit {
|
||||
|
||||
if(this.room.t === 'p'){
|
||||
this.chatService.deleteGroup(body).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
});
|
||||
}
|
||||
else{
|
||||
this.chatService.deleteChannel(body).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -40,7 +40,7 @@ export class DeplomaOptionsPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log(this.serialNumber);
|
||||
|
||||
}
|
||||
|
||||
async openAddNoteModal(actionName:string) {
|
||||
|
||||
@@ -76,7 +76,7 @@ export class DespachosOptionsPage implements OnInit {
|
||||
this.popoverController.dismiss();
|
||||
this.processes.SetTaskToPending(this.task.SerialNumber).subscribe(res=>{
|
||||
this.toastService._successMessage()
|
||||
console.log(res);
|
||||
|
||||
this.close();
|
||||
},()=>{
|
||||
|
||||
@@ -86,7 +86,7 @@ export class DespachosOptionsPage implements OnInit {
|
||||
|
||||
async distartExpedientModal(){
|
||||
this.popoverController.dismiss();
|
||||
console.log(this.fulltask);
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: DiscartExpedientModalPage,
|
||||
componentProps: {
|
||||
@@ -201,7 +201,7 @@ export class DespachosOptionsPage implements OnInit {
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
console.log(res);
|
||||
|
||||
if(res.data) {
|
||||
|
||||
const DocumentToSave = res.data.documents.map((e) => {
|
||||
|
||||
@@ -45,7 +45,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
this.activatedRoute.queryParams.subscribe(params => {
|
||||
if(params["serialNumber"]) {
|
||||
this.serialNumber = params["serialNumber"];
|
||||
console.log(params["serialNumber"]);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@@ -82,9 +82,9 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( (res)=> {
|
||||
console.log(res['data']);
|
||||
|
||||
if(res['data']=='openDiscart') {
|
||||
console.log('open discart');
|
||||
|
||||
|
||||
this.distartExpedientModal();
|
||||
|
||||
@@ -99,7 +99,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
|
||||
sendExpedienteToPending() {
|
||||
this.processes.SetTaskToPending(this.serialNumber).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
this.toastService._successMessage()
|
||||
this.popoverController.dismiss('close')
|
||||
},()=>{
|
||||
@@ -110,7 +110,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
|
||||
async distartExpedientModal() {
|
||||
this.popoverController.dismiss();
|
||||
console.log(this.fulltask);
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: DiscartExpedientModalPage,
|
||||
componentProps: {
|
||||
@@ -126,7 +126,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
modal.onDidDismiss().then(res=>{
|
||||
if(res['data']=='close'){
|
||||
this.close();
|
||||
/* console.log('2Expedient Discard closed2');
|
||||
/*
|
||||
this.close();
|
||||
this.openMenu(); */
|
||||
}
|
||||
@@ -230,7 +230,7 @@ export class DespachosPrOptionsPage implements OnInit {
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
console.log(res);
|
||||
|
||||
if(res.data){
|
||||
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ export class MessagesOptionsPage implements OnInit {
|
||||
closeChatRoom(){
|
||||
let body = { "roomId": this.roomId }
|
||||
this.chatService.removeChatRoom(body).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
});
|
||||
this.close();
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
console.log('OptsExpedientePrPage ---- ', this.task);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(async (res) => {
|
||||
console.log(res);
|
||||
|
||||
if(res.data){
|
||||
const DocumentToSave = res.data.documents.map((e) => {
|
||||
return {
|
||||
@@ -161,7 +161,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( async (res)=>{
|
||||
console.log(res['data']);
|
||||
|
||||
|
||||
if(body == 'descartar') {
|
||||
if(res['data']== 'Yes'){
|
||||
@@ -207,7 +207,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
this.goBack();
|
||||
}
|
||||
else if(res['data'] == 'No'){
|
||||
console.log('Update');
|
||||
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
try {
|
||||
@@ -253,7 +253,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
sendExpedienteToPending(){
|
||||
this.popoverController.dismiss();
|
||||
this.processes.SetTaskToPending(this.task.SerialNumber).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
this.close();
|
||||
},()=>{
|
||||
|
||||
@@ -281,11 +281,11 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( async (res)=>{
|
||||
console.log(res['data']);
|
||||
|
||||
let body = res['data'];
|
||||
// console.log('close '+ res['data'])
|
||||
//
|
||||
if(res['data']) {
|
||||
console.log('open discart');
|
||||
|
||||
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
@@ -301,7 +301,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
|
||||
}
|
||||
else{
|
||||
console.log('Not open');
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
@@ -357,7 +357,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
if(res){
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
console.log( this.documents);
|
||||
|
||||
this.documents.forEach(element =>{
|
||||
let body = {
|
||||
"Source": "1",
|
||||
|
||||
@@ -64,7 +64,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
}
|
||||
|
||||
async openNewGroupPage(){
|
||||
console.log(this.fulltask);
|
||||
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: NewGroupPage,
|
||||
@@ -107,19 +107,19 @@ export class OptsExpedientePage implements OnInit {
|
||||
|
||||
|
||||
/* this.activatedRoute.paramMap.subscribe(params => {
|
||||
console.log('YES');
|
||||
console.log(params);
|
||||
|
||||
|
||||
|
||||
|
||||
switch (params["params"].caller) {
|
||||
case 'events':
|
||||
console.log('here-1');
|
||||
|
||||
|
||||
this.router.navigate(['/home',params["params"].caller]);
|
||||
break;
|
||||
|
||||
case 'gabinete-digital':
|
||||
console.log('here0');
|
||||
|
||||
let navigationExtras: NavigationExtras = {
|
||||
queryParams: {
|
||||
"expedientes": true,
|
||||
@@ -127,7 +127,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
}
|
||||
if( window.innerWidth < 801) {
|
||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||
console.log('here');
|
||||
|
||||
|
||||
} else {
|
||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
||||
@@ -210,7 +210,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then( async (res) => {
|
||||
console.log(res);
|
||||
|
||||
if(res.data){
|
||||
const DocumentToSave = res.data.documents.map((e) => {
|
||||
return {
|
||||
@@ -281,7 +281,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
"AttachmentList" :documents,
|
||||
}
|
||||
|
||||
console.log(body);
|
||||
|
||||
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
@@ -319,7 +319,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
|
||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||
|
||||
console.log(taskAction, task)
|
||||
|
||||
|
||||
this.close();
|
||||
let classs;
|
||||
@@ -338,7 +338,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(async res=>{
|
||||
console.log(res['data']);
|
||||
|
||||
let body = res['data'];
|
||||
if(res['data']){
|
||||
const loader = this.toastService.loading()
|
||||
@@ -352,7 +352,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
}
|
||||
}
|
||||
else{
|
||||
console.log('Not open');
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -369,7 +369,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( async (res) => {
|
||||
console.log(res['data']);
|
||||
|
||||
|
||||
if(body == 'descartar') {
|
||||
if(res['data']== 'Yes') {
|
||||
@@ -408,7 +408,7 @@ export class OptsExpedientePage implements OnInit {
|
||||
this.goBack();
|
||||
}
|
||||
else if(res['data'] == 'No'){
|
||||
console.log('Update');
|
||||
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
try {
|
||||
|
||||
@@ -46,7 +46,7 @@ export class RequestOptionsPage implements OnInit {
|
||||
this.activatedRoute.queryParams.subscribe(params => {
|
||||
if(params["serialNumber"]) {
|
||||
this.serialNumber = params["serialNumber"];
|
||||
// console.log(params["serialNumber"]);
|
||||
//
|
||||
}
|
||||
});
|
||||
|
||||
@@ -63,7 +63,7 @@ export class RequestOptionsPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log(this.task);
|
||||
|
||||
this.profile = "mdgpr";
|
||||
|
||||
window.onresize = (event) => {
|
||||
@@ -82,7 +82,7 @@ export class RequestOptionsPage implements OnInit {
|
||||
|
||||
sendExpedienteToPending() {
|
||||
this.processes.SetTaskToPending(this.task.SerialNumber).subscribe(res=>{
|
||||
console.log(res);
|
||||
|
||||
this.toastService._successMessage()
|
||||
this.close();
|
||||
},()=>{
|
||||
@@ -161,9 +161,9 @@ export class RequestOptionsPage implements OnInit {
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res=> {
|
||||
console.log(res['data']);
|
||||
|
||||
if(res['data']=='openDiscart') {
|
||||
console.log('open discart');
|
||||
|
||||
|
||||
} else {
|
||||
this.popoverController.dismiss('close')
|
||||
|
||||
Reference in New Issue
Block a user