|
|
|
|
@ -6,6 +6,7 @@ import { CommonService } from 'src/app/hmg-common/services/common/common.service
|
|
|
|
|
import { EITNotificatonBodyResponse } from '../models/EITNotificationBodyRes';
|
|
|
|
|
import { EitService } from '../services/eit.service';
|
|
|
|
|
import { TranslatorService } from "src/app/hmg-common/services/translator/translator.service";
|
|
|
|
|
import { MenuResponse } from 'src/app/hmg-common/services/menu/models/menu-response';
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'app-eit-update-list',
|
|
|
|
|
@ -29,6 +30,15 @@ export class EitUpdateListComponent implements OnInit {
|
|
|
|
|
constructor(public cs: CommonService, public eitService: EitService, public modalController: ModalController, private ts: TranslatorService) {
|
|
|
|
|
this.notificationBodyRes = this.cs.sharedService.getSharedData(EITNotificatonBodyResponse.SHARED_DATA, false);
|
|
|
|
|
let notification = this.cs.sharedService.getSharedData(EITNotificatonBodyResponse.NOT_WORKLIST, false);
|
|
|
|
|
///////// MOE RESUBIT FIX ///////////////
|
|
|
|
|
let selMenu: MenuResponse = new MenuResponse();
|
|
|
|
|
selMenu = this.cs.sharedService.getSharedData(
|
|
|
|
|
MenuResponse.SHARED_DATA,
|
|
|
|
|
false
|
|
|
|
|
);
|
|
|
|
|
selMenu.GetMenuEntriesList = notification;
|
|
|
|
|
this.cs.sharedService.setSharedData(selMenu, MenuResponse.SHARED_DATA);
|
|
|
|
|
|
|
|
|
|
this.itemKey = notification.ITEM_KEY;
|
|
|
|
|
this.notificationId = notification.NOTIFICATION_ID;
|
|
|
|
|
this.functionName = notification.FUNCTION_NAME;
|
|
|
|
|
|