From 45792b3776cda2e1ada31755ffc226a663f90b48 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 19 三月 2025 15:32:23 +0800
Subject: [PATCH] 锁屏功能

---
 src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue |   27 +++++++++++----------------
 1 files changed, 11 insertions(+), 16 deletions(-)

diff --git a/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue b/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue
index 98fafe1..fced87d 100644
--- a/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue
+++ b/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue
@@ -21,7 +21,7 @@
         <template v-slot:table>
           <limsTable ref="yearTable" :column="yearColumnData" :height="'28vh'" :highlightCurrentRow="true"
             :rowClick="rowClick" :table-data="yearTableData" :table-loading="yearLoading"
-            style="margin-top: 0.5em;padding: 0 15px;" :page="yearPage">
+            style="margin-top: 0.5em;padding: 0 15px;" :page="yearPage" @pagination="pagination">
           </limsTable>
         </template>
       </TableCard>
@@ -43,7 +43,8 @@
         </template>
         <template v-slot:table>
           <limsTable :column="yearDetailColumnData" :height="'28vh'" :table-data="yearDetailTableData"
-            :table-loading="yearDetailLoading" style="margin-top: 18px; padding: 0 15px;" :page="yearDetailPage">
+            :table-loading="yearDetailLoading" style="margin-top: 18px; padding: 0 15px;" :page="yearDetailPage"
+            @pagination="pagination1">
           </limsTable>
         </template>
       </TableCard>
@@ -609,22 +610,16 @@
       })
     },
     // 骞磋鍒掑垎椤�
-    handleYearCurrent(page) {
-      this.yearPage.current = page
-      this.getYearPlanList()
-    },
-    handleYearSizeChange(size) {
-      this.yearPage.size = size
-      this.getYearPlanList()
+    pagination({ page, limit }) {
+      this.yearPage.current = page;
+      this.yearPage.size = limit;
+      this.getYearPlanList();
     },
     // 骞存槑缁嗚鍒掑垎椤�
-    handleYearDetailCurrent(page) {
-      this.yearDetailPage.current = page
-      this.getYearDetailPlanList()
-    },
-    handleYearDetailSizeChange(size) {
-      this.yearDetailPage.size = size
-      this.getYearDetailPlanList()
+    pagination1({ page, limit }) {
+      this.yearDetailPage.current = page;
+      this.yearDetailPage.size = limit;
+      this.getYearDetailPlanList();
     },
   },
   // 鐢ㄤ簬涓婁紶鏂囦欢鐨勪俊鎭�

--
Gitblit v1.9.3