From dc9c1c7c486ee140f1cdc64d0aeafffdced612f4 Mon Sep 17 00:00:00 2001 From: zhijie <1003392067@qq.com> Date: 星期一, 11 十二月 2023 23:21:07 +0800 Subject: [PATCH] 新增LAQ支持 --- src/views/exam/paper/guide.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/exam/paper/guide.vue b/src/views/exam/paper/guide.vue index 53364aa..8c6c0b4 100644 --- a/src/views/exam/paper/guide.vue +++ b/src/views/exam/paper/guide.vue @@ -1,7 +1,7 @@ <template> <div> <el-container class="app-item-contain"> - <el-header class="align-center" style="height: 50px;padding: 1%;"> + <el-header class="align-center" style="height: 50px;padding: 1%;margin-top: 4%"> <H2 v-html="$t('guide')" v-if="formDo.questionTemplateId !== 'job' || formDo.questionTemplateId !== 'values'"></H2> </el-header> <el-main style="padding-top:0%"> @@ -36,7 +36,12 @@ doExam: function () { let _this = this examPaperApi.updateTestMemberStatus(_this.memberToken).then(re => { - _this.$router.push({ path: '/exam/' + _this.doUrl, query: { formDo: _this.$route.query.formDo } }) + // LAQ鐗规畩澶勭悊 + if (_this.formDo.name.indexOf('LAQ') !== -1) { + _this.$router.push({ path: '/exam/' + _this.formDo.questionTemplateId, query: { formDo: _this.$route.query.formDo } }) + } else { + _this.$router.push({ path: '/exam/' + _this.doUrl, query: { formDo: _this.$route.query.formDo } }) + } }).catch(re => { _this.$message.error(re.message + ' 鏇存柊鐘舵�佸け璐�') }) -- Gitblit v1.9.1