• xiaota-router-index


    import Vue from 'vue'
    import Router from 'vue-router'

    import login from '@/components/login/login'
    import management from '@/components/management'
    Vue.use(Router)

    export default new Router({
      routes: [
        {
          path: '/',
          redirect: '/login'
        },
        {
          name: 'login',
          path: '/login',
          component: login
        },
        {
          name: 'management',
          path: '/management',
          component: management,
          children: [{
            path: '/management',
            component: () => import('@/components/management/participants/allocation'),
            meta: {
              keepAlive: false
            }
          }, {
            name: 'allocation',
            path: '/allocation',
            component: () => import('@/components/management/participants/allocation'),
            meta: {
              keepAlive: false
            }
          },
          {
            name: 'classStatistics2',
            path: '/classStatistics2',
            component: () => import('@/components/management/classStatistics2'),
            meta: {
              keepAlive: false
            }
          }, {
            name: 'studentList',
            path: '/studentList',
            component: () => import('@/components/management/participants/studentList'),
            meta: {
              keepAlive: true
            }
          }, {
            name: 'orderFollow',
            path: '/orderFollow',
            component: () => import('@/components/management/participants/orderFollow'),
            meta: {
              keepAlive: false
            }
          }, {
            name: 'schedule',
            path: '/schedule',
            component: () => import('@/components/management/educationAdministe/schedule'),
            meta: {
              keepAlive: false
            }
          }, {
            name: 'timeTable',
            path: '/timeTable',
            component: () => import('@/components/management/educationAdministe/timeTable'),
            meta: {
              keepAlive: false
            }
          }, {
            name: 'arrangeMiss',
            path: '/arrangeMiss',
            component: () => import('@/components/management/educationAdministe/arrangeMiss'),
            meta: {
              keepAlive: false
            }
          }, {
            name: 'classStatistics',
            path: '/classStatistics',
            component: () => import('@/components/management/classStatistics'),
            meta: {
              keepAlive: false
            }
          }, {
            name: 'cancelRecord',
            path: '/cancelRecord',
            component: () => import('@/components/management/educationAdministe/cancelRecord'),
            meta: {
              keepAlive: false
            }
          }, {
            name: 'refund',
            path: '/refund',
            component: () => import('@/components/management/refund'),
            meta: {
              keepAlive: false
            }
          }, {
            name: 'applyRefund',
            path: '/applyRefund',
            component: () => import('@/components/management/refund/applyRefund'),
            meta: {
              keepAlive: false
            }
          },
          {
            name: 'applyFreeCourses',
            path: '/applyFreeCourses',
            component: () => import('@/components/management/applyFreeCourses/applyFreeCourses')
          },
          {
            name: 'applyFreeCoursesAdd',
            path: '/applyFreeCoursesAdd',
            component: () => import('@/components/management/applyFreeCourses/applyFreeCoursesAdd')
          },
          {
            name: 'checkFreeCourses',
            path: '/checkFreeCourses',
            component: () => import('@/components/management/applyFreeCourses/checkFreeCourses')
          },
          {
            name: 'checkFreeCoursesAdd',
            path: '/checkFreeCoursesAdd',
            component: () => import('@/components/management/applyFreeCourses/checkFreeCoursesAdd')
          },
          {
            name: 'dataStatistic',
            path: '/dataStatistic',
            component: () => import('@/components/management/dataStatistic')
          }
          ]
        }
      ]
    })
  • 相关阅读:
    【原】使用Spring自带的JdbcTemplate。
    【原】MyBatis执行DDL:create table,drop table等等
    【转】java获取当前路径的几种方法
    【原】Java程序调用远程Shell脚本
    [转载] 使用Kettle进行数据迁移(ETL)
    appium原理
    python之global关键字的用法
    python之selenium定位(xpath)
    android 稳定性monkey测试
    python之selenium随记(几种等待的用法)
  • 原文地址:https://www.cnblogs.com/xiaoxiao95/p/12726527.html
Copyright © 2020-2023  润新知