mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Correct serialNumber
This commit is contained in:
Binary file not shown.
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -421,9 +421,6 @@ let HomePage = class HomePage {
|
||||
//this.router.navigate(['/home/', service, idObject, 'home']);
|
||||
this.viewEventDetail(idObject);
|
||||
}
|
||||
else if (service === "gabinete-digital" && object != "expediente" || object != "event-list") {
|
||||
this.router.navigate(['/home/gabinete-digital']);
|
||||
}
|
||||
else if (service === "gabinete-digital" && object === "expediente") {
|
||||
this.viewExpedientDetail(idObject);
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -690,8 +690,6 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
if (service === "agenda") {
|
||||
//this.router.navigate(['/home/', service, idObject, 'home']);
|
||||
_this.viewEventDetail(idObject);
|
||||
} else if (service === "gabinete-digital" && object != "expediente" || object != "event-list") {
|
||||
_this.router.navigate(['/home/gabinete-digital']);
|
||||
} else if (service === "gabinete-digital" && object === "expediente") {
|
||||
_this.viewExpedientDetail(idObject);
|
||||
} else if (service === "gabinete-digital" && object === "event-list") {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -268,11 +268,11 @@ let PublicationsPage = class PublicationsPage {
|
||||
}
|
||||
});
|
||||
}
|
||||
doRefresh(event) {
|
||||
doRefresh() {
|
||||
/* this.getActions(); */
|
||||
setTimeout(() => {
|
||||
this.getActions();
|
||||
event.target.complete();
|
||||
/* event.target.complete(); */
|
||||
}, 2000);
|
||||
}
|
||||
getActions() {
|
||||
@@ -315,7 +315,7 @@ let PublicationsPage = class PublicationsPage {
|
||||
});
|
||||
yield modal.present();
|
||||
modal.onDidDismiss().then(() => {
|
||||
this.doRefresh(event);
|
||||
this.doRefresh();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -490,14 +490,14 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}
|
||||
}, {
|
||||
key: "doRefresh",
|
||||
value: function doRefresh(event) {
|
||||
value: function doRefresh() {
|
||||
var _this2 = this;
|
||||
|
||||
/* this.getActions(); */
|
||||
setTimeout(function () {
|
||||
_this2.getActions();
|
||||
/* event.target.complete(); */
|
||||
|
||||
event.target.complete();
|
||||
}, 2000);
|
||||
}
|
||||
}, {
|
||||
@@ -561,7 +561,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
case 5:
|
||||
modal.onDidDismiss().then(function () {
|
||||
_this4.doRefresh(event);
|
||||
_this4.doRefresh();
|
||||
});
|
||||
|
||||
case 6:
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -100,7 +100,7 @@
|
||||
<div class="content">
|
||||
<ul>
|
||||
<li *ngFor = "let task of expedientList"
|
||||
(click)="viewExpedientDetail(task.SerialNumber)">
|
||||
(click)="viewExpedientDetail(task.serialNumber)">
|
||||
<!-- [routerLink]="['/home/gabinete-digital/expediente']" -->
|
||||
>
|
||||
<div class="d-flex">
|
||||
|
||||
@@ -282,7 +282,8 @@ export class EventsPage implements OnInit {
|
||||
}
|
||||
|
||||
async viewExpedientDetail(serialNumber:any) {
|
||||
console.log(this.profile);
|
||||
/* console.log(this.profile);
|
||||
console.log(serialNumber); */
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: ExpedienteDetailPage,
|
||||
|
||||
+3
-1
@@ -43,11 +43,13 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
this.profile = "mdgpr";
|
||||
console.log(this.serialnumber);
|
||||
|
||||
this.activateRoute.paramMap.subscribe(paramMap => {
|
||||
if (!paramMap.has('SerialNumber')){
|
||||
return;
|
||||
}
|
||||
this.serialnumber = paramMap.get('SerialNumber');
|
||||
/* this.serialnumber = paramMap.get('SerialNumber'); */
|
||||
this.LoadTaskDetail(this.serialnumber);
|
||||
this.LoadRelatedEvents(this.serialnumber);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user