<div class="content-heading  justify-content-between">
  <div>评审进度</div>
  <div class="float-right">
    <div class="row">
      <div class="wd-xl wd-sm mr-1">
        <ngx-select [items]="schoolArray" [(ngModel)]="query.school_id" (ngModelChange)="queryBatchArray()" placeholder="学校"
            [autoClearSearch]="true" optionValueField="school_id" optionTextField="code_name">
        </ngx-select>
      </div>
      <div class="wd-xl wd-sm mr-1">
          <ngx-select [items]="batchArray" [(ngModel)]="query.batch_id" (ngModelChange)="requestData()" placeholder="批次"
              [autoClearSearch]="true" optionValueField="batch_id" optionTextField="batch_name">
          </ngx-select>
      </div>
      <div class="wd-sm mr-1">
        <ngx-select [items]="confirmArray" [allowClear]="true" [(ngModel)]="query.has_confirm" (ngModelChange)="requestData()" placeholder="是否确认"
          [autoClearSearch]="true" optionValueField="confirm_value" optionTextField="confirm_text">
        </ngx-select>
      </div>
      <div class="wd-sm">
        <button class="btn btn-primary" type="button" (click)="exportProgress()">导出</button>
      </div>
      
    </div>
  </div>
</div>
<div class="table-responsive bg-white table-full">
  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th width="15%">专业</th>
      <th width="15%">专业方向</th>
      <th width="15%">导师</th>
      <th>总人数(<font style="color: green;font-size: 18px;font-weight: bold;">{{totalMap.total_cnt}}</font>)</th>
      <th>已评(<font style="color: green;font-size: 18px;font-weight: bold;">{{totalMap.done_cnt}}</font>)</th>
      <th>未评(<font style="color: red;font-size: 18px;font-weight: bold;">{{totalMap.to_be_cnt}}</font>)</th>
      <th>是否确认提交</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{v.major_name}}</td>
      <td>{{v.aspect_name}}</td>
      <td>{{v.optr_name}}</td>
      <td><font style="font-size: 18px;font-weight: bold;">{{v.total_cnt}}</font></td>
      <td><span class="table-button" (click)="showDoneList(v)"><font style="color: green;font-size: 18px;font-weight: bold;">{{v.done_cnt}}</font></span></td>
      <td><span class="table-button" (click)="showToBeList(v)"><font style="color: red;font-size: 18px;font-weight: bold;">{{v.to_be_cnt}}</font></span></td>
      <td><span class="{{v.has_confirm == '是' ? 'yesCls' : 'noCls'}}">{{v.has_confirm}}</span><font style="font-size: 15px;font-weight: bold;"></font></td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./final/review/progress/page.htm'" 
    [pagerParams]="{school_id: query.school_id,batch_id: query.batch_id,has_confirm: query.has_confirm}" #pager></frame-pager>
</div>

