<div class="content-heading  justify-content-between">
  <div>微信模版消息发送失败记录管理</div>
  <div class="float-right">
    <div class="row">
      <div class="btn-group ml-3" dropdown>
        <button class="btn dropdown-toggle btn-secondary" type="button" dropdownToggle>微信模版消息发送失败记录管理
          <span class="caret"></span>
        </button>
        <div *dropdownMenu class="dropdown-menu modal-lg" role="menu">
          <a class="dropdown-item" href="#" (click)="export()">导出</a>
<!--          <div class="dropdown-divider"></div>-->
        </div>
      </div>
    </div>
  </div>
</div>

<div class="table-responsive bg-white">
  <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 pager.getRecords(); let i = index">
      <td>{{ v.std_name }}</td>
      <td>{{ v.cert_id }}</td>
      <td>{{ v.std_mobile }}</td>
      <td>{{ v.log_time }}</td>
      <td>{{ v.result_status }}</td>
      <td>{{ v.result_msg }}</td>
<!--      <td>{{ v.template_msg }}</td>-->
      <td tooltip="{{v.template_msg}}">{{v.template_msg | subStr: 20}}</td>
    </tr>
    </tbody>
  </table>
  <frame-pager [url]="'./wx/wxTemplateLog/page.htm'" [pagerParams]="{}" #pager></frame-pager>
</div>
