From 12888c2aa587c2f7cca3ebe2edb428707046a7df Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期三, 12 三月 2025 19:05:04 +0800 Subject: [PATCH] 修改配置类 --- src/views/performance/manHour/workTimeStatistics.vue | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/views/performance/manHour/workTimeStatistics.vue b/src/views/performance/manHour/workTimeStatistics.vue index 4425caf..21dff0b 100644 --- a/src/views/performance/manHour/workTimeStatistics.vue +++ b/src/views/performance/manHour/workTimeStatistics.vue @@ -45,6 +45,8 @@ :table-loading="tableLoading" :page="page" style="padding: 0 15px" + :height="'calc(100vh - 290px)'" + @pagination="pagination" > </limsTable> </template> @@ -116,7 +118,6 @@ selectAuxiliaryAllByMonth(this.queryParams) .then((res) => { this.tableLoading = false; - if (res.code === 201) return; this.tableData = res.data; }) .catch(() => { @@ -132,12 +133,9 @@ this.refreshTable(); }, // 鍒嗛〉 - handleCurrent(page) { - this.pagination.curent = page; - this.refreshTable(); - }, - handleSizeChange(size) { - this.pagination.pageSize = size; + pagination({ page, limit }) { + this.page.current = page; + this.page.size = limit; this.refreshTable(); }, }, -- Gitblit v1.9.3