<div class="modal-header">
  <div>定时器【{{currentEntity.timer_name}}】日志信息</div>
</div>
<div class="modal-body">
  <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>
      </tr>
      </thead>
      <tbody>
      <tr *ngFor="let v of pager.getRecords(); let i = index">
        <td>{{v.run_start_time}}</td>
        <td>{{v.run_end_time}}</td>
        <td [innerHTML]="v.log_param?v.log_param.replaceAll('\n', '<br>'):''"></td>
        <td>{{v.log_note}}</td>
      </tr>
      </tbody>
    </table>
  </div>

  <frame-pager url="frame/timer/log/page.htm" [pagerParams]="{timer_id:currentEntity.timer_id}" [showSearch]="false" #pager></frame-pager>
</div>

<div class="modal-footer">
  <div>
    <button class="btn btn-secondary" type="button" (click)="closeWindow()">关闭窗口</button>
  </div>
</div>


