From f57cac888fba78982e3b46c1f45db0fbe16faa49 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期四, 13 三月 2025 09:23:39 +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