1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
| // +----------------------------------------------------------------------
| // | CMS [ CMS赋能开发者,助力企业发展 ]
| // +----------------------------------------------------------------------
| // | Copyright (c) 2016~2021 https://www.CMS.com All rights reserved.
| // +----------------------------------------------------------------------
| // | Licensed CMS并不是自由软件,未经许可不能去掉CMS相关版权
| // +----------------------------------------------------------------------
| // | Author: CMS Team <admin@CMS.com>
| // +----------------------------------------------------------------------
|
| /** 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
|
|