feat: 完善流程详情模块,进度 20%

This commit is contained in:
ziye
2025-05-07 23:57:41 +08:00
parent 14dbff7304
commit ae2cb4ae0c
13 changed files with 196 additions and 8 deletions

View File

@@ -0,0 +1,35 @@
import type { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
{
path: '/bpm',
name: 'bpm',
meta: {
title: '工作流',
hideInMenu: true,
},
children: [
{
path: 'process-instance/detail',
component: () => import('#/views/bpm/processInstance/detail/index.vue'),
name: 'BpmProcessInstanceDetail',
meta: {
title: '流程详情',
activePath: '/bpm/task/my',
icon: 'ant-design:history-outlined',
keepAlive: false,
hideInMenu: true,
},
props: (route) => {
return {
id: route.query.id,
taskId: route.query.taskId,
activityId: route.query.activityId,
};
},
},
],
},
];
export default routes;