diff --git a/client/dist/index.html b/client/dist/index.html index 7c0cbb3..bddc307 100644 --- a/client/dist/index.html +++ b/client/dist/index.html @@ -1 +1 @@ -vue Admin Template
\ No newline at end of file +vue Admin Template
\ No newline at end of file diff --git a/client/src/api/edu.js b/client/src/api/edu.js index d644876..7a7af7a 100644 --- a/client/src/api/edu.js +++ b/client/src/api/edu.js @@ -29,6 +29,13 @@ export function createCertificate(data) { data }) } + export function impCertificate12(data) { + return request({ + url: '/edu/certificate/imp_202312/', + method: 'post', + data + }) + } export function deleteCertificate(id) { return request({ url: `/edu/certificate/${id}/`, diff --git a/client/src/router/index.js b/client/src/router/index.js index 3e950e1..4afc899 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -426,6 +426,12 @@ export const asyncRoutes = [ component: () => import('@/views/testvideo/certificate.vue'), meta: { title: '证书列表', perms: ['certificate'] } }, + { + path: 'course', + name: 'course', + component: () => import('@/views/testvideo/course.vue'), + meta: { title: '课程列表'} + }, { path: 'videolist', name: 'videolist', @@ -452,12 +458,6 @@ export const asyncRoutes = [ meta: { title: '视频播放统计', perms: ['video_view'] }, // hidden: true }, - { - path: 'course', - name: 'course', - component: () => import('@/views/testvideo/course.vue'), - meta: { title: '课程列表'} - }, ] }, { diff --git a/client/src/views/testvideo/certificate.vue b/client/src/views/testvideo/certificate.vue index 9494aab..f95151e 100644 --- a/client/src/views/testvideo/certificate.vue +++ b/client/src/views/testvideo/certificate.vue @@ -23,13 +23,38 @@
新增证书 + -

导入证书

+

导入证书(202312版)

导入证书 + 202312模板
@@ -66,7 +92,6 @@ type="selection" width="55"> - @@ -131,7 +156,7 @@ - + @@ -273,7 +298,7 @@ }