From 11e1de7bb345bc937cce53a2ac7672476b5b4db3 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期一, 02 二月 2026 16:17:19 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_New' into dev_New
---
src/views/collaborativeApproval/rulesRegulationsManagement/index.vue | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue b/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue
index 1c71cdc..6c3004d 100644
--- a/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue
+++ b/src/views/collaborativeApproval/rulesRegulationsManagement/index.vue
@@ -102,6 +102,8 @@
</template>
</el-table-column>
</el-table>
+ <pagination v-show="page.total > 0" :total="page.total" layout="total, sizes, prev, pager, next, jumper"
+ :page="page.current" :limit="page.size" @pagination="paginationChange" />
</div>
</el-card>
<!-- 鐢ㄥ嵃鐢宠瀵硅瘽妗嗭紙宸茬Щ闄わ級 -->
@@ -271,7 +273,7 @@
:delete-method="handleAttachmentDelete"
:rules-regulations-management-id="currentFileRuleId"
:name-column-label="'闄勪欢鍚嶇О'"
- @upload="handleAttachmentUpload" />
+ @upload="handleAttachmentUpload"/>
</div>
</template>
@@ -310,7 +312,7 @@
const currentFileRuleId = ref(null);
const filePage = reactive({
current: 1,
- size: 10,
+ size: 1000,
total: 0,
});
// 瑙勭珷鍒跺害鐩稿叧
@@ -642,14 +644,19 @@
regulations.value = res.data.records;
// 杩囨护鎺夊凡搴熷純鐨勫埗搴�
// regulations.value = res.data.records.filter(item => item.status !== 'repealed')
- page.value.total = res.data.total;
+ page.total = res.data.total;
tableLoading.value = false;
})
.catch(err => {
tableLoading.value = false;
});
};
-
+ // 鍒嗛〉鍙樺寲澶勭悊
+ const paginationChange = (obj) => {
+ page.current = obj.page;
+ page.size = obj.limit;
+ getRegulationList();
+ };
onMounted(() => {
// 鍒濆鍖�
getRegulationList();
--
Gitblit v1.9.3