|
|
@@ -3,7 +3,7 @@
|
|
|
<div class="practice_result">
|
|
|
<TopBackNav>
|
|
|
<template #topRight>
|
|
|
- <span class="header_title">2026.8.9 14:16:30 提交记录</span>
|
|
|
+ <span class="header_title">{{ localPracticeDetail.practiceTime }} 提交记录</span>
|
|
|
</template>
|
|
|
</TopBackNav>
|
|
|
|
|
|
@@ -18,32 +18,33 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="desc">
|
|
|
- 该知识点练习前您的得分率是<span class="scoring_average bold">68%</span>,练习后您的得分率是<span class="scoring_average bold">58%</span>,经过专项练习该知识点得分率<span class="up_light bold">提升了16%</span>。请继续保持练习,时常回顾错题。
|
|
|
- </div>
|
|
|
- <div class="desc">
|
|
|
- 该知识点练习前您的得分率是<span class="scoring_average bold">68%</span>,练习后您的得分率是<span class="scoring_average bold">58%</span>,经过专项练习该知识点得分率<span class="down_light bold">下降了16%</span>。请继续保持练习,时常回顾错题。
|
|
|
+ 该知识点练习前您的得分率是<span class="scoring_average bold">{{localPracticeDetail.frontRate === '-' ? localPracticeDetail.frontRate : localPracticeDetail.frontRate + '%'}}</span>
|
|
|
+ ,练习后您的得分率是<span class="scoring_average bold">{{ localPracticeDetail.afterRate === '-' ? localPracticeDetail.afterRate : localPracticeDetail.afterRate + '%'}}</span>
|
|
|
+ ,经过专项练习该知识点得分率<span class="up_light bold">提升了16%</span>。请继续保持练习,时常回顾错题。
|
|
|
+ 经过专项练习该知识点得分率<span class="down_light bold">下降了16%</span>。请继续保持练习,时常回顾错题。
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<ul class="question_detail_list">
|
|
|
- <li v-for="(item,index) in questionList" :key="item.id">
|
|
|
+ <li v-for="(item,index) in questionList" :key="item.questionId">
|
|
|
<!-- 题目区域 -->
|
|
|
<div class="question_area">
|
|
|
<div class="question_header">
|
|
|
<div>
|
|
|
<span class="question_num">{{index + 1}}</span>
|
|
|
- <span class="question_type">选择题</span>
|
|
|
+ <span class="question_type">{{item.questionType}}</span>
|
|
|
</div>
|
|
|
- <span class="question_difficulty">容易</span>
|
|
|
- <span class="question_source">福建省莆田第五中学2024-2025学年高一上学期期末考试数学试卷</span>
|
|
|
- <span class="question_score">得分率:86.92%</span>
|
|
|
+ <span class="question_difficulty">{{ item.questionLevel }}</span>
|
|
|
+ <span class="question_source">{{ item.fromPaper }}</span>
|
|
|
+ <!-- markStatus 0 未批阅 1 已完成 -->
|
|
|
+ <span v-if="item.markStatus" class="question_score">得分率:{{ item.rate }}%</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="question_content">
|
|
|
+ <div v-html="item.title"></div>
|
|
|
+ <!--
|
|
|
<p class="question_desc">教材文言知识小题,完成下面1-2小题。</p>
|
|
|
-
|
|
|
<div class="sub_question_list">
|
|
|
- <!-- 第(1)题 -->
|
|
|
<div class="sub_question">
|
|
|
<p class="sub_question_title">(1) 下列各项中,不含通假字的一项是( )</p>
|
|
|
<div class="option_list">
|
|
|
@@ -64,8 +65,6 @@
|
|
|
<div>D. ③⑥⑧</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
- <!-- 第(2)题 -->
|
|
|
<div class="sub_question">
|
|
|
<p class="sub_question_title">(2) 下列句子的句式特点不同于其他三项的一项是( )</p>
|
|
|
<div class="choice_list">
|
|
|
@@ -76,6 +75,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ -->
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -97,9 +97,21 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- 答案解析区域 -->
|
|
|
- <AnswerAnalysis v-if="item?.operationType == 'analysis'"/>
|
|
|
+ <AnswerAnalysis v-if="item?.operationType == 'analysis'"
|
|
|
+ :knowledgeList="item.knowledgeList"
|
|
|
+ :answer="item.answer"
|
|
|
+ :analysis="item.parse"/>
|
|
|
+
|
|
|
<!-- 作答详情区域 -->
|
|
|
- <studentAnswerDetail v-if="item?.operationType == 'stuAnswerDetail'"/>
|
|
|
+ <!-- isObjective :是否是客观题(1是 0否) -->
|
|
|
+ <!-- isJudge :是否是判断题 (1是 0否) -->
|
|
|
+ <studentAnswerDetail v-if="item?.operationType == 'stuAnswerDetail'"
|
|
|
+ :studentAnswer="item.studentAnswer"
|
|
|
+ :answerType="item.isObjective ? (item.isJudge ? 'img' : 'online') : 'img'"
|
|
|
+ :answerOptionNum="item.optionsNum"
|
|
|
+ :rightAnswer="item.answer"
|
|
|
+ :answerImg="{name:item.studentAnswer,url:item.studentAnswer}"
|
|
|
+ />
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
@@ -135,16 +147,8 @@ export default ({
|
|
|
deteaiIcon:deteaiIcon,
|
|
|
answerIconLight:answerIconLight,
|
|
|
deteaiIconLight:deteaiIconLight,
|
|
|
- questionList:[
|
|
|
- {
|
|
|
- id:'1',
|
|
|
- operationType:''
|
|
|
- },
|
|
|
- {
|
|
|
- id:'2',
|
|
|
- operationType:''
|
|
|
- }
|
|
|
- ],
|
|
|
+ questionList:[],
|
|
|
+ localPracticeDetail:{}, //本地存储的数据
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -152,18 +156,37 @@ export default ({
|
|
|
* @param row
|
|
|
* @param type 'ai' 'analysis' 'stuAnswerDetail'
|
|
|
*/
|
|
|
- questionOperationTrigger(row,type){
|
|
|
- if(row.operationType == type){
|
|
|
- row.operationType = ''
|
|
|
- }else{
|
|
|
- row.operationType = type
|
|
|
- }
|
|
|
- }
|
|
|
+ questionOperationTrigger(row,type){
|
|
|
+ if(row.operationType == type){
|
|
|
+ row.operationType = ''
|
|
|
+ }else{
|
|
|
+ row.operationType = type
|
|
|
+ }
|
|
|
+ },
|
|
|
+ GetExersiseDetail(){
|
|
|
+ let params = {
|
|
|
+ exerciseId:this.$route.query.id,
|
|
|
+ // type:this.$route.query.exerciseType
|
|
|
+ type:2
|
|
|
+ }
|
|
|
+ this.$api.target.getExerciseResultDetail(params).then(res=>{
|
|
|
+ if(res?.code == 200){
|
|
|
+ this.questionList = res.data.map(itm=>{
|
|
|
+ return {
|
|
|
+ ...itm,
|
|
|
+ operationType:''
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }).catch()
|
|
|
+ },
|
|
|
},
|
|
|
computed:{},
|
|
|
mounted() {
|
|
|
+ this.localPracticeDetail = JSON.parse(sessionStorage.getItem('practice_detail') || '{}')
|
|
|
+ console.log('页面加载中')
|
|
|
+ this.GetExersiseDetail()
|
|
|
},
|
|
|
-
|
|
|
})
|
|
|
|
|
|
|