feat:【antd】bpm task 的部分迁移

This commit is contained in:
YunaiV
2025-10-20 23:33:52 +08:00
parent 002ac223f0
commit 3b4c01cedf
8 changed files with 61 additions and 25 deletions

View File

@@ -14,11 +14,10 @@ defineOptions({ name: 'BpmTodoTask' });
/** 办理任务 */
function handleAudit(row: BpmTaskApi.Task) {
console.warn(row);
router.push({
name: 'BpmProcessInstanceDetail',
query: {
id: row.processInstance.id,
id: row.processInstance!.id,
taskId: row.id,
},
});
@@ -45,14 +44,12 @@ const [Grid] = useVbenVxeGrid({
},
rowConfig: {
keyField: 'id',
isHover: true,
},
toolbarConfig: {
refresh: true,
search: true,
},
cellConfig: {
height: 64,
},
} as VxeTableGridOptions<BpmTaskApi.Task>,
});
</script>