refactor frontend terminology to course system mapping

Align frontend wording with final domain terms (course system/course/lesson block), keep PickTargets backward compatible with backend values, and fix related import paths.

Made-with: Cursor
This commit is contained in:
2026-04-23 21:47:02 +08:00
parent 3849426ad9
commit 3007c73c80
35 changed files with 112 additions and 109 deletions
+8 -8
View File
@@ -82,7 +82,7 @@ export default [
{path: '/avatar', component: Avatar, meta: {title: "编辑头像"}},
{path: '/admin/profile', component: AdminProfile, meta: {title: "我的"}},
{path: '/admin/teachers', component: AdminTeacher, meta: {title: "教师管理"}},
{path: '/admin/course-category', component: CourseCategory, meta: {title: "科目类型"}},
{path: '/admin/course-category', component: CourseCategory, meta: {title: "课程体系类型"}},
{
path: '/student', component: Student, meta: {title: "学生列表"},
props: ({query}: RouteQueryAndHash) => ({params: query})
@@ -102,7 +102,7 @@ export default [
},
{
path: '/student/jihua/shifan', component: StudentJihuaShifan,
meta: {title: "科目示范"}, props: ({query}: RouteQueryAndHash) => ({params: query})
meta: {title: "课程示范"}, props: ({query}: RouteQueryAndHash) => ({params: query})
},
{
path: '/student/lianxi/add', component: StudentLianxiAdd,
@@ -160,7 +160,7 @@ export default [
props: ({query}: RouteQueryAndHash) => ({params: query})
},
{
path: '/course', component: Course, meta: {title: "科目"},
path: '/course', component: Course, meta: {title: "课程体系"},
props: ({query}: RouteQueryAndHash) => ({params: query})
},
{
@@ -189,21 +189,21 @@ export default [
meta: {title: "查看课程"}, props: ({query}: RouteQueryAndHash) => ({params: query})
},
{
path: '/course/group', component: CourseGroup, meta: {title: "课程分组 "},
path: '/course/group', component: CourseGroup, meta: {title: "课 "},
props: ({query}: RouteQueryAndHash) => ({params: query})
},
{
path: '/course/group/pick', component: CourseGroupPick, meta: {title: "选择课程分组"},
path: '/course/group/pick', component: CourseGroupPick, meta: {title: "选择课"},
props: ({query}: RouteQueryAndHash) => ({params: query})
},
{path: '/course/group/add', component: CourseGroupAdd, meta: {title: "创建课程分组"}},
{path: '/course/group/add', component: CourseGroupAdd, meta: {title: "创建课"}},
{
path: '/course/group/edit', component: CourseGroupEdit,
meta: {title: "编辑课程分组"}, props: ({query}: RouteQueryAndHash) => ({params: query})
meta: {title: "编辑课"}, props: ({query}: RouteQueryAndHash) => ({params: query})
},
{
path: '/course/group/detail', component: CourseGroupDetail,
meta: {title: "查看课程分组"}, props: ({query}: RouteQueryAndHash) => ({params: query})
meta: {title: "查看课"}, props: ({query}: RouteQueryAndHash) => ({params: query})
},
{path: '/tongzhi', component: Tongzhi, meta: {title: "消息通知"}},
{