<div class="content-heading  justify-content-between">
  <div>模式管理</div>
  <div class="float-right">
    <div class="btn-group mb-1 mr-1" dropdown>
      <button class="btn dropdown-toggle btn-secondary btn-lg" type="button" dropdownToggle>模式管理
        <span class="caret"></span>
      </button>
      <div *dropdownMenu class="dropdown-menu modal-lg" role="menu">
        <a class="dropdown-item" href="#" (click)="showModal()">新增批次</a>
      </div>
    </div>
  </div>
</div>
<div class="table-responsive bg-white table-full">
  <table class="table table-striped table-hover table-bordered">
    <thead>
    <tr>
      <th>序号</th>
      <th>模式名称</th>
      <th>提交期间是否审核<br>明细材料-资格审核</th>
      <th>提交期间是否审核<br>主记录-资格审核</th>
      <th>是否资格复审</th>
      <th>提交期间是否<br>实时发送通知-资格审核</th>
      <th>审核期间是否<br>实时发送通知-资格审核</th>
      <th>是否开启审核标签</th>
      <th>模式关联学校</th>
      <th class="th-b-3"></th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let v of pager.getRecords(); let i = index">
      <td>{{i + 1}}</td>
      <td>{{v.pattern_name}}</td>
      <td [innerHTML]="v.is_auth_dtl_dur_submit | frameDict:'YesOrNo'"></td>
      <td [innerHTML]="v.is_auth_main_dur_submit | frameDict:'YesOrNo'"></td>
      <td [innerHTML]="v.is_auth_recheck | frameDict:'YesOrNo'"></td>
      <td [innerHTML]="v.is_msg_dur_submit | frameDict:'YesOrNo'"></td>
      <td [innerHTML]="v.is_msg_dur_auth | frameDict:'YesOrNo'"></td>
      <td [innerHTML]="v.is_enable_auth_lable | frameDict:'YesOrNo'"></td>
      <td><span (click)="showRelateBatch(v);" class="{{v.optr_name ? 'text-green' : ''}} table-button">{{v.cnt}}</span></td>
      <td>
          <span class="table-button" (click)="showModal({ResponseEntity:v})"><em class="fa-lg fas fa-edit"></em></span>
          <span class="table-button ml-3 text-danger" (click)="pager.optrRecord('cf/pattern/delete.htm', v, {successMsg:'模式已删除！', confirmMsg: '谨慎操作，确定要删除该模式吗？', successMsgType:'Swal'})"><em
          class="fa-lg fas fa-trash-alt "></em></span>
      </td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./cf/pattern/page.htm'" #pager></frame-pager>
</div>

