<nz-card>
  <sf mode="search" [schema]="schema" [button]="'none'" #sf>
    <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
      (click)="st?.load(1)">查询</button>
    <button nz-button (click)="resetSF()">重置</button>
    <button nz-button (click)="export()" nzType="primary" nzGhost>导出</button>
  </sf>

</nz-card>
<nz-card>
  <st #st [data]="service.$api_get_partner_statistics_page" [columns]="columns" [scroll]="{ x: '1200px' }"
    [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
    [res]="{ reName: { list: 'data.records', total: 'data.total' } }"
    [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
    [loading]="service.http.loading">
    <ng-template st-row="approvalStatus" let-item>
      <a [routerLink]="'/'">{{item.yskmoney | currency:' ':false:'1.0-2'}}</a>
    </ng-template>
    <ng-template st-row="approvalStatus1" let-item>
      <div>{{item.approvalStatus1 | currency:' '}}</div>
    </ng-template>
    <ng-template st-row="approvalStatus2" let-item>
      <div class="text-right">{{item.approvalStatus1 | currency:' '}}</div>
    </ng-template>

    <ng-template st-row="approvalStatus3" let-item>
      <div class="text-right">{{item.yskmoney | currency:' '}}</div>
    </ng-template>
  </st>
</nz-card>
