diff --git a/api/api.js b/api/api.js
index 3a57f28..9cc6c06 100644
--- a/api/api.js
+++ b/api/api.js
@@ -8,3 +8,4 @@ export const uploadFile = (params) => upload("/app/sys/file/uploadFile", params)
export const setRefreshToken = (params) => post("/sys/refreshToken", params ); // 刷新token
export const setEntryV1 = (params) => post("/app/sys/user/entry", params ); // 入职
export const resignV1 = (params) => post("/app/sys/user/resign", params ); // 离职
+export const getStudentInfoApi = (params) => post("/app/student/getStudentInfo", params ); // 获取学员信息
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 90d5057..669ad9e 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -128,6 +128,33 @@ export default {
CODE_TYPE: obj[0].CODE_TYPE
}
})
+ } else if (type === '2') {
+ // 签到二维码方式进入, [type: 2 --> 签到二维码方式进入]
+ if (findClassId) {
+ uni.$u.route({
+ url: '/pages/train_management/realname_info_auth',
+ params: {
+ type: 'scan_face',
+ classId
+ }
+ })
+ } else {
+ uni.$u.toast('您未在培训计划内,无法入班签到,请联系教师')
+ }
+ } else if (type === '3') {
+ // 考试二维码方式进入 [type: 3 --> 考试二维码方式进入]
+ if (findClassId) {
+ uni.$u.route({
+ url: '/pages/train_management/face_authentication',
+ params: {
+ type: 'learning_certification',
+ stageexampaperinputId,
+ classId,
+ }
+ })
+ } else {
+ uni.$u.toast('您未在培训计划内,无法进行考试,请联系教师')
+ }
}
}
})
diff --git a/pages/train_management/exam_record.vue b/pages/train_management/exam_record.vue
index 1cb8fed..c9ebaf1 100644
--- a/pages/train_management/exam_record.vue
+++ b/pages/train_management/exam_record.vue
@@ -7,15 +7,17 @@
- 姓名: {{info.username}}
- 分数: {{info.examscore}}分
+
+ 姓名: {{info.username}}
+ 分数: {{info.examscore}}分
+
考试时间: {{info.examtimeend}}
签字:
-
+
当前试题: {{ current + 1 }}/{{ questionList.length }}
@@ -30,7 +32,8 @@
{{ questionList[current].questiondry }}
-
+
{{ item }}
{{ questionList[current]['option' + item.toLocaleLowerCase()] }}
@@ -38,7 +41,8 @@
-
+
{{ item }}
{{ questionList[current]['option' + item.toLocaleLowerCase()] }}
@@ -46,7 +50,8 @@
-
+
{{ questionList[current]['option' + item.toLocaleLowerCase()] }}
@@ -59,8 +64,8 @@
{{ questionList[current].answerright === 'A' ? '对' : '错' }}
{{ questionList[current].answerright || '无' }}
- 权威解读
- {{ questionList[current].descr || "无" }}
+ 权威解读
+ {{ questionList[current].descr || "无" }}
@@ -92,184 +97,194 @@
+
\ No newline at end of file
diff --git a/pages/train_management/index.vue b/pages/train_management/index.vue
index f89a303..b636134 100644
--- a/pages/train_management/index.vue
+++ b/pages/train_management/index.vue
@@ -45,7 +45,7 @@