This commit is contained in:
Peter Maquiran
2021-08-18 15:57:19 +01:00
parent 2aba281a60
commit 152d0ebbf9
11 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -125,8 +125,8 @@ export class HomePage implements OnInit {
console.log('MobileFirst Server connect: failure ' + error.responseText); console.log('MobileFirst Server connect: failure ' + error.responseText);
console.log(JSON.stringify(error)) console.log(JSON.stringify(error))
/* this.zone.run(() => { /* this.zone.run(() => {
alert("Bummer..."); console.log("Bummer...");
alert("Failed to connect to MobileFirst Server"); console.log("Failed to connect to MobileFirst Server");
}); */ }); */
}); });
} }
@@ -185,7 +185,7 @@ export class DocumentDetailPage implements OnInit {
this.openExpedientActionsModal(res.data.taskAction) this.openExpedientActionsModal(res.data.taskAction)
} else { } else {
console.log(res.data) console.log(res.data)
alert('component not found') console.log('component not found')
} }
}); });
} }
+1 -1
View File
@@ -91,7 +91,7 @@ export class EventsPage implements OnInit {
this.prEventList = null; this.prEventList = null;
this.platform.resize.subscribe(async () => { this.platform.resize.subscribe(async () => {
//alert('Resize event detected'); //console.log('Resize event detected');
console.log('Resize event detected'); console.log('Resize event detected');
}); });
@@ -3,10 +3,10 @@
</ion-header> </ion-header>
<ion-content> <ion-content>
<div class="main-content d-flex height-100"> <div class="main-content d-flex height-100">
<div class="content d-flex flex-column px-20" *ngIf="task"> <div class="content d-flex flex-column" style="padding: 0px 20px;" *ngIf="task">
<div class="main-header"> <div class="main-header" >
<div class="title-content width-100 d-flex justify-space-between"> <div class="title-content width-100 d-flex justify-space-between align-center">
<div class="font-30 cursor-pointer" (click)="goBack()" defaultHref="#"> <div class="font-30 cursor-pointer align-center d-flex" (click)="goBack()" defaultHref="#">
<ion-icon slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon> <ion-icon slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
</div> </div>
<div class="middle d-flex align-center flex-grow-1"> <div class="middle d-flex align-center flex-grow-1">
@@ -17,7 +17,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="upper-content"> <div class="upper-content" >
<div class="content-details"> <div class="content-details">
<ion-label> <ion-label>
<p><span class="date">{{customDate}}</span><span class="label">{{ task.activityInstanceName }}</span></p> <p><span class="date">{{customDate}}</span><span class="label">{{ task.activityInstanceName }}</span></p>
@@ -27,7 +27,7 @@
</div> </div>
<div class="line"></div> <div class="line"></div>
<div class="overflow-y-auto px-20"> <div class="overflow-y-auto">
<div class="middle-content" > <div class="middle-content" >
<div *ngIf="intervenientes.length > 0"> <div *ngIf="intervenientes.length > 0">
<h5 >Intervenientes</h5> <h5 >Intervenientes</h5>
@@ -518,7 +518,7 @@ export class DespachoPrPage implements OnInit {
} }
alert('alert ...'+ JSON.stringify(res)) console.log('alert ...'+ JSON.stringify(res))
})) }))
+2 -2
View File
@@ -140,10 +140,10 @@ export class InactivityPage implements OnInit {
const encrypted = crypto.SHA1(code) const encrypted = crypto.SHA1(code)
if(!this.hasPin) { if(!this.hasPin) {
// alert('storePin') // console.log('storePin')
this.storePin() this.storePin()
} else { } else {
// alert('pinLogin') // console.log('pinLogin')
this.pinLogin() this.pinLogin()
} }
} }
+3 -3
View File
@@ -111,7 +111,7 @@ export class LoginPage implements OnInit {
getToken() { getToken() {
this.notificatinsservice.getAndpostToken(this.username); this.notificatinsservice.getAndpostToken(this.username);
//alert('HERE'); //console.log('HERE');
} }
async Login() { async Login() {
@@ -161,10 +161,10 @@ export class LoginPage implements OnInit {
const encrypted = crypto.SHA1(code) const encrypted = crypto.SHA1(code)
if(!this.hasPin) { if(!this.hasPin) {
// alert('storePin') // console.log('storePin')
this.storePin() this.storePin()
} else { } else {
// alert('pinLogin') // console.log('pinLogin')
this.pinLogin() this.pinLogin()
} }
} }
@@ -248,7 +248,7 @@ export class NewPublicationPage implements OnInit {
else { else {
const date = formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss') const date = formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss')
alert(date) console.log(date)
this.publication = { this.publication = {
DateIndex: date, DateIndex: date,
+1 -1
View File
@@ -39,7 +39,7 @@ export class WebNotificationsService {
MFPPush.registerDevice() MFPPush.registerDevice()
.then((res) => { .then((res) => {
alert("WEB Successfully Registered Device..."); console.log("WEB Successfully Registered Device...");
}) })
.catch((err) => { .catch((err) => {
console.log("WEB Registration Failed" + err); console.log("WEB Registration Failed" + err);
@@ -100,7 +100,7 @@ export class AttendeePage implements OnInit {
itm.IsRequired = false; itm.IsRequired = false;
this.LtaskParticipantsCc.push(itm); this.LtaskParticipantsCc.push(itm);
} else { } else {
// alert('bug') // console.log('bug')
} }
// run only in gabinete digital // run only in gabinete digital
@@ -277,7 +277,7 @@ export class OptsExpedientePrPage implements OnInit {
modal.onDidDismiss().then( async (res)=>{ modal.onDidDismiss().then( async (res)=>{
console.log(res['data']); console.log(res['data']);
let body = res['data']; let body = res['data'];
// alert('close '+ res['data']) // console.log('close '+ res['data'])
if(res['data']) { if(res['data']) {
console.log('open discart'); console.log('open discart');