mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
+7
-1
@@ -109,6 +109,12 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
this.toastService.presentToast('Não foi possível fazer login');
|
this.toastService.presentToast('Não foi possível fazer login');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
updateProcessDB(res) {
|
||||||
|
if (this.platform.is('desktop') || this.platform.is('mobileweb')) {
|
||||||
|
} else {
|
||||||
|
this.sqliteservice.updateProcess(res)
|
||||||
|
}
|
||||||
|
}
|
||||||
getFromDB() {
|
getFromDB() {
|
||||||
|
|
||||||
this.platform.ready().then(() => {
|
this.platform.ready().then(() => {
|
||||||
@@ -319,7 +325,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.fulltask = res;
|
this.fulltask = res;
|
||||||
this.sqliteservice.updateProcess(res)
|
this.updateProcessDB(res)
|
||||||
|
|
||||||
let thedate = new Date(this.task.CreateDate);
|
let thedate = new Date(this.task.CreateDate);
|
||||||
this.customDate = this.days[thedate.getDay()] + ", " + thedate.getDate() + " de " + (this.months[thedate.getMonth()]);
|
this.customDate = this.days[thedate.getDay()] + ", " + thedate.getDate() + " de " + (this.months[thedate.getMonth()]);
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ export class ToastService {
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
|
|
||||||
// document.body.append(loader)
|
document.body.append(loader)
|
||||||
|
|
||||||
loader.addEventListener('click', ()=>{
|
loader.addEventListener('click', ()=>{
|
||||||
// loader.remove()
|
// loader.remove()
|
||||||
|
|||||||
Reference in New Issue
Block a user