diff --git a/src/components/HomeworkLibraryModal.vue b/src/components/HomeworkLibraryModal.vue
index c132254..52615d5 100644
--- a/src/components/HomeworkLibraryModal.vue
+++ b/src/components/HomeworkLibraryModal.vue
@@ -3,7 +3,7 @@
style="width: 90%; max-width: 1000px; max-height: 80vh;" :mask-closable="false" :closable="false">
diff --git a/src/components/admin/CourseComponents/CourseCategory.vue b/src/components/admin/CourseComponents/CourseCategory.vue
index 7cfdc01..9800a81 100644
--- a/src/components/admin/CourseComponents/CourseCategory.vue
+++ b/src/components/admin/CourseComponents/CourseCategory.vue
@@ -302,6 +302,8 @@ const getOptionsForCourse = (course: CourseDisplayItem) => {
} else if (course.status === 2) { // 已结束
return [
// { label: '查看', value: 'view', icon: '/images/teacher/小编辑.png' },
+ { label: '发布', value: 'publish', icon: '/images/teacher/加号.png' },
+ { label: '编辑', value: 'edit', icon: '/images/teacher/小编辑.png' },
{ label: '删除', value: 'delete', icon: '/images/teacher/删除.png' }
];
}
diff --git a/src/router/index.ts b/src/router/index.ts
index 04b1bd3..2e4863b 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -147,7 +147,7 @@ const routes: RouteRecordRaw[] = [
name: 'CourseEditor',
component: CourseEditor,
meta: { title: '课程管理' },
- redirect: (to) => `/teacher/course-editor/${to.params.id}/courseware`,
+ redirect: (to) => `/teacher/course-editor/${to.params.id}/chapters`,
children: [
{
path: 'courseware',
@@ -171,7 +171,7 @@ const routes: RouteRecordRaw[] = [
path: 'library',
name: 'HomeworkLibrary',
component: HomeworkLibrary,
- meta: { title: '作业库' }
+ meta: { title: '作业管理' }
},
{
path: 'add-homework',
diff --git a/src/views/teacher/AdminDashboard.vue b/src/views/teacher/AdminDashboard.vue
index 6a17bb4..7ee9ef6 100644
--- a/src/views/teacher/AdminDashboard.vue
+++ b/src/views/teacher/AdminDashboard.vue
@@ -373,7 +373,7 @@ const breadcrumbPathItems = computed(() => {
path: `/teacher/course-editor/${courseId}`
},
{
- title: '作业库',
+ title: '作业管理',
path: `/teacher/course-editor/${courseId}/homework`
},
{
diff --git a/src/views/teacher/course/CourseEditor.vue b/src/views/teacher/course/CourseEditor.vue
index c2d8006..3a223b9 100644
--- a/src/views/teacher/course/CourseEditor.vue
+++ b/src/views/teacher/course/CourseEditor.vue
@@ -2,18 +2,18 @@