|
|
@@ -60,7 +60,7 @@
|
|
|
<span class="left_title">错题详情</span> <span>共{{questionList.length}}道题</span>
|
|
|
</div>
|
|
|
<div class="content_right">
|
|
|
- <el-button type="primary" >导出PDF</el-button>
|
|
|
+ <el-button type="primary" @click="ExportPDF()">导出PDF</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="page_jg_20">
|
|
|
@@ -119,7 +119,7 @@
|
|
|
:answerOptionNum="item.optionsNum"
|
|
|
:rightAnswer="item.answer"
|
|
|
:answerImg="(item.studentAnswer?.split(',')?.map(img=>({name:img,url:img})) || [])"
|
|
|
- />
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="question_no_data" v-if="questionList.length==0">
|
|
|
@@ -225,7 +225,7 @@ export default {
|
|
|
console.log('科目编码改变了', newVal, oldVal)
|
|
|
// ========= 业务逻辑写这里 =========
|
|
|
// 例如:切换科目,重置步骤、重新请求知识点图谱数据
|
|
|
-
|
|
|
+ this.GetKnowledgeTreeData();//获取知识点树形数据
|
|
|
}
|
|
|
},
|
|
|
mounted()
|
|
|
@@ -236,7 +236,7 @@ export default {
|
|
|
console.log('打印科目编码', this.gradeList)
|
|
|
this.checkGrades=[this.gradeList[this.gradeList.length-1].value];
|
|
|
// this.GetTargetErrorTopData();//获取错题筛选数据
|
|
|
- this.GetQuestionList();//获取错题列表
|
|
|
+ // this.GetQuestionList();//获取错题列表
|
|
|
this.GetKnowledgeTreeData();//获取知识点树形数据
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -286,6 +286,12 @@ export default {
|
|
|
return (this.pageInfo.pageNum-1)*10+index+1;
|
|
|
},
|
|
|
|
|
|
+ //导出错题本pdf
|
|
|
+ ExportPDF()
|
|
|
+ {
|
|
|
+ this.$message.warning('功能开发中,敬请期待');
|
|
|
+ },
|
|
|
+
|
|
|
ChangePage()
|
|
|
{
|
|
|
|
|
|
@@ -500,8 +506,9 @@ export default {
|
|
|
{
|
|
|
flex-shrink: 0;
|
|
|
margin-bottom: 10px;
|
|
|
- font-weight: 500;
|
|
|
+ font-weight: 550;
|
|
|
color: #333;
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
|
|
|
// 让 CommonTree 承接真正的剩余高度,超出时由它自己的 overflow 出现滚动条
|
|
|
@@ -516,23 +523,26 @@ export default {
|
|
|
.right_list
|
|
|
{
|
|
|
width: calc(100% - 330px);
|
|
|
- height: calc(100% - 10px);
|
|
|
+ height: auto;
|
|
|
background: #fff;
|
|
|
padding: 20px;
|
|
|
- overflow-y: auto;
|
|
|
+
|
|
|
box-sizing: border-box;
|
|
|
border-radius: 10px 10px 10px 10px;
|
|
|
.question_list
|
|
|
{
|
|
|
|
|
|
- height: calc(100% - 107px);
|
|
|
+ height: calc(100vh - 280px);
|
|
|
overflow-y: auto;
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.left_title
|
|
|
+{
|
|
|
+ font-size: 16px;
|
|
|
+}
|
|
|
+
|
|
|
.question_list_item
|
|
|
{
|
|
|
width:100%;
|