Commit 333c48aa authored by 黄奎's avatar 黄奎

新增页面

parent 5cdd043e
This diff is collapsed.
This diff is collapsed.
const routes = [{ const routes = [{
path: "/", path: "/",
component: () => component: () =>
import ("pages/user/login.vue") import("pages/user/login.vue")
}, },
{ {
path: "/login", path: "/login",
component: () => component: () =>
import ("pages/user/login.vue") import("pages/user/login.vue")
}, },
{ {
path: "/home", path: "/home",
component: () => component: () =>
import ("layouts/MainLayout.vue"), import("layouts/MainLayout.vue"),
children: [{ children: [{
path: "", path: "",
component: () => component: () =>
import ("pages/Index.vue") import("pages/Index.vue")
}, },
{ {
path: "/school/manager", path: "/school/manager",
component: () => component: () =>
import ("pages/school/manager.vue") import("pages/school/manager.vue")
}, },
{ {
path: "/school/teacher", path: "/school/teacher",
component: () => component: () =>
import ("pages/school/teacher.vue") import("pages/school/teacher.vue")
}, },
{ {
path: "/school/assistant", path: "/school/assistant",
component: () => component: () =>
import ("pages/school/assistant.vue") import("pages/school/assistant.vue")
},
{
path: "/school/classmanage", //班级管理
component: () =>
import("pages/school/classmanage.vue")
},
{
path: "/school/student", //学员管理
component: () =>
import("pages/school/student.vue")
}, },
{ {
path: "/system/menu", //菜单管理 path: "/system/menu", //菜单管理
component: () => component: () =>
import ("pages/system/menu.vue") import("pages/system/menu.vue")
}, },
{ {
path: "/system/role", //角色管理 path: "/system/role", //角色管理
component: () => component: () =>
import ("pages/system/role.vue") import("pages/system/role.vue")
}, },
{ {
path: "/course/catagory", //课程分类 path: "/course/catagory", //课程分类
component: () => component: () =>
import ("pages/course/catagory.vue") import("pages/course/catagory.vue")
}, },
{ {
path: "/course/course", //课程管理 path: "/course/course", //课程管理
component: () => component: () =>
import ("pages/course/course.vue") import("pages/course/course.vue")
}, },
{ {
path: "/course/teachplan", //教案管理 path: "/course/teachplan", //教案管理
component: () => component: () =>
import ("pages/course/teachplan.vue") import("pages/course/teachplan.vue")
}, },
{ {
path: "/test", //API测试 path: "/test", //API测试
component: () => component: () =>
import ("pages/test.vue") import("pages/test.vue")
}, },
] ]
}, },
...@@ -70,7 +80,7 @@ const routes = [{ ...@@ -70,7 +80,7 @@ const routes = [{
{ {
path: "*", path: "*",
component: () => component: () =>
import ("pages/Error404.vue") import("pages/Error404.vue")
} }
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment