From 977ce4d2a33cc7a283adc83f59e07014fadc9a29 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 3 Jan 2024 11:15:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/dist/index.html | 2 +- client/src/api/edu.js | 7 +++ client/src/views/testvideo/certificate.vue | 63 ++++++++++++++++------ 3 files changed, 55 insertions(+), 17 deletions(-) diff --git a/client/dist/index.html b/client/dist/index.html index 7c0cbb3..ef5955a 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/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 @@ }
\ No newline at end of file +vue Admin Template
\ No newline at end of file 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/server/dist/index_zs.html b/server/dist/index_zs.html index c2af7f7..7ed288e 100644 --- a/server/dist/index_zs.html +++ b/server/dist/index_zs.html @@ -199,18 +199,27 @@ user-scalable: 用户是否能缩放页面 -->
-
姓名:{{item.姓名}}
-
资格: - 内审员 - - 授权签字人 - - 质量负责人 - - 最高管理者 +
+
姓名:{{item.姓名}}
+
资格: + 内审员 + + 授权签字人 + + 质量负责人 + + 最高管理者 +
+
证书编号:{{item.证书编号}}
+
所属单位:{{item.所属单位}}({{item.单位名称}})
+
+
+
姓名:{{item.姓名}}
+
证书编号:{{item.证书编号}}
+
培训日期:{{item.培训日期}}
+
培训结束日期:{{item.培训结束日期}}
+
培训日期:{{item.发证日期}}
-
证书编号:{{item.证书编号}}
-
所属单位:{{item.所属单位}}({{item.单位名称}})