mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Fiz
This commit is contained in:
@@ -125,8 +125,8 @@ export class HomePage implements OnInit {
|
||||
console.log('MobileFirst Server connect: failure ' + error.responseText);
|
||||
console.log(JSON.stringify(error))
|
||||
/* this.zone.run(() => {
|
||||
alert("Bummer...");
|
||||
alert("Failed to connect to MobileFirst Server");
|
||||
console.log("Bummer...");
|
||||
console.log("Failed to connect to MobileFirst Server");
|
||||
}); */
|
||||
});
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ export class DocumentDetailPage implements OnInit {
|
||||
this.openExpedientActionsModal(res.data.taskAction)
|
||||
} else {
|
||||
console.log(res.data)
|
||||
alert('component not found')
|
||||
console.log('component not found')
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ export class EventsPage implements OnInit {
|
||||
this.prEventList = null;
|
||||
|
||||
this.platform.resize.subscribe(async () => {
|
||||
//alert('Resize event detected');
|
||||
//console.log('Resize event detected');
|
||||
console.log('Resize event detected');
|
||||
|
||||
});
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
</ion-header>
|
||||
<ion-content>
|
||||
<div class="main-content d-flex height-100">
|
||||
<div class="content d-flex flex-column px-20" *ngIf="task">
|
||||
<div class="main-header">
|
||||
<div class="title-content width-100 d-flex justify-space-between">
|
||||
<div class="font-30 cursor-pointer" (click)="goBack()" defaultHref="#">
|
||||
<div class="content d-flex flex-column" style="padding: 0px 20px;" *ngIf="task">
|
||||
<div class="main-header" >
|
||||
<div class="title-content width-100 d-flex justify-space-between align-center">
|
||||
<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>
|
||||
</div>
|
||||
<div class="middle d-flex align-center flex-grow-1">
|
||||
@@ -17,7 +17,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="upper-content">
|
||||
<div class="upper-content" >
|
||||
<div class="content-details">
|
||||
<ion-label>
|
||||
<p><span class="date">{{customDate}}</span><span class="label">{{ task.activityInstanceName }}</span></p>
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
|
||||
<div class="overflow-y-auto px-20">
|
||||
<div class="overflow-y-auto">
|
||||
<div class="middle-content" >
|
||||
<div *ngIf="intervenientes.length > 0">
|
||||
<h5 >Intervenientes</h5>
|
||||
|
||||
@@ -518,7 +518,7 @@ export class DespachoPrPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
alert('alert ...'+ JSON.stringify(res))
|
||||
console.log('alert ...'+ JSON.stringify(res))
|
||||
|
||||
}))
|
||||
|
||||
|
||||
@@ -140,10 +140,10 @@ export class InactivityPage implements OnInit {
|
||||
const encrypted = crypto.SHA1(code)
|
||||
|
||||
if(!this.hasPin) {
|
||||
// alert('storePin')
|
||||
// console.log('storePin')
|
||||
this.storePin()
|
||||
} else {
|
||||
// alert('pinLogin')
|
||||
// console.log('pinLogin')
|
||||
this.pinLogin()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ export class LoginPage implements OnInit {
|
||||
|
||||
getToken() {
|
||||
this.notificatinsservice.getAndpostToken(this.username);
|
||||
//alert('HERE');
|
||||
//console.log('HERE');
|
||||
}
|
||||
|
||||
async Login() {
|
||||
@@ -161,10 +161,10 @@ export class LoginPage implements OnInit {
|
||||
const encrypted = crypto.SHA1(code)
|
||||
|
||||
if(!this.hasPin) {
|
||||
// alert('storePin')
|
||||
// console.log('storePin')
|
||||
this.storePin()
|
||||
} else {
|
||||
// alert('pinLogin')
|
||||
// console.log('pinLogin')
|
||||
this.pinLogin()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -248,7 +248,7 @@ export class NewPublicationPage implements OnInit {
|
||||
else {
|
||||
|
||||
const date = formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss')
|
||||
alert(date)
|
||||
console.log(date)
|
||||
|
||||
this.publication = {
|
||||
DateIndex: date,
|
||||
|
||||
@@ -39,7 +39,7 @@ export class WebNotificationsService {
|
||||
|
||||
MFPPush.registerDevice()
|
||||
.then((res) => {
|
||||
alert("WEB Successfully Registered Device...");
|
||||
console.log("WEB Successfully Registered Device...");
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("WEB Registration Failed" + err);
|
||||
|
||||
@@ -100,7 +100,7 @@ export class AttendeePage implements OnInit {
|
||||
itm.IsRequired = false;
|
||||
this.LtaskParticipantsCc.push(itm);
|
||||
} else {
|
||||
// alert('bug')
|
||||
// console.log('bug')
|
||||
}
|
||||
|
||||
// run only in gabinete digital
|
||||
|
||||
@@ -277,7 +277,7 @@ export class OptsExpedientePrPage implements OnInit {
|
||||
modal.onDidDismiss().then( async (res)=>{
|
||||
console.log(res['data']);
|
||||
let body = res['data'];
|
||||
// alert('close '+ res['data'])
|
||||
// console.log('close '+ res['data'])
|
||||
if(res['data']) {
|
||||
console.log('open discart');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user