From fc41af1bcd9b713a9e576e1128cb6d0133c11428 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 17 三月 2025 11:34:55 +0800
Subject: [PATCH] 分页默认修改

---
 src/views/business/materialOrder/index.vue |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/views/business/materialOrder/index.vue b/src/views/business/materialOrder/index.vue
index 5eeca40..e9d8678 100644
--- a/src/views/business/materialOrder/index.vue
+++ b/src/views/business/materialOrder/index.vue
@@ -76,6 +76,7 @@
         <!--寰呬笅鍗�-->
         <div class="table">
           <lims-table :tableData="tableData" :column="column" v-if="tabIndex === 0" @pagination="pagination"
+                      ref="tableData"
             :rowClassName="changeRowClass" :height="'calc(100vh - 290px)'" key="tableData" :page="page"
             :tableLoading="tableLoading"></lims-table>
         </div>
@@ -246,7 +247,6 @@
         { label: '鎶ユ鏃堕棿', prop: 'declareDate' },
         {
           dataType: 'action',
-          fixed: 'right',
           label: '鎿嶄綔',
           operation: [
             {
@@ -275,7 +275,7 @@
       ],
       page: {
         total: 0,
-        size: 10,
+        size: 20,
         current: 1
       },
       tableData1: [],
@@ -356,7 +356,7 @@
       ],
       page1: {
         total: 0,
-        size: 10,
+        size: 20,
         current: 1
       },
       tableData2: [],
@@ -515,7 +515,7 @@
       ],
       page2: {
         total: 0,
-        size: 10,
+        size: 20,
         current: 1
       },
       tableData3: [],
@@ -621,7 +621,7 @@
       ],
       page3: {
         total: 0,
-        size: 10,
+        size: 20,
         current: 1
       },
       tableData4: [],
@@ -744,7 +744,7 @@
       ],
       page4: {
         total: 0,
-        size: 10,
+        size: 20,
         current: 1
       },
       entity: {
@@ -829,6 +829,9 @@
   mounted() {
     this.refreshTable()
   },
+  activated () {
+    this.refreshTable()
+  },
   // 鏂规硶闆嗗悎
   methods: {
     // 鐐瑰嚮鏌ヨ鍥炶皟

--
Gitblit v1.9.3