36 lines
1.7 KiB
HTML
36 lines
1.7 KiB
HTML
<nz-card>
|
|
<sf mode="search" [schema]="schema" [ui]="ui" [button]="'none'" (formSubmit)="st.load(1)" (formReset)="resetSF()" #sf>
|
|
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.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]="'/partner/business-statistics/partner/custom-detail/'+item?.id">{{item.yskmoney}}</a>
|
|
</ng-template>
|
|
<ng-template st-row="approvalStatus1" let-item>
|
|
<div class="text-right">{{item.approvalStatus1 | currency:' '}}</div>
|
|
</ng-template>
|
|
<ng-template st-row="approvalStatus2" let-item>
|
|
<a class="text-right text-blue-dark"
|
|
[routerLink]="'/partner/business-statistics/partner/order-detail/'+item?.id">{{item.yskmoney | currency:'
|
|
'}}</a>
|
|
</ng-template>
|
|
|
|
<ng-template st-row="approvalStatus3" let-item>
|
|
<div class="text-right">{{item.yskmoney | currency:' '}}</div>
|
|
</ng-template>
|
|
<ng-template st-row="approvalStatus4" let-item>
|
|
<div class="text-right">{{item.armoney | currency:' '}}</div>
|
|
</ng-template>
|
|
</st>
|
|
</nz-card>
|