|
@@ -37,33 +37,75 @@ const adminRoutes: RouteRecordRaw[] = JSON.parse(
|
|
|
component: "dashboard",
|
|
|
meta: { title: "数据看板", icon: "board", keepAlive: true },
|
|
|
},
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/class",
|
|
|
+ component: "SchoolIndex",
|
|
|
+ redirect: "/class/index",
|
|
|
+ children: [
|
|
|
{
|
|
|
path: "class",
|
|
|
component: "class",
|
|
|
meta: { title: "班级管理", icon: "class", keepAlive: true },
|
|
|
},
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/teacher",
|
|
|
+ component: "SchoolIndex",
|
|
|
+ redirect: "/teacher/index",
|
|
|
+ children: [
|
|
|
{
|
|
|
path: "teacher",
|
|
|
component: "teacher",
|
|
|
meta: { title: "教师管理", icon: "teacher", keepAlive: true },
|
|
|
},
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/student",
|
|
|
+ component: "SchoolIndex",
|
|
|
+ redirect: "/student/index",
|
|
|
+ children: [
|
|
|
{
|
|
|
path: "student",
|
|
|
component: "student",
|
|
|
meta: { title: "学生管理", icon: "student", keepAlive: true },
|
|
|
},
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/equipment",
|
|
|
+ component: "SchoolIndex",
|
|
|
+ redirect: "/equipment/index",
|
|
|
+ children: [
|
|
|
{
|
|
|
path: "equipment",
|
|
|
component: "equipment",
|
|
|
meta: { title: "设备管理", icon: "equipment", keepAlive: true },
|
|
|
},
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/training",
|
|
|
+ component: "SchoolIndex",
|
|
|
+ redirect: "/training/index",
|
|
|
+ children: [
|
|
|
{
|
|
|
- path: "training",
|
|
|
+ path: "inxdex",
|
|
|
component: "training",
|
|
|
meta: { title: "训练管理", icon: "training", keepAlive: true },
|
|
|
},
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/evaluation",
|
|
|
+ component: "SchoolIndex",
|
|
|
+ redirect: "/evaluation/index",
|
|
|
+ children: [
|
|
|
{
|
|
|
- path: "evaluation",
|
|
|
+ path: "index",
|
|
|
component: "evaluation",
|
|
|
meta: { title: "测评数据看板", icon: "evaluation", keepAlive: true },
|
|
|
},
|