【代码优化】BPM:去除 bpm 冗余的路由

This commit is contained in:
YunaiV 2025-03-02 08:11:35 +08:00
parent bcecf5c750
commit 5259db9eaa

View File

@ -254,30 +254,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
activeMenu: '/bpm/manager/form' activeMenu: '/bpm/manager/form'
} }
}, },
{
path: 'manager/model/edit',
component: () => import('@/views/bpm/model/editor/index.vue'),
name: 'BpmModelEditor',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '设计流程',
activeMenu: '/bpm/manager/model'
}
},
{
path: 'manager/simple/model',
component: () => import('@/views/bpm/simple/SimpleModelDesign.vue'),
name: 'SimpleModelDesign',
meta: {
noCache: true,
hidden: true,
canTo: true,
title: '仿钉钉设计流程',
activeMenu: '/bpm/manager/model'
}
},
{ {
path: 'manager/definition', path: 'manager/definition',
component: () => import('@/views/bpm/model/definition/index.vue'), component: () => import('@/views/bpm/model/definition/index.vue'),
@ -356,7 +332,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
} }
}, },
{ {
// TODO @zws1建议在加一个路由。然后标题是“复制流程”这样体验会好点2复制出来的数据在名字前面加“副本 ”,和钉钉保持一致!
path: 'manager/model/:type/:id', path: 'manager/model/:type/:id',
component: () => import('@/views/bpm/model/form/index.vue'), component: () => import('@/views/bpm/model/form/index.vue'),
name: 'BpmModelUpdate', name: 'BpmModelUpdate',