Skip to content

Commit 4105636

Browse files
committed
【功能修复】工作流:暂时切回老的审批详情,预计 V2.4.0 会切到新的审批界面
1 parent d136128 commit 4105636

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/router/modules/remaining.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ const remainingRouter: AppRouteRecordRaw[] = [
292292
},
293293
{
294294
path: 'process-instance/detail',
295-
component: () => import('@/views/bpm/processInstance/detail/index_new.vue'),
295+
// component: () => import('@/views/bpm/processInstance/detail/index_new.vue'), // TODO 芋艿:新审批界面,已适配 simple 模式,未来会适配 bpmn 模式
296+
component: () => import('@/views/bpm/processInstance/detail/index.vue'),
296297
name: 'BpmProcessInstanceDetail',
297298
meta: {
298299
noCache: true,
@@ -301,13 +302,11 @@ const remainingRouter: AppRouteRecordRaw[] = [
301302
title: '流程详情',
302303
activeMenu: '/bpm/task/my'
303304
},
304-
props: route => (
305-
{
306-
id: route.query.id,
307-
taskId: route.query.taskId,
308-
activityId: route.query.activityId
309-
}
310-
)
305+
props: (route) => ({
306+
id: route.query.id,
307+
taskId: route.query.taskId,
308+
activityId: route.query.activityId
309+
})
311310
},
312311
{
313312
path: 'oa/leave/create',

0 commit comments

Comments
 (0)