JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_增加问答题回答提示
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@ ENV = 'development'
|
|||||||
#VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001'
|
#VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001'
|
||||||
|
|
||||||
|
|
||||||
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003'
|
#VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003'
|
||||||
|
|
||||||
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
|
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
|
||||||
# VITE_APP_BASE_API_Url = 'http://192.168.247.200'
|
# VITE_APP_BASE_API_Url = 'http://192.168.247.200'
|
||||||
@@ -21,7 +21,7 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003'
|
|||||||
|
|
||||||
# sit
|
# sit
|
||||||
|
|
||||||
#VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
|
VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
|
||||||
|
|
||||||
|
|
||||||
# UAT
|
# UAT
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<view class="score" v-if="['settlement', 'examination', 'pk_in'].includes(props.mode)">
|
<view class="score" v-if="['settlement', 'examination', 'pk_in'].includes(props.mode)">
|
||||||
{{ item.tgtGrade }}分
|
{{ item.tgtGrade }}分
|
||||||
</view>
|
</view>
|
||||||
<view class="score answerMethod" v-if="!['study_answer'].includes(props.mode)">
|
<view class="score answerMethod" v-if="['study','examination', 'practice'].includes(props.mode)">
|
||||||
{{ item.answerMethod === '02'? '仅文字回答':item.answerMethod === '03'? '仅语音回答':'不限制回答方式' }}
|
{{ answerMethod }}
|
||||||
</view>
|
</view>
|
||||||
<view class="fl1"></view>
|
<view class="fl1"></view>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
@@ -149,7 +149,12 @@
|
|||||||
backgroundColor: '#0066FF',
|
backgroundColor: '#0066FF',
|
||||||
border: '1rpx solid rgb(12, 123, 245)'
|
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 emit = defineEmits(['subject_click', 'update:modelValue']);
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: {
|
modelValue: {
|
||||||
|
|||||||
@@ -407,6 +407,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
topicList.push(
|
topicList.push(
|
||||||
|
|
||||||
...examination.qnsInfoVos.map((res) => {
|
...examination.qnsInfoVos.map((res) => {
|
||||||
const es_status = (() => {
|
const es_status = (() => {
|
||||||
try {
|
try {
|
||||||
@@ -471,7 +472,8 @@
|
|||||||
...res,
|
...res,
|
||||||
mark: false,
|
mark: false,
|
||||||
es_status: es_status,
|
es_status: es_status,
|
||||||
my_answer: my_answer
|
my_answer: my_answer,
|
||||||
|
answerMethod:answerMethod.value
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -370,13 +370,13 @@
|
|||||||
isPreview: false,
|
isPreview: false,
|
||||||
clearResult: true,
|
clearResult: true,
|
||||||
es_status: '', // 预设一下问答题的状态,'' 空为没有 00 转圈 01 播放,其他暂定
|
es_status: '', // 预设一下问答题的状态,'' 空为没有 00 转圈 01 播放,其他暂定
|
||||||
my_answer: []
|
my_answer: [],
|
||||||
|
answerMethod:answerMethod.value
|
||||||
}));
|
}));
|
||||||
answerMethod.value = practice.answerMethod ?? '01'
|
answerMethod.value = practice.answerMethod ?? '01'
|
||||||
console.log('answerMethod', answerMethod.value);
|
console.log('answerMethod', answerMethod.value);
|
||||||
addProblem();
|
addProblem();
|
||||||
// 记录练习起始时间
|
// 记录练习起始时间
|
||||||
|
|
||||||
practiceStartTime = new Date().getTime();
|
practiceStartTime = new Date().getTime();
|
||||||
setupKeyboardHeightListener((height) => {
|
setupKeyboardHeightListener((height) => {
|
||||||
popup_input_bottom.value = `${height}px`;
|
popup_input_bottom.value = `${height}px`;
|
||||||
|
|||||||
Reference in New Issue
Block a user