|
@@ -135,8 +135,67 @@ export const constantRoutes = [
|
|
|
component: () => import('@/views/teacherManager/teacherDetail/index')
|
|
|
}
|
|
|
]
|
|
|
- },
|
|
|
+ }, {
|
|
|
+ path: '/student',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/student/studentList',
|
|
|
+ meta: { title: '学生管理' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'studentList',
|
|
|
+ meta: { title: '学生列表' },
|
|
|
+ component: () => import('@/views/studentManager/studentList'),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'studentdetaile',
|
|
|
+ meta: { title: '学员详情' },
|
|
|
+ component: () => import('@/views/studentManager/index'),
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }, {
|
|
|
+ path: '/business',
|
|
|
+ component: Layout,
|
|
|
+ redirect: '/business/orderManager/income',
|
|
|
+ meta: { title: '交易管理' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'order',
|
|
|
+ meta: { title: '订单管理' },
|
|
|
+ component: () => import('@/views/businessManager/orderManager/index'),// Parent router-view
|
|
|
+ children: [{
|
|
|
+ path: 'income',
|
|
|
+ meta: { title: '收入' },
|
|
|
+ component: () => import('@/views/businessManager/orderManager/income')
|
|
|
+ }, {
|
|
|
+ path: 'backMoney',
|
|
|
+ meta: { title: '退费管理' },
|
|
|
+ component: () => import('@/views/businessManager/orderManager/backMoney')
|
|
|
+ }, {
|
|
|
+ path: 'expend',
|
|
|
+ meta: { title: '支出' },
|
|
|
+ component: () => import('@/views/businessManager/orderManager/expend')
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'shopManager',
|
|
|
+ meta: { title: '商品管理' },
|
|
|
+ component: () => import('@/views/businessManager/shopManager/index'),
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'shopList',
|
|
|
+ meta: { title: '商品列表' },
|
|
|
+ component: () => import('@/views/businessManager/shopManager/shopList')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'shopCategroy',
|
|
|
+ meta: { title: '商品分类' },
|
|
|
+ component: () => import('@/views/businessManager/shopManager/shopCategory')
|
|
|
+ }
|
|
|
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
path: '/example',
|
|
|
component: Layout,
|