【功能修复】工作流:暂时切回老的审批详情,预计 V2.4.0 会切到新的审批界面

pull/562/head
YunaiV 2024-10-06 16:54:45 +08:00
parent d136128650
commit 4105636741
1 changed files with 7 additions and 8 deletions

View File

@ -292,7 +292,8 @@ const remainingRouter: AppRouteRecordRaw[] = [
}, },
{ {
path: 'process-instance/detail', path: 'process-instance/detail',
component: () => import('@/views/bpm/processInstance/detail/index_new.vue'), // component: () => import('@/views/bpm/processInstance/detail/index_new.vue'), // TODO 芋艿:新审批界面,已适配 simple 模式,未来会适配 bpmn 模式
component: () => import('@/views/bpm/processInstance/detail/index.vue'),
name: 'BpmProcessInstanceDetail', name: 'BpmProcessInstanceDetail',
meta: { meta: {
noCache: true, noCache: true,
@ -301,13 +302,11 @@ const remainingRouter: AppRouteRecordRaw[] = [
title: '流程详情', title: '流程详情',
activeMenu: '/bpm/task/my' activeMenu: '/bpm/task/my'
}, },
props: route => ( props: (route) => ({
{ id: route.query.id,
id: route.query.id, taskId: route.query.taskId,
taskId: route.query.taskId, activityId: route.query.activityId
activityId: route.query.activityId })
}
)
}, },
{ {
path: 'oa/leave/create', path: 'oa/leave/create',