mirror of
https://gitee.com/ZhongBangKeJi/crmeb_java.git
synced 2026-04-24 04:18:34 +08:00
77 lines
1.8 KiB
JavaScript
77 lines
1.8 KiB
JavaScript
/** When your routing table is too long, you can split it into small modules **/
|
|
|
|
import Layout from '@/layout'
|
|
|
|
const maintainRouter = {
|
|
path: '/maintain',
|
|
component: Layout,
|
|
redirect: '/maintain/devconfiguration/configCategory',
|
|
name: 'maintain',
|
|
meta: {
|
|
title: '维护',
|
|
icon: 'clipboard'
|
|
},
|
|
children: [
|
|
{
|
|
path: 'devconfiguration',
|
|
name: 'devconfiguration',
|
|
component: () => import('@/views/maintain'),
|
|
meta: {
|
|
title: '开发配置',
|
|
icon: 'clipboard'
|
|
},
|
|
children: [
|
|
{
|
|
path: 'configCategory',
|
|
name: 'configCategory',
|
|
component: () => import('@/views/maintain/devconfig/configCategroy'),
|
|
meta: {
|
|
title: '配置分类',
|
|
icon: 'clipboard'
|
|
}
|
|
},
|
|
{
|
|
path: 'combineddata',
|
|
name: 'combineddata',
|
|
component: () => import('@/views/maintain/devconfig/combinedData'),
|
|
meta: {
|
|
title: '组合数据',
|
|
icon: 'clipboard'
|
|
}
|
|
},
|
|
{
|
|
path: 'formConfig',
|
|
name: 'formConfig',
|
|
component: () => import('@/views/maintain/formConfig/index'),
|
|
meta: {
|
|
title: '表单配置',
|
|
icon: 'clipboard'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
path: 'user',
|
|
name: 'user',
|
|
component: () => import('@/views/maintain/user'),
|
|
meta: {
|
|
title: '个人中心',
|
|
icon: 'clipboard'
|
|
},
|
|
hidden: true
|
|
},
|
|
{
|
|
path: 'picture',
|
|
name: 'picture',
|
|
component: () => import('@/views/maintain/picture'),
|
|
meta: {
|
|
title: '素材管理',
|
|
icon: 'clipboard'
|
|
},
|
|
hidden: false
|
|
}
|
|
]
|
|
}
|
|
|
|
export default maintainRouter
|