<div nz-row class="breadcrumbs">
  <div nz-col nzSpan="16">
    <nz-breadcrumb class="padding-8-0">
      <nz-breadcrumb-item>
        首页
      </nz-breadcrumb-item>
      <nz-breadcrumb-item>
        <a>工作总览</a>
      </nz-breadcrumb-item>
      <nz-breadcrumb-item>
        我的关注
      </nz-breadcrumb-item>
    </nz-breadcrumb>
  </div>
  <div nz-col nzSpan="8" class="text-right">
    <button (click)="ngOnInit()" nz-button nzType="primary"><i class="anticon anticon-sync"></i></button>
    <smart-full-screen></smart-full-screen>
  </div>
</div>
<div nz-row [nzGutter]="4" class="search-form">
  <div nz-col nzSpan="2">
    <button (click)="showModal()"
            nz-button nzType="default"><i class="anticon anticon-search"></i>配置
    </button>
  </div>
</div>
<nz-table #nzTable [nzData]="page.list" [nzLoading]="page.isLoading" [nzFrontPagination]="true">
  <thead>
  <tr>
    <th>提醒标题</th>
    <th>提醒时间</th>
    <th>功能模块</th>
    <th>提醒内容</th>
    <th>状态</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody>
  <tr *ngFor="let data of nzTable.data">
    <td>{{data.title}}</td>
    <td>{{data.remindTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
    <td>{{data.moduleName}}</td>
    <td>{{data.content}}</td>
    <td>
      <span *ngIf="data.status == 0">未读</span>
      <span *ngIf="data.status == 1">已读</span>
    </td>
    <td class="handle main-color">
    </td>
  </tr>
  </tbody>
</nz-table>
<smart-module-config #smartModuleConfig (done)="getAllModule()"></smart-module-config>
