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);