From c4f975e32ea55ec7aca63317f8864cec8d6977c8 Mon Sep 17 00:00:00 2001
From: yj <2077506045@qq.com>
Date: 星期五, 14 十一月 2025 10:20:27 +0800
Subject: [PATCH] 人格、智力、工作、职业兴趣问卷增加提交提示功能,选完最后一题弹出提示窗口。
---
src/views/exam/components/QuestionEdit.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/views/exam/components/QuestionEdit.vue b/src/views/exam/components/QuestionEdit.vue
index 3d557a0..cafdbec 100644
--- a/src/views/exam/components/QuestionEdit.vue
+++ b/src/views/exam/components/QuestionEdit.vue
@@ -4,7 +4,7 @@
<div class="q-title" v-html="qLabel+' '+question.title" style="font-size: 23px"/>
<div class="q-content">
<el-radio-group v-model="answer.content" @change="answer.completed = true">
- <el-radio v-for="item in question.items" :key="item.prefix" :label="item.prefix" @change="jumpNext" :disabled="answer.readOnly" style="display:block;">
+ <el-radio v-for="item in question.items" :key="item.prefix" :label="item.prefix" @change="jumpNext" :disabled="answer.readOnly" style="display:block;border:1px solid #b3b5ba;margin:5px 0px 5px 0px;padding:0px 25px 0px 15px;border-radius:5px;">
<span class="question-prefix" style="font-size: 18px">{{abcValue[item.prefix]}}.</span>
<span v-html="item.content" class="q-item-span-content" style="font-size: 18px"></span>
</el-radio>
@@ -57,7 +57,7 @@
name: 'QuestionShow',
data () {
return {
- abcValue: { '1': 'A', '2': 'B', '3': 'C', '4': 'D', '5': 'E', '6': 'F' }
+ abcValue: { '1': 'A', '2': 'B', '3': 'C', '4': 'D', '5': 'E', '6': 'F', '7': 'G', '8': 'H', '9': 'I', '10': 'J' }
}
},
props: {
@@ -93,6 +93,7 @@
if (this.answer.content === null || this.answer.content.trim() === '') {
return
}
+ _this.$emit('callSelected')
setTimeout(function () {
_this.$emit('callNextSubject')
}, 500)
--
Gitblit v1.9.1