feat: [BPM 工作流] - 流程模型历史

This commit is contained in:
jason
2025-06-10 22:35:38 +08:00
parent c23de92503
commit f0585cebf7
4 changed files with 248 additions and 3 deletions

View File

@@ -257,7 +257,7 @@ function handleModelCommand(command: string, row: any) {
break;
}
case 'handleDefinitionList': {
console.warn('历史待实现', row);
handleDefinitionList(row);
break;
}
case 'handleDelete': {
@@ -331,6 +331,16 @@ function handleDelete(row: any) {
});
}
/** 跳转到指定流程定义列表 */
function handleDefinitionList(row: any) {
router.push({
name: 'BpmProcessDefinition',
query: {
key: row.key,
},
});
}
/** 更新 modelList 模型列表 */
const updateModelList = useDebounceFn(() => {
const newModelList = props.categoryInfo.modelList;
@@ -620,7 +630,6 @@ const handleRenameSuccess = () => {
</Button>
<Dropdown placement="bottomRight" arrow>
<Button type="link" size="small" class="px-1">更多</Button>
<!-- TODO 待实现 -->
<template #overlay>
<Menu
@click="
@@ -629,12 +638,14 @@ const handleRenameSuccess = () => {
>
<Menu.Item key="handleCopy"> 复制 </Menu.Item>
<Menu.Item key="handleDefinitionList"> 历史 </Menu.Item>
<!-- TODO 待实现报表
<Menu.Item
key="handleReport"
:disabled="!isManagerUser(record)"
>
报表
</Menu.Item>
</Menu.Item> -->
<Menu.Item
key="handleChangeState"
v-if="record.processDefinition"