mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
improve
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<ion-header>
|
||||
<div class="title-content">
|
||||
<div class="middle">
|
||||
<ion-label class="title">Editar evento por aprovar</ion-label>
|
||||
<ion-label class="title">Editar evento por aprovar ,.,.,.,.,..,.,</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</ion-header>
|
||||
|
||||
@@ -217,6 +217,7 @@ export class EditEventToApproveComponent implements OnInit {
|
||||
close() {
|
||||
this.modalController.dismiss();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -123,38 +123,6 @@ export class EventsToApprovePage implements OnInit {
|
||||
this.router.navigate(['/home/gabinete-digital/event-list/approve-event',event.serialNumber, 'gabinete-digital'])
|
||||
}
|
||||
|
||||
/* async openApproveModal(eventToAprove) {
|
||||
let classs;
|
||||
if( window.innerWidth <= 800){
|
||||
classs = 'modal modal-desktop'
|
||||
} else {
|
||||
classs = 'modal modal-desktop showAsideOptions'
|
||||
}
|
||||
|
||||
let InstanceId;
|
||||
|
||||
if(!eventToAprove.workflowInstanceDataFields.hasOwnProperty('InstanceId')){
|
||||
InstanceId = ''
|
||||
} else {
|
||||
InstanceId =eventToAprove.workflowInstanceDataFields.InstanceId
|
||||
}
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: ApproveEventPage,
|
||||
componentProps:{
|
||||
serialNumber: eventToAprove.serialNumber,
|
||||
InstanceId: InstanceId ,
|
||||
showAside: true,
|
||||
},
|
||||
cssClass: classs,
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then((res) => {
|
||||
|
||||
|
||||
this.LoadToApproveEvents();
|
||||
});
|
||||
} */
|
||||
|
||||
doRefresh() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user