<div class="modal-header">
  <h4 class="modal-title pull-left">EMS统计</h4>
</div>
<div class="modal-body mb-1">
  <div class="table-responsive bg-white table-full" *ngIf="array">
    <table class="table table-striped table-hover table-bordered">
      <thead>
      <tr>
        <th>专业名称</th>
        <th>考生总数</th>
        <th>以发EMS总数</th>
        <th>最近发件时间</th>
        <th>考生确认收件</th>
        <th>最近考生确认</th>
        <th>考生发件总数</th>
        <th>考生最近发件</th>
        <th>学校确认总数</th>
      </tr>
      </thead>
      <tbody>
      <tr *ngFor="let v of array; let i = index">
        <td>{{v.aspect_name}}</td>
        <td>{{v.aspect_total}}</td>
        <td>{{v.school_ems_total}}</td>
        <td>{{v.school_ems_time}}</td>
        <td>{{v.std_confirm_total}}</td>
        <td>{{v.std_confirm_time}}</td>
        <td>{{v.std_ems_total}}</td>
        <td>{{v.std_ems_time}}</td>
        <td>{{v.school_confirm_total}}</td>
      </tr>
      <tr>
        <td></td>
        <td>{{array | frameSum :'aspect_total'}}</td>
        <td>{{array | frameSum :'school_ems_total'}}</td>
        <td></td>
        <td>{{array | frameSum :'std_confirm_total'}}</td>
        <td></td>
        <td>{{array | frameSum :'std_ems_total'}}</td>
        <td></td>
        <td>{{array | frameSum :'school_confirm_total'}}</td>
      </tr>
      </tbody>
    </table>
  </div>
</div>
<div class="modal-footer">
  <button class="btn btn-secondary ml-2" type="button" (click)="closeWindow()">关闭窗口</button>
</div>
