From 183ce0e0adb68fc0ef2f56045dbf3a1b374dd767 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 03 三月 2026 10:10:51 +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