diff --git a/public/images/teacher/花瓣素材_校园运动会获奖证书奖状_48197664.png.png b/public/images/teacher/certificate.png similarity index 100% rename from public/images/teacher/花瓣素材_校园运动会获奖证书奖状_48197664.png.png rename to public/images/teacher/certificate.png diff --git a/public/images/teacher/路径 23.png b/public/images/teacher/delete.png similarity index 100% rename from public/images/teacher/路径 23.png rename to public/images/teacher/delete.png diff --git a/public/images/teacher/路径 25.png b/public/images/teacher/download.png similarity index 100% rename from public/images/teacher/路径 25.png rename to public/images/teacher/download.png diff --git a/public/images/teacher/路径 24.png b/public/images/teacher/edit.png similarity index 100% rename from public/images/teacher/路径 24.png rename to public/images/teacher/edit.png diff --git a/public/images/teacher/分组 7.png b/public/images/teacher/horizontal-version.png similarity index 100% rename from public/images/teacher/分组 7.png rename to public/images/teacher/horizontal-version.png diff --git a/public/images/teacher/more.png b/public/images/teacher/more.png new file mode 100644 index 0000000..7056e1e Binary files /dev/null and b/public/images/teacher/more.png differ diff --git a/public/images/teacher/蒙版分组.png b/public/images/teacher/vertical-version.png similarity index 100% rename from public/images/teacher/蒙版分组.png rename to public/images/teacher/vertical-version.png diff --git a/public/images/teacher/日历.png.png b/public/images/teacher/日历-选中.png similarity index 100% rename from public/images/teacher/日历.png.png rename to public/images/teacher/日历-选中.png diff --git a/public/images/teacher/路径 30.png b/public/images/teacher/添加-灰.png similarity index 100% rename from public/images/teacher/路径 30.png rename to public/images/teacher/添加-灰.png diff --git a/src/components/CertificateIssuanceModal.vue b/src/components/CertificateIssuanceModal.vue new file mode 100644 index 0000000..458608c --- /dev/null +++ b/src/components/CertificateIssuanceModal.vue @@ -0,0 +1,979 @@ + + + + + diff --git a/src/components/ExamPaperLibraryModal.vue b/src/components/ExamPaperLibraryModal.vue index 85d16b0..63a9d36 100644 --- a/src/components/ExamPaperLibraryModal.vue +++ b/src/components/ExamPaperLibraryModal.vue @@ -270,7 +270,7 @@ watch(() => props.show, (newVal) => { } .modal-title { - font-size: 18px; + font-size: 8px; padding-bottom: 10px; font-weight: 500; color: #000; diff --git a/src/router/index.ts b/src/router/index.ts index 2935407..1faa399 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -219,12 +219,25 @@ const routes: RouteRecordRaw[] = [ component: () => import('../views/teacher/course/AddQuestion.vue'), meta: { title: '新增试题' } }, - { + { path: 'certificate', name: 'CertificateManagement', component: CertificateManagement, meta: { title: '证书管理' } }, + { + path: 'certificate/detail/:id', + name: 'CertificateDetail', + component: () => import('@/views/teacher/certificate/CertificateDetail.vue'), + meta: { title: '证书详情' } + }, + { + path: 'certificate/add', + name: 'CertificateCreate', + component: () => import('@/views/teacher/certificate/CertificateCreate.vue'), + meta: { title: '添加证书' } + }, + { path: 'discussion', name: 'DiscussionManagement', @@ -263,6 +276,12 @@ const routes: RouteRecordRaw[] = [ component: StudentManagement, meta: { title: '学员管理' } }, + { + path: 'certificate/new', + name: 'CertificateNew', + component: () => import('@/views/teacher/certificate/CertificateNew.vue'), + meta: { title: '新建证书' } + }, { path: 'chapter-editor-teacher/:courseId', name: 'ChapterEditor', @@ -335,39 +354,7 @@ const routes: RouteRecordRaw[] = [ } ] }, - { - path: 'certificate', - name: 'CertificateModule', - component: () => import('@/views/teacher/certificate/index.vue'), - meta: { title: '证书管理' }, - redirect: '/teacher/certificate/management', - children: [ - { - path: 'management', - name: 'CertificateManagementPage', - component: CertificateManagement, - meta: { title: '证书管理' } - }, - { - path: 'template', - name: 'CertificateTemplate', - component: () => import('@/views/teacher/certificate/CertificateTemplate.vue'), - meta: { title: '证书模板' } - }, - { - path: 'issuance', - name: 'CertificateIssuance', - component: () => import('@/views/teacher/certificate/CertificateIssuance.vue'), - meta: { title: '证书颁发' } - }, - { - path: 'query', - name: 'CertificateQuery', - component: () => import('@/views/teacher/certificate/CertificateQuery.vue'), - meta: { title: '证书查询' } - } - ] - }, + ] }, diff --git a/src/views/teacher/AdminDashboard.vue b/src/views/teacher/AdminDashboard.vue index e700f0a..a6734bf 100644 --- a/src/views/teacher/AdminDashboard.vue +++ b/src/views/teacher/AdminDashboard.vue @@ -75,7 +75,7 @@
-