zengh
2021-10-29 2fc9ed9bc0c195b27c5cf593bd7d91ce85cd294f
src/router/views/index.js
@@ -12,6 +12,15 @@
    },
    component: () =>
      import ( /* webpackChunkName: "views" */ '@/views/wel/home')
  }, {
    path: 'dashboard',
    name: '控制台',
    meta: {
      i18n: 'dashboard',
      menu: false,
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '@/views/article/article')
  }]
},
@@ -55,6 +64,7 @@
  {
    path: '/test',
    component: Layout,
    kby:true,
    redirect: '/test/index',
    children: [{
      path: 'index',
@@ -194,7 +204,7 @@
    redirect: '/realTimePolice/index',
    children: [{
      path: 'index',
      name: '警情派发',
      name: '任务下发',
      meta: {
        i18n: 'real'
      },
@@ -277,7 +287,7 @@
    redirect: '/policeTracking/track',
    children: [{
      path: 'track',
      name: '警情追踪',
      name: '任务追踪',
      meta: {
        i18n: 'track'
      },
@@ -311,8 +321,23 @@
        import ( /* webpackChunkName: "views" */ '@/views/animalHeat/animalHeat')
    }]
  }, {
    path: '/comment',
    component: Layout,
    peixun: true,
    redirect: '/comment/index',
    children: [{
      path: 'index',
      name: '评论审核',
      meta: {
        i18n: 'comment'
      },
      component: () =>
        import ( /* webpackChunkName: "views" */ '@/views/comment/comment')
    }]
  }, {
    path: '/article',
    component: Layout,
    peixun: true,
    redirect: '/article/index',
    children: [{
      path: 'index',
@@ -329,7 +354,7 @@
    redirect: '/feedbackReport/index',
    children: [{
      path: 'index',
      name: '取证上报',
      name: '事件上报',
      meta: {
        i18n: 'feedbackReport'
      },
@@ -348,7 +373,7 @@
        i18n: 'chatgroup'
      },
      component: () =>
        import ( /* webpackChunkName: "views" */ '@/views/chatrg/chatgroup')
        import( /* webpackChunkName: "views" */ '@/views/chatrg/chatgroup')
    }]
  },
  {
@@ -481,9 +506,36 @@
        i18n: 'report'
      },
      component: () =>
        import ( /* webpackChunkName: "views" */ '@/components/real-popup/kongbai')
        import( /* webpackChunkName: "views" */ '@/components/real-popup/kongbai')
    }]
  },
  {
    path: '/role',
    redirect: '/role/index',
    component: Layout,
    children: [{
      path: 'index',
      name: '权限管理',
      meta: {
        i18n: 'index'
      },
      component: () =>
        import( /* webpackChunkName: "views" */ '@/views/authority/role')
    }]
  },
  {
    path: '/zc',
    redirect: '/zc/index',
    component: Layout,
    children: [{
      path: 'index',
      name: '注册审核',
      meta: {
        i18n: 'index'
      },
      component: () =>
        import( /* webpackChunkName: "views" */ '@/views/zc/zc')
    }]
  }
]