mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -33,7 +33,12 @@ export class EventListPage implements OnInit {
|
|||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.profile = this.navParams.get('profile');
|
this.profile = this.navParams.get('profile');
|
||||||
/* console.log(this.navParams.get('md')); */
|
/* console.log(this.navParams.get('md')); */
|
||||||
console.log(this.profile);
|
if(this.profile == "mdgpr"){
|
||||||
|
this.profile = 'MDGPR'
|
||||||
|
} else {
|
||||||
|
this.profile = 'PR'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
this.LoadToApproveEvents();
|
this.LoadToApproveEvents();
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<ion-list>
|
<ion-list>
|
||||||
<ion-item (click)="approveTask(loadedEvent.serialNumber)">
|
<ion-item (click)="approveTask(loadedEvent.serialNumber)">
|
||||||
<ion-icon name="checkmark-sharp"></ion-icon>
|
<ion-icon name="checkmark-sharp"></ion-icon>
|
||||||
<ion-label>Aprovar3</ion-label>
|
<ion-label>Aprovar</ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item (click)="emendTask(loadedEvent.serialNumber)">
|
<ion-item (click)="emendTask(loadedEvent.serialNumber)">
|
||||||
<ion-icon name="create-outline"></ion-icon>
|
<ion-icon name="create-outline"></ion-icon>
|
||||||
|
|||||||
Reference in New Issue
Block a user