From a56957db7e6007db50273f2c830fb6a780728813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Wed, 14 Jan 2026 17:46:41 +0800 Subject: [PATCH] =?UTF-8?q?JLBA202505130001=5F=E5=85=B3=E4=BA=8E=E5=90=89?= =?UTF-8?q?=E6=9E=97=E9=93=B6=E8=A1=8C=E6=96=B0=E5=BB=BAAI=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E5=9F=B9=E8=AE=AD=E7=B3=BB=E7=BB=9F=E7=9A=84=E9=9C=80?= =?UTF-8?q?=E6=B1=82=5F=E5=A2=9E=E5=8A=A0=E9=97=AE=E7=AD=94=E9=A2=98?= =?UTF-8?q?=E5=9B=9E=E7=AD=94=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/components/examination/subject.vue | 11 ++++++++--- src/pages/examination/index.vue | 4 +++- src/pages/practice/index.vue | 4 ++-- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.env.development b/.env.development index 1767d8b3..1f463837 100644 --- a/.env.development +++ b/.env.development @@ -7,7 +7,7 @@ ENV = 'development' #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 = 'http://192.168.247.200' @@ -21,7 +21,7 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003' # sit -#VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786' +VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786' # UAT diff --git a/src/components/examination/subject.vue b/src/components/examination/subject.vue index e7912540..24adec46 100644 --- a/src/components/examination/subject.vue +++ b/src/components/examination/subject.vue @@ -6,8 +6,8 @@ {{ item.tgtGrade }}分 - - {{ item.answerMethod === '02'? '仅文字回答':item.answerMethod === '03'? '仅语音回答':'不限制回答方式' }} + + {{ answerMethod }} @@ -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: { diff --git a/src/pages/examination/index.vue b/src/pages/examination/index.vue index 407ded06..4f2443f2 100644 --- a/src/pages/examination/index.vue +++ b/src/pages/examination/index.vue @@ -407,6 +407,7 @@ } topicList.push( + ...examination.qnsInfoVos.map((res) => { const es_status = (() => { try { @@ -471,7 +472,8 @@ ...res, mark: false, es_status: es_status, - my_answer: my_answer + my_answer: my_answer, + answerMethod:answerMethod.value }; }) ); diff --git a/src/pages/practice/index.vue b/src/pages/practice/index.vue index 537bef06..ee8271c2 100644 --- a/src/pages/practice/index.vue +++ b/src/pages/practice/index.vue @@ -370,13 +370,13 @@ isPreview: false, clearResult: true, es_status: '', // 预设一下问答题的状态,'' 空为没有 00 转圈 01 播放,其他暂定 - my_answer: [] + my_answer: [], + answerMethod:answerMethod.value })); answerMethod.value = practice.answerMethod ?? '01' console.log('answerMethod', answerMethod.value); addProblem(); // 记录练习起始时间 - practiceStartTime = new Date().getTime(); setupKeyboardHeightListener((height) => { popup_input_bottom.value = `${height}px`;