| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- /** When your routing table is too long, you can split it into small modules **/
- import Layout from '@/layout'
- const configRouter = {
- path: '/config',
- component: Layout,
- redirect: '/config/base',
- hidden: true,
- children: [
- {
- path: 'base', // 站点配置
- component: () => import('@/views/config/site-config'),
- name: 'siteConfig',
- meta: { title: '站点配置', icon: 'user', noCache: true }
- },
- {
- path: 'exchange-rate', // 汇率配置
- component: () => import('@/views/config/exchange-rate'),
- name: 'exchangeRate',
- meta: { title: '汇率配置', icon: 'user', noCache: true }
- },
- {
- path: 'dec-role', // 报单中心配置
- component: () => import('@/views/config/stockist-config'),
- name: 'stockistConfig',
- meta: { title: '报单中心配置', icon: 'user', noCache: true }
- },
- {
- path: 'bonus-opt', // 奖金配置
- component: () => import('@/views/config/bonus-config'),
- name: 'bonusConfig',
- meta: { title: '奖金配置', icon: 'user', noCache: true }
- },
- {
- path: 'transfer', // 转账配置
- component: () => import('@/views/config/transfer-config'),
- name: 'transferConfig',
- meta: { title: '转账配置', icon: 'user', noCache: true }
- },
- {
- path: 'dec-level', // 会员级别配置
- component: () => import('@/views/config/dec-level-config'),
- name: 'decLevelConfig',
- meta: { title: '会员级别配置', icon: 'user', noCache: true }
- },
- {
- path: 'other', // 其他配置
- component: () => import('@/views/config/other-config'),
- name: 'otherConfig',
- meta: { title: '其他配置', icon: 'user', noCache: true }
- }
- ]
- }
- export default configRouter
|