JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_增加问答题回答提示

This commit is contained in:
田岩
2026-01-14 17:46:41 +08:00
parent 3552596a70
commit a56957db7e
4 changed files with 15 additions and 8 deletions
+8 -3
View File
@@ -6,8 +6,8 @@
<view class="score" v-if="['settlement', 'examination', 'pk_in'].includes(props.mode)">
{{ item.tgtGrade }}
</view>
<view class="score answerMethod" v-if="!['study_answer'].includes(props.mode)">
{{ item.answerMethod === '02'? '仅文字回答':item.answerMethod === '03'? '仅语音回答':'不限制回答方式' }}
<view class="score answerMethod" v-if="['study','examination', 'practice'].includes(props.mode)">
{{ answerMethod }}
</view>
<view class="fl1"></view>
<view class="right">
@@ -149,7 +149,12 @@
backgroundColor: '#0066FF',
border: '1rpx solid rgb(12, 123, 245)'
};
const answerMethodMap = {
'01': '不限制回答方式',
'02': '仅文字回答',
'03': '仅语音回答'
};
const answerMethod = computed(() => answerMethodMap[props.item?.answerMethod || ''] || '');
const emit = defineEmits(['subject_click', 'update:modelValue']);
const props = defineProps({
modelValue: {