From d174dac9d956ca50b7b59e5e3fb051325d5a86e7 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 13 三月 2025 16:58:17 +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