From bfc6e7b8da0d65a7fd4dfb719c149e7881c2cd72 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期一, 20 一月 2025 12:44:27 +0800
Subject: [PATCH] fix 修复 流程定义分页问题

---
 src/views/workflow/processDefinition/index.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue
index a45e484..cd40266 100644
--- a/src/views/workflow/processDefinition/index.vue
+++ b/src/views/workflow/processDefinition/index.vue
@@ -116,7 +116,7 @@
               v-model:page="queryParams.pageNum"
               v-model:limit="queryParams.pageSize"
               :total="total"
-              @pagination="handleQuery"
+              @pagination="getPageList"
             />
           </el-tabs>
         </el-card>
@@ -323,6 +323,14 @@
   multiple.value = !selection.length;
 };
 //鍒嗛〉
+const getPageList = async () => {
+  if (activeName.value === '0') {
+    getList();
+  } else {
+    getUnPublishList();
+  }
+};
+//鍒嗛〉
 const getList = async () => {
   loading.value = true;
   const resp = await listDefinition(queryParams.value);

--
Gitblit v1.9.3