From b7adcaff77a5028458380ab1e86a1087f35e7b60 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 17 二月 2025 11:06:51 +0800
Subject: [PATCH] 1.分页查询修改

---
 src/components/Table/lims-table.vue                               |    4 +++-
 src/components/capability/bindSupplierDensityDialog.vue           |    3 ++-
 src/components/capability/bindPartDialog.vue                      |    3 ++-
 src/views/structural/capabilityAndLaboratory/capability/index.vue |    3 ++-
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue
index 513b568..bc456e0 100644
--- a/src/components/Table/lims-table.vue
+++ b/src/components/Table/lims-table.vue
@@ -107,6 +107,7 @@
       <pagination
       v-show="page.total>0"
       :total="page.total"
+      :layout="page.layout"
       :page.sync="page.current"
       :limit.sync="page.size"
       @pagination="pagination"
@@ -265,7 +266,8 @@
           return {
             total:0,
             current:0,
-            size:10
+            size:10,
+            layout: 'total, sizes, prev, pager, next, jumper'
           };
         }
       }
diff --git a/src/components/capability/bindPartDialog.vue b/src/components/capability/bindPartDialog.vue
index 5fca2f6..bf2716e 100644
--- a/src/components/capability/bindPartDialog.vue
+++ b/src/components/capability/bindPartDialog.vue
@@ -99,7 +99,8 @@
       page: {
         total:0,
         size:10,
-        current:1
+        current:1,
+        layout: 'total, prev, pager, next'
       },
       bindPartComponent: {
         entity: {
diff --git a/src/components/capability/bindSupplierDensityDialog.vue b/src/components/capability/bindSupplierDensityDialog.vue
index 5e835b6..145b3a0 100644
--- a/src/components/capability/bindSupplierDensityDialog.vue
+++ b/src/components/capability/bindSupplierDensityDialog.vue
@@ -89,7 +89,8 @@
       page: {
         total:0,
         size:10,
-        current:1
+        current:1,
+        layout: 'total, prev, pager, next'
       },
       tableLoading: false,
       searchUrl: '', // 鏌ヨ
diff --git a/src/views/structural/capabilityAndLaboratory/capability/index.vue b/src/views/structural/capabilityAndLaboratory/capability/index.vue
index 24b4578..ac63cea 100644
--- a/src/views/structural/capabilityAndLaboratory/capability/index.vue
+++ b/src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -336,7 +336,8 @@
       productPage: {
         total:0,
         size:10,
-        current:0
+        current:0,
+        layout: 'total, prev, pager, next'
       },
       productableLoading: false,
       productEditDia: false,

--
Gitblit v1.9.3