From a0cfea0db1a87b627fa60540422d06ae9e1a3c70 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期日, 28 四月 2024 17:44:24 +0800 Subject: [PATCH] 产量报表和应发工资报表增加分页 --- src/views/reportManage/payableSalaryReport/index.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/reportManage/payableSalaryReport/index.vue b/src/views/reportManage/payableSalaryReport/index.vue index 31c963f..1d04dd3 100644 --- a/src/views/reportManage/payableSalaryReport/index.vue +++ b/src/views/reportManage/payableSalaryReport/index.vue @@ -37,9 +37,9 @@ > </TableCommonView> </div> - <!-- <div class="btn-pager"> + <div class="btn-pager"> <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" /> - </div> --> + </div> </div> </div> </div> @@ -127,8 +127,8 @@ await getAttendanceStatistic({ keyword: this.keyword, month:this.object.date, - // page: this.pagerOptions.currPage, - // pageSize: this.pagerOptions.pageSize + page: this.pagerOptions.currPage, + pageSize: this.pagerOptions.pageSize }) .then((res) => { if (res.code == 200) { @@ -171,7 +171,7 @@ } }) this.tableList.tableInfomation = list || [] - this.pagerOptions.totalCount = res.total + this.pagerOptions.totalCount = res.total||0 } else { this.tableList.tableInfomation = [] } @@ -231,10 +231,11 @@ background-color: #fff; border-radius: 12px; height: 100%; + box-sizing: border-box; overflow: hidden; } .list-view { - height: calc(100% - 10px); + height: calc(100% - 60px); overflow: hidden; } .btn-pager { -- Gitblit v1.8.0