JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_修复sitbug2

This commit is contained in:
田岩
2026-01-13 13:35:52 +08:00
parent e5b0ac8177
commit 07e96bbdeb
3 changed files with 10 additions and 22 deletions
+8 -11
View File
@@ -1,5 +1,5 @@
<template>
<view class="item" :class="{'no-touch':qnsTyp === 'ES' && !isDisabled && ['examination', 'practice', 'mistake'].includes(props.mode)}">
<view class="item" :class="{'no-touch':qnsTyp === 'ES' && !isDisabled && ['examination', 'practice', 'mistake_in', 'pk_in'].includes(props.mode)}">
<view class="top">
<view class="type">{{ subject_type_text }}</view>
<view class="score" v-if="['settlement', 'examination', 'pk_in'].includes(props.mode)">
@@ -9,7 +9,7 @@
<view class="right">
<!-- 反馈中心 -->
<slot name="title-right"></slot>
<view class="mark_and_feedback_div" v-if="['examination', 'practice'].includes(props.mode)">
<view class="mark_and_feedback_div" v-if="['examination', 'practice', 'mistake_in'].includes(props.mode)">
<image
v-if="props.mode === 'examination'"
:src="markIcon(props.item.mark ? '#e8b531' : '#ABABAB')"
@@ -20,7 +20,7 @@
:src="feedbackIcon()"
class="img"
@click="feedback_click()"
v-if="props.mode2 !== 'mistake'"
v-if="props.mode !== 'mistake_in'"
></image>
</view>
<template v-if="['mistake'].includes(props.mode)">
@@ -53,7 +53,7 @@
:isPreview="props.isPreview"
:activeVoiceId="subject_data.qnsId"
@buutton_click="questionButtonClick"
:button_complete_show="['practice', 'pk_in'].includes(props.mode)"
:button_complete_show="['practice', 'pk_in', 'mistake_in'].includes(props.mode)"
></questionVue>
</template>
<template v-else>
@@ -70,7 +70,7 @@
class="option_div_button"
v-if="
qnsTyp === 'MU' &&
['practice', 'study', 'pk_in'].includes(props.mode) &&
['practice', 'study', 'pk_in', 'mistake_in'].includes(props.mode) &&
!props.isPreview &&
clearResult
"
@@ -91,7 +91,7 @@
class="analysis_div"
v-if="
!clearResult &&
['study', 'mistake', 'settlement', 'practice', 'practice_record', 'pk_in'].includes(props.mode)
['study', 'mistake', 'settlement', 'practice', 'mistake_in', 'practice_record', 'pk_in'].includes(props.mode)
"
>
<view class="analysis_title" v-if="qnsTyp !== 'ES'">
@@ -161,10 +161,11 @@
// 考试: examination
// 练习: practice
// 错题本: mistake
// 错题本重新答题中: mistake_in
// 学习: study
// 考试结算页 settlement
// 练习记录页 practice_record, 'practice_record'
return ['examination', 'practice', 'mistake', 'study', 'settlement', 'practice_record', 'pk_in'].includes(
return ['examination', 'practice', 'mistake', 'mistake_in', 'study', 'settlement', 'practice_record', 'pk_in'].includes(
value
);
}
@@ -178,10 +179,6 @@
clearResult: {
type: Boolean,
default: true
},
mode2: {
type: String,
default: ''
}
});
+1 -7
View File
@@ -67,13 +67,6 @@
<view class="fixed-box font_pf" :style="{ marginBottom: popup_input_bottom }">
<view class="touch-btn-div" :class="{ show: showTouchBtn }">
<!-- <TouchBtn
ref="touchBtnRef"
class="talk-btns"
@submit="touchBtnSubmit"
disabledText="只能进行一条回答"
:isDisabled="touchIsDisabled"
/> -->
<TouchBtn
class="talk-btns"
ref="touchBtnRef"
@@ -383,6 +376,7 @@
console.log('answerMethod', answerMethod.value);
addProblem();
// 记录练习起始时间
practiceStartTime = new Date().getTime();
setupKeyboardHeightListener((height) => {
popup_input_bottom.value = `${height}px`;
+1 -4
View File
@@ -49,8 +49,7 @@
<Subject
v-else
:item="item"
:mode="mode"
mode2="mistake"
mode="mistake_in"
:isPreview="item.isPreview"
:clearResult="item.clearResult"
@subject_click="subject_click"
@@ -99,8 +98,6 @@
const feedbackRef = ref(null);
const dialogRef = ref(null);
const touchBtnRef = ref(null);
const mode = ref('practice'); // 考试 examination 练习practice 错题本: mistake
const paperData = reactive({
name: '' // 名称
}); // 试卷信息