12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- import Layout from '@/page/index/'
- export default [{
- path: '/wel',
- component: Layout,
- redirect: '/wel/index',
- children: [{
- path: 'index',
- name: '首页',
- meta: {
- i18n: 'dashboard',
- keepAlive: true,
- isAuth: false,
- },
- component: () =>
- import( /* webpackChunkName: "views" */ '@/views/wel/index')
- }, {
- path: 'dashboard',
- name: '控制台',
- meta: {
- i18n: 'dashboard',
- menu: false,
- isAuth: false,
- },
- component: () =>
- import( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
- }]
- }, {
- // 新增:公告页面路由配置
- path: '/announcement',
- component: Layout,
- redirect: '/announcement/index',
- children: [{
- path: 'index',
- name: '公告管理',
- meta: {
- keepAlive: true,
- },
- component: () => import( /* webpackChunkName: "views" */ '@/views/announcement/index')
- }]
- }, {
- path: '/forecast',
- component: Layout,
- redirect: '/forecast/index',
- children: [{
- path: 'index',
- name: '预测管理',
- meta: {
- keepAlive: true,
- isAuth: false
- },
- component: () => import( /* webpackChunkName: "views" */ '@/views/forecast/index')
- }]
- }, {
- path: '/dict-horizontal',
- component: Layout,
- redirect: '/dict-horizontal/index',
- children: [{
- path: 'index',
- name: '字典管理',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
- }]
- }, {
- path: '/dict-vertical',
- component: Layout,
- redirect: '/dict-vertical/index',
- children: [{
- path: 'index',
- name: '字典管理',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
- }]
- }, {
- path: '/info',
- component: Layout,
- redirect: '/info/index',
- children: [{
- path: 'index',
- name: '个人信息',
- meta: {
- i18n: 'info'
- },
- component: () => import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
- }]
- },
- ]
|