You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
|
|
import { CommonService } from 'src/app/hmg-common/services/common/common.service';
|
|
|
|
|
import { ModalController } from '@ionic/angular';
|
|
|
|
|
import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service';
|
|
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'app-submit-eit-modal',
|
|
|
|
|
templateUrl: './submit-eit-modal.component.html',
|
|
|
|
|
styleUrls: ['./submit-eit-modal.component.scss'],
|
|
|
|
|
})
|
|
|
|
|
export class SubmitEitModalComponent implements OnInit {
|
|
|
|
|
submitAttachmentList :any =[];
|
|
|
|
|
eitComments: string;
|
|
|
|
|
constructor( public ts: TranslatorService,private modalCtrl: ModalController, private cs: CommonService){
|
|
|
|
|
this.submitAttachmentList = this.cs.sharedService.getSharedData('submitAttachmentList', false);
|
|
|
|
|
this.eitComments = this.cs.sharedService.getSharedData('eitComments', false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ngOnInit() {
|
|
|
|
|
console.log("modal");
|
|
|
|
|
//this.actionBtns = this.cs.sharedService.getSharedData("passActionMore" , false);
|
|
|
|
|
console.log("modal");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
closeModal() {
|
|
|
|
|
this.modalCtrl.dismiss();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OkBtnModal() {
|
|
|
|
|
let data = "ok";
|
|
|
|
|
this.modalCtrl.dismiss(data);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|