|
|
|
@ -14,6 +14,10 @@ import tb_course from "~/components/tb_course";
|
|
|
|
|
import labApplyDetail from "~/pages/labApplyDetail";
|
|
|
|
|
import applyLab from "~/pages/teacher/applyLab";
|
|
|
|
|
import myApplyRecord from "~/pages/teacher/myApplyRecord";
|
|
|
|
|
import supHome from "~/components/supManager/home";
|
|
|
|
|
import supIndex from "~/components/supManager/index";
|
|
|
|
|
import globalPersonal from "~/components/personal";
|
|
|
|
|
import userManage from "~/components/supManager/userManage";
|
|
|
|
|
|
|
|
|
|
// 要告诉 vue 使用 vueRouter
|
|
|
|
|
Vue.use(VueRouter);
|
|
|
|
@ -57,13 +61,34 @@ const routes = [
|
|
|
|
|
{
|
|
|
|
|
path: '/manager',
|
|
|
|
|
component: manager,
|
|
|
|
|
children:[
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
children: []
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/supManager',
|
|
|
|
|
component:supManager
|
|
|
|
|
component: supManager,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
component: supHome
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'index',
|
|
|
|
|
component: supIndex,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'personal',
|
|
|
|
|
component: globalPersonal
|
|
|
|
|
},{
|
|
|
|
|
path: 'labManage',
|
|
|
|
|
component: globalPersonal
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'userManage',
|
|
|
|
|
component: userManage
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|