From 0a26d58a3906b9e13946c7cb46fae51a0de98920 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 17 三月 2025 15:49:08 +0800
Subject: [PATCH] Merge branch 'dev' into dev_tides

---
 src/views/performance/manHour/workTimeStatistics.vue |   36 ++++++++++++++----------------------
 1 files changed, 14 insertions(+), 22 deletions(-)

diff --git a/src/views/performance/manHour/workTimeStatistics.vue b/src/views/performance/manHour/workTimeStatistics.vue
index 4425caf..8f7dc37 100644
--- a/src/views/performance/manHour/workTimeStatistics.vue
+++ b/src/views/performance/manHour/workTimeStatistics.vue
@@ -37,18 +37,16 @@
         </div>
       </div>
       <div class="table">
-        <TableCard :showForm="false" :showTitle="false">
-          <template v-slot:table>
-            <limsTable
-              :column="tableColumn"
-              :table-data="tableData"
-              :table-loading="tableLoading"
-              :page="page"
-              style="padding: 0 15px"
-            >
-            </limsTable>
-          </template>
-        </TableCard>
+        <limsTable
+          :column="tableColumn"
+          :table-data="tableData"
+          :table-loading="tableLoading"
+          :page="page"
+          style="padding: 0 15px"
+          :height="'calc(100vh - 290px)'"
+          @pagination="pagination"
+        >
+        </limsTable>
       </div>
     </div>
   </div>
@@ -56,13 +54,11 @@
 
 <script>
 import { getYearAndMonthAndDays } from "@/utils/date";
-import TableCard from "@/components/TableCard/index.vue";
 import limsTable from "@/components/Table/lims-table.vue";
 import { selectAuxiliaryAllByMonth } from "@/api/performance/manHour";
 export default {
   components: {
-    limsTable,
-    TableCard,
+    limsTable
   },
   data() {
     return {
@@ -116,7 +112,6 @@
       selectAuxiliaryAllByMonth(this.queryParams)
         .then((res) => {
           this.tableLoading = false;
-          if (res.code === 201) return;
           this.tableData = res.data;
         })
         .catch(() => {
@@ -132,12 +127,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