|
|
@ -19,103 +19,103 @@ let router = new Router({ |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/customer', |
|
|
|
path: '/customer', |
|
|
|
component: () => import( '../views/customer/customer.vue'), |
|
|
|
component: () => import( '../views/customer/customer.vue'), |
|
|
|
meta: { title: '客户管理' } |
|
|
|
// meta: { title: '客户管理' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/addcustomer', |
|
|
|
path: '/addcustomer', |
|
|
|
component: () => import( '../views/customer/AddCustomer.vue'), |
|
|
|
component: () => import( '../views/customer/AddCustomer.vue'), |
|
|
|
meta: { title: '新增客户' } |
|
|
|
// meta: { title: '新增客户' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/user', |
|
|
|
path: '/user', |
|
|
|
component: () => import( '../views/user/User.vue'), |
|
|
|
component: () => import( '../views/user/User.vue'), |
|
|
|
meta: { title: '用户管理' } |
|
|
|
// meta: { title: '用户管理' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/adduser', |
|
|
|
path: '/adduser', |
|
|
|
component: () => import( '../views/user/AddUser.vue'), |
|
|
|
component: () => import( '../views/user/AddUser.vue'), |
|
|
|
meta: { title: '新增用户' } |
|
|
|
// meta: { title: '新增用户' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/order', |
|
|
|
path: '/order', |
|
|
|
component: () => import( '../views/order/Order.vue'), |
|
|
|
component: () => import( '../views/order/Order.vue'), |
|
|
|
meta: { title: '订单管理' } |
|
|
|
// meta: { title: '订单管理' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/addorder', |
|
|
|
path: '/addorder', |
|
|
|
component: () => import( '../views/order/AddOrder.vue'), |
|
|
|
component: () => import( '../views/order/AddOrder.vue'), |
|
|
|
meta: { title: '新增订单' } |
|
|
|
// meta: { title: '新增订单' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/selectClient', |
|
|
|
path: '/selectClient', |
|
|
|
component: () => import( '../views/order/selectClient.vue'), |
|
|
|
component: () => import( '../views/order/selectClient.vue'), |
|
|
|
meta: { title: '选择订单客户' } |
|
|
|
// meta: { title: '选择订单客户' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/configure', |
|
|
|
path: '/configure', |
|
|
|
component: () => import( '../views/serve/Configure.vue'), |
|
|
|
component: () => import( '../views/serve/Configure.vue'), |
|
|
|
meta: { title: '服务配置' } |
|
|
|
// meta: { title: '服务配置' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/addconfigure', |
|
|
|
path: '/addconfigure', |
|
|
|
component: () => import( '../views/serve/AddConfigure.vue'), |
|
|
|
component: () => import( '../views/serve/AddConfigure.vue'), |
|
|
|
meta: { title: '新增配置' } |
|
|
|
// meta: { title: '新增配置' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/projectList', |
|
|
|
path: '/projectList', |
|
|
|
component: () => import( '../views/serve/projectList.vue'), |
|
|
|
component: () => import( '../views/serve/projectList.vue'), |
|
|
|
meta: { title: '项目管理' } |
|
|
|
// meta: { title: '项目管理' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/projectAdd', |
|
|
|
path: '/projectAdd', |
|
|
|
component: () => import( '../views/serve/projectAdd.vue'), |
|
|
|
component: () => import( '../views/serve/projectAdd.vue'), |
|
|
|
meta: { title: '项目配置' } |
|
|
|
// meta: { title: '项目配置' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/curriculum', |
|
|
|
path: '/curriculum', |
|
|
|
component: () => import( '../views/course/Curriculum.vue'), |
|
|
|
component: () => import( '../views/course/Curriculum.vue'), |
|
|
|
meta: { title: '课程管理' } |
|
|
|
// meta: { title: '课程管理' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/addcurriculum', |
|
|
|
path: '/addcurriculum', |
|
|
|
component: () => import( '../views/course/AddCurriculum.vue'), |
|
|
|
component: () => import( '../views/course/AddCurriculum.vue'), |
|
|
|
meta: { title: '新建课程' } |
|
|
|
// meta: { title: '新建课程' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/contentSettings', |
|
|
|
path: '/contentSettings', |
|
|
|
component: () => import( '../views/course/courseconfig.vue'), |
|
|
|
component: () => import( '../views/course/courseconfig.vue'), |
|
|
|
meta: { title: '内容设置' } |
|
|
|
// meta: { title: '内容设置' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/addlink', |
|
|
|
path: '/addlink', |
|
|
|
component: () => import( '../views/course/AddLink.vue'), |
|
|
|
component: () => import( '../views/course/AddLink.vue'), |
|
|
|
meta: { title: '添加环节' } |
|
|
|
// meta: { title: '添加环节' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/data', |
|
|
|
path: '/data', |
|
|
|
component: () => import( '../views/data/Data.vue'), |
|
|
|
component: () => import( '../views/data/Data.vue'), |
|
|
|
meta: { title: '数据管理' } |
|
|
|
// meta: { title: '数据管理' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/permission', |
|
|
|
path: '/permission', |
|
|
|
component: () => import('../views/customer/Permission.vue'), |
|
|
|
component: () => import('../views/customer/Permission.vue'), |
|
|
|
meta: { title: '应用权限', permission: true } |
|
|
|
// meta: { title: '应用权限', permission: true }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/person', |
|
|
|
path: '/person', |
|
|
|
component: () => import('../views/setting/Person.vue'), |
|
|
|
component: () => import('../views/setting/Person.vue'), |
|
|
|
meta: { title: '个人中心' } |
|
|
|
// meta: { title: '个人中心' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/404', |
|
|
|
path: '/404', |
|
|
|
component: () => import('../views/404.vue'), |
|
|
|
component: () => import('../views/404.vue'), |
|
|
|
meta: { title: '404' } |
|
|
|
// meta: { title: '404' }
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/403', |
|
|
|
path: '/403', |
|
|
|
component: () => import('../views/403.vue'), |
|
|
|
component: () => import('../views/403.vue'), |
|
|
|
meta: { title: '403' } |
|
|
|
// meta: { title: '403' }
|
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|