|
@@ -1,14 +1,26 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="page_target">
|
|
|
|
|
|
|
+ <div class="page_target page_search">
|
|
|
<TargetSubject></TargetSubject>
|
|
<TargetSubject></TargetSubject>
|
|
|
<!-- 错题巩固 -->
|
|
<!-- 错题巩固 -->
|
|
|
<div class="consolidate_item">
|
|
<div class="consolidate_item">
|
|
|
- <div class="left_tree">
|
|
|
|
|
|
|
+ <div class="left_filter">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="right_list">
|
|
|
|
|
|
|
+ <div class="right_list ">
|
|
|
|
|
+
|
|
|
|
|
+ <div class="search_content">
|
|
|
|
|
+ <div class="content_left">
|
|
|
|
|
+ <span class="left_title">错题详情</span> <span>共50道题</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="content_right">
|
|
|
|
|
+ <el-button type="primary" >导出PDF</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="page_jg_20">
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
<div class="question_item" v-for="(item, index) in questionList" :key="index">
|
|
<div class="question_item" v-for="(item, index) in questionList" :key="index">
|
|
|
- <QuestionItem :question="item"></QuestionItem>
|
|
|
|
|
|
|
+ <QuestionItem :question="item" :index="index+1"></QuestionItem>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="page_jg_20">
|
|
<div class="page_jg_20">
|
|
@@ -31,18 +43,7 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
questionList: [
|
|
questionList: [
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {},{},{},{},{},{},{}
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -60,11 +61,35 @@ export default {
|
|
|
},
|
|
},
|
|
|
mounted()
|
|
mounted()
|
|
|
{
|
|
{
|
|
|
-
|
|
|
|
|
|
|
+ this.GetTargetErrorQuestionListData();//获取错题列表
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ // 获取错题列表
|
|
|
|
|
+ GetTargetErrorQuestionListData()
|
|
|
|
|
+ {
|
|
|
|
|
+ let params={
|
|
|
|
|
+ pageParam: {
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ pageSize: 10
|
|
|
|
|
+ },
|
|
|
|
|
+ knowledgeIds: [''],
|
|
|
|
|
+ courseCode: this.subjectCode,
|
|
|
|
|
+ gradeCodes: [],
|
|
|
|
|
+ types: [1,2],//维度 1考试 2练习
|
|
|
|
|
+ beginAt: "",
|
|
|
|
|
+ endAt: ""
|
|
|
|
|
+ };
|
|
|
|
|
+ this.$api.target.getTargetErrorQuestionListData(params).then(res => {
|
|
|
|
|
+ console.log('打印错题列表', res)
|
|
|
|
|
+ if(res.code == 200)
|
|
|
|
|
+ {
|
|
|
|
|
+ this.questionList = res.data.records || [{},{},{},{},{},{},{}];
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
@@ -77,24 +102,32 @@ export default {
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
height: calc(100% - 50px);
|
|
height: calc(100% - 50px);
|
|
|
|
|
|
|
|
- .left_tree
|
|
|
|
|
|
|
+ .left_filter
|
|
|
{
|
|
{
|
|
|
- width: 200px;
|
|
|
|
|
|
|
+ width: 320px;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
- background: blue;
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
.right_list
|
|
.right_list
|
|
|
{
|
|
{
|
|
|
- width: calc(100% - 200px);
|
|
|
|
|
- height: 100%;
|
|
|
|
|
|
|
+ width: calc(100% - 330px);
|
|
|
|
|
+ height: calc(100% - 10px);
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
padding: 20px;
|
|
padding: 20px;
|
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ border-radius: 10px 10px 10px 10px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.question_item
|
|
.question_item
|
|
|
{
|
|
{
|
|
|
|
|
+
|
|
|
|
|
+ background: #FFFFFF;
|
|
|
|
|
+ border-radius: 10px 10px 10px 10px;
|
|
|
|
|
+ border: 1px solid #DCDFE6;
|
|
|
|
|
+ padding: 16px;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|