From bfc6e7b8da0d65a7fd4dfb719c149e7881c2cd72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Mon, 20 Jan 2025 12:44:27 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=88=86=E9=A1=B5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workflow/processDefinition/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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" /> @@ -323,6 +323,14 @@ const handleSelectionChange = (selection: any) => { 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);