From 045da5de062c1b43f53bc7b6a4cf125fbd97a3e5 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 09 四月 2026 15:37:14 +0800
Subject: [PATCH] 1.产品维护产品大类新增时层级不做限制 2.角色管理数据权限范围枚举值修改

---
 src/views/fileManagement/document/index.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/views/fileManagement/document/index.vue b/src/views/fileManagement/document/index.vue
index a0d824a..c31b044 100644
--- a/src/views/fileManagement/document/index.vue
+++ b/src/views/fileManagement/document/index.vue
@@ -107,7 +107,6 @@
             current: pagination.currentPage,
             size: pagination.pageSize,
             total: pagination.total,
-            layout: 'total, sizes, prev, pager, next, jumper'
           }"
           @selection-change="handleSelectionChange"
           @pagination="handlePagination"
@@ -1137,9 +1136,9 @@
     
     // 鏋勫缓鏌ヨ鍙傛暟
     const query = {
-      page: pagination.currentPage,
+      current: pagination.currentPage,
       size: pagination.pageSize,
-      documentClassificationId:currentId.value
+      documentClassificationId: currentId.value
     };
     
     const res = await getDocumentList(query);
@@ -1166,9 +1165,10 @@
 };
 
 // 澶勭悊鍒嗛〉鍙樺寲
-const handlePagination = (current, size) => {
-  pagination.currentPage = current;
-  pagination.pageSize = size;
+const handlePagination = (payload) => {
+  // PIMTable emit: { page, limit }
+  pagination.currentPage = payload?.page || 1;
+  pagination.pageSize = payload?.limit || pagination.pageSize;
   loadDocumentList();
 };
 
@@ -1298,7 +1298,7 @@
 }
 
 .dialog-footer {
-  text-align: right;
+  text-align: center;
 }
 
 .operation-column {

--
Gitblit v1.9.3