This commit is contained in:
Taric Xin
2022-01-11 17:47:07 +08:00
parent a69bdc3c60
commit cd037f29e8
6 changed files with 59 additions and 47 deletions

View File

@ -23,13 +23,13 @@
</nz-card>
<nz-card class="content-box" nzBordered>
<st #st [data]="service.$mock_url" [columns]="columns"
<st #st [data]="service.$api_get_invoice_logs_page" [columns]="columns"
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
[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" [scroll]="{ x:'1200px',y: '370px' }">
<ng-template st-row="call3No" let-item let-index="index" let-column="column">
特朗普<br>13789040523
{{item.driverName}}<br>{{item.driverCellphone}}
</ng-template>
</st>
</nz-card>