From a5e0e0de30cfa041d473dbd2d5111abb7689c9d7 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期二, 03 三月 2026 10:25:49 +0800
Subject: [PATCH] fix: 售后移除维修记录
---
src/views/fileManagement/document/index.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/fileManagement/document/index.vue b/src/views/fileManagement/document/index.vue
index a0d824a..aa182b0 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();
};
--
Gitblit v1.9.3