<div class="modal-header">
  <h4 class="modal-title pull-left">复试确认统计</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>考点地址</th>
        <th>总人次</th>
        <th>总人数</th>
        <th>确认人次</th>
        <th>确认人数</th>
      </tr>
      </thead>
      <tbody>
      <tr *ngFor="let v of array; let i = index">
        <td>{{v.agent_code}}</td>
        <td>{{v.agent_name}}</td>
        <td>{{v.agent_addr}}</td>
        <td>{{v.aspect_total}}</td>
        <td>{{v.std_total}}</td>
        <td>{{v.confrim_aspect_total}}</td>
        <td>{{v.confrim_std_total}}</td>
      </tr>
      <tr>
        <td [colSpan]="3"></td>
        <td>{{array | frameSum :'aspect_total'}}</td>
        <td>{{array | frameSum :'std_total'}}</td>
        <td>{{array | frameSum :'confrim_aspect_total'}}</td>
        <td>{{array | frameSum :'confrim_std_total'}}</td>
      </tr>
      </tbody>
    </table>
  </div>
</div>
<div class="modal-footer">
  <button class="btn btn-secondary ml-2" type="button" (click)="closeWindow()">关闭窗口</button>
</div>
