This commit is contained in:
Taric Xin
2022-02-11 15:33:26 +08:00
parent 63572e11f9
commit cf1ae122fc
11 changed files with 103 additions and 166 deletions

View File

@ -20,9 +20,6 @@
<button nz-button nzType="primary" (click)="reasonAction()">新增</button>
</div>
</div>
<st #st [data]="url" [columns]="columns"
[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" [scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
<st #st [data]="url" [columns]="columns" [req]="{ params: reqParams }" [loading]="service.http.loading"
[scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
</nz-card>