import { Component, OnInit } from '@angular/core';
import { FrameDetailComponent } from '../../../frame/core/detail/frame.detail';
import { BsModalRef } from 'ngx-bootstrap/modal';
import {FormBuilder} from '@angular/forms';
import { AjaxService } from '../../../../core/service/ajax.service';

@Component({
  selector: 'app-score-ym-ems-report',
  templateUrl: './score-ym-ems-report.component.html',
  styleUrls: ['./score-ym-ems-report.component.scss']
})
export class ScoreYmEmsReportComponent extends FrameDetailComponent implements OnInit {

  array;
  constructor(bsModalRef: BsModalRef, fb: FormBuilder) {
    super(bsModalRef);
    AjaxService.requestArray('score/ym/ems/report.htm',{},(array) => {
      this.array = array;
    });

  }

  ngOnInit() {
  }

}
