diff --git a/.env.development.yh b/.env.development.yh
index 193ce295..474c810a 100644
--- a/.env.development.yh
+++ b/.env.development.yh
@@ -2,9 +2,9 @@
ENV = 'development.yh'
# 'development.yh'
-# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
+VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
-VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786'
+# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786'
# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786'
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
# VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.32.154:9604'
@@ -12,4 +12,5 @@ VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786'
# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.154:9601'
# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.158:9601'
# VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.32.154:9602'
+# VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.32.157:9605'
diff --git a/src/components/examination/subject.vue b/src/components/examination/subject.vue
index 1f02b0b4..4ccaf7c6 100644
--- a/src/components/examination/subject.vue
+++ b/src/components/examination/subject.vue
@@ -1,7 +1,8 @@
- {{ subject_type_text }}
+
+ {{ subject_type_text }}
{{ item.tgtGrade }}分
@@ -40,12 +41,12 @@
-
+
{{ subject_data.qnsContent }}
-
+
@@ -72,7 +73,7 @@
class="option_div_button"
v-if="
qnsTyp === 'MU' &&
- ['practice', 'study', 'pk_in', 'mistake_in'].includes(props.mode) &&
+ ['practice', 'study', 'study_answer', 'pk_in', 'mistake_in'].includes(props.mode) &&
!props.isPreview &&
clearResult
"
@@ -93,7 +94,7 @@
class="analysis_div"
v-if="
!clearResult &&
- ['study', 'mistake', 'settlement', 'practice', 'mistake_in', 'practice_record', 'pk_in'].includes(props.mode)
+ ['study', 'study_answer', 'mistake', 'settlement', 'practice', 'mistake_in', 'practice_record', 'pk_in'].includes(props.mode)
"
>
@@ -103,7 +104,7 @@
{{ myResultLabel.join('') }}
-
+
你的答案:
{{ subject_data.anserResult ?? '' }}
@@ -167,7 +168,7 @@
// 学习: study
// 考试结算页 settlement
// 练习记录页 practice_record, 'practice_record'
- return ['examination', 'practice', 'mistake', 'mistake_in', 'study', 'settlement', 'practice_record', 'pk_in'].includes(
+ return ['examination', 'practice', 'mistake', 'mistake_in', 'study', 'study_answer', 'settlement', 'practice_record', 'pk_in'].includes(
value
);
}
@@ -314,7 +315,7 @@
if (item_answer.value.includes(analysisVo.itemId)) {
item_answer.value = item_answer.value.filter((id) => id !== analysisVo.itemId);
modelValue.value = item_answer.value;
- if (!['study'].includes(props.mode)) {
+ if (!['study','study_answer'].includes(props.mode)) {
muCheckbox('choose');
}
} else if (props.item.qnsTyp === 'SN') {
@@ -328,7 +329,7 @@
// 多选直接插入
item_answer.value.push(analysisVo.itemId);
modelValue.value = item_answer.value;
- if (!['study'].includes(props.mode)) {
+ if (!['study','study_answer'].includes(props.mode)) {
muCheckbox('choose');
}
} else if (props.item.qnsTyp === 'JD') {
diff --git a/src/pages/course/components/talkingItem.vue b/src/pages/course/components/talkingItem.vue
index f2e54504..aad428d1 100644
--- a/src/pages/course/components/talkingItem.vue
+++ b/src/pages/course/components/talkingItem.vue
@@ -33,11 +33,17 @@
-
+
参考答案:{{ dataInfo.itemAnswer }}
-
+
-
+
{{ type === 5 ? '试题解析:' : '' }}{{ showContent }}
- 问答题
+
{{ showContent }}
-
+ -->
-
@@ -324,10 +331,26 @@
return {
...dataInfo.value,
...(dataInfo.value?.traQnsInfoVo || {}),
- my_answer: dataInfo.value?.traQnsInfoVo?.anserResult || ''
+ my_answer: dataInfo.value?.traQnsInfoVo?.anserResult || '',
+ ...(props.type === 5?{
+ "qnsTyp": "ES",
+ my_answer: dataInfo.value,
+ itemVos: [{
+ ...dataInfo.value,
+ "qnsTyp": "ES",
+ "qnsId": dataInfo.value.qnsId,
+ "itemAnswer": dataInfo.value.itemAnswer,
+ "relKeyword": dataInfo.value.relKeyword,
+ anserResult:dataInfo.value?.traQnsInfoVo?.anserResult || '',
+ "evalSettingVos": dataInfo.value?.essayEvalVo,
+ }]
+ }:{})
+
};
});
- const mode = ref('study'); // 考试 examination 练习practice 学习study
+ const mode = computed(()=>{
+ return props.type == 5 ? 'study_answer' : 'study'
+ }); // 考试 examination 练习practice 学习study 学习结果study_answer
const imgAddrs = computed(()=>{
return (dataInfo.value.imageAddrs || [])
diff --git a/src/pages/courseRecord/components/talkingItem.vue b/src/pages/courseRecord/components/talkingItem.vue
index 8d7b96cf..319016f6 100644
--- a/src/pages/courseRecord/components/talkingItem.vue
+++ b/src/pages/courseRecord/components/talkingItem.vue
@@ -31,10 +31,10 @@
{{ showContent }}
-
-
+
@@ -55,14 +55,14 @@
>
-
+
参考答案:{{ dataInfo.itemAnswer }}