feat: 重构流程定义和流程实例模块,更新API命名,增强用户选择弹窗功能,支持多用户选择,优化流程实例创建界面。

feat: 完善流程定义模块、完善流程实例模块
feat: 完善OA请假模块
feat: 完善审批中心、发起流程、查看流程、工作流整体进度 40%
This commit is contained in:
ziye
2025-05-12 00:53:48 +08:00
parent 730786b61e
commit 2705fb7a4d
18 changed files with 2065 additions and 530 deletions

View File

@@ -9,6 +9,25 @@ const routes: RouteRecordRaw[] = [
hideInMenu: true,
},
children: [
{
path: 'task',
name: 'BpmTask',
meta: {
title: '审批中心',
icon: 'ant-design:history-outlined',
},
children: [
{
path: 'my',
name: 'BpmTaskMy',
component: () => import('#/views/bpm/processInstance/index.vue'),
meta: {
title: '我的流程',
},
},
],
},
{
path: 'process-instance/detail',
component: () => import('#/views/bpm/processInstance/detail/index.vue'),

View File

@@ -0,0 +1,45 @@
import type { RouteRecordRaw } from 'vue-router';
// OA请假相关路由配置
const routes: RouteRecordRaw[] = [
{
path: '/bpm/oa',
name: 'OALeave',
meta: {
title: 'OA请假',
hideInMenu: true,
redirect: '/bpm/oa/leave/index',
},
children: [
{
path: 'leave',
name: 'OALeaveIndex',
component: () => import('#/views/bpm/oa/leave/index.vue'),
meta: {
title: '请假列表',
activePath: '/bpm/oa/leave',
},
},
{
path: 'leave/create',
name: 'OALeaveCreate',
component: () => import('#/views/bpm/oa/leave/create.vue'),
meta: {
title: '创建请假',
activePath: '/bpm/oa/leave',
},
},
{
path: 'leave/detail',
name: 'OALeaveDetail',
component: () => import('#/views/bpm/oa/leave/detail.vue'),
meta: {
title: '请假详情',
activePath: '/bpm/oa/leave',
},
},
],
},
];
export default routes;