|
|
@ -1,18 +1,16 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-row :gutter="20"> |
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
|
|
|
|
|
<el-card shadow="hover" class="m-b-20"> |
|
|
|
<el-card shadow="hover" class="m-b-20"> |
|
|
|
<div class="p-title m-b-20">筛选</div> |
|
|
|
<div class="p-title m-b-20">筛选</div> |
|
|
|
<div class="flex j-between"> |
|
|
|
<div class="flex j-between"> |
|
|
|
<el-form label-width="80px" inline> |
|
|
|
<el-form label-width="80px" inline> |
|
|
|
<el-form-item class="no-mb" label="题库来源"> |
|
|
|
<el-form-item class="no-mb" label="题库来源"> |
|
|
|
<el-select v-model="type" clearable placeholder="请选择题库来源" @change="getName"> |
|
|
|
<el-select v-model="type" placeholder="请选择题库来源" @change="getName"> |
|
|
|
<el-option v-for="(item,index) in sourceList" :key="index" :label="item.name" :value="item.id"></el-option> |
|
|
|
<el-option v-for="(item,index) in sourceList" :key="index" :label="item.name" :value="item.id"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item class="no-mb" label="试卷名称"> |
|
|
|
<el-form-item class="no-mb" label="试卷名称"> |
|
|
|
<el-select v-model="paperId" clearable placeholder="请选择试卷名称" @change="getData"> |
|
|
|
<el-select v-model="paperId" placeholder="请选择试卷名称" @change="getData"> |
|
|
|
<el-option v-for="(item,index) in nameList" :key="index" :label="item.paperName" :value="item.paperId"></el-option> |
|
|
|
<el-option v-for="(item,index) in nameList" :key="index" :label="item.paperName" :value="item.paperId"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
@ -33,9 +31,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
|
|
|
|
|
<el-card shadow="hover" class="m-b-20"> |
|
|
|
<el-card shadow="hover" class="m-b-20"> |
|
|
|
<div class="m-b-20"> |
|
|
|
<div class="m-b-20"> |
|
|
|
<el-button |
|
|
|
<el-button |
|
|
@ -92,8 +88,6 @@ |
|
|
|
></el-pagination> |
|
|
|
></el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog title="错题详情" :visible.sync="detailVisible" width="40%"> |
|
|
|
<el-dialog title="错题详情" :visible.sync="detailVisible" width="40%"> |
|
|
|
<div class="ques"> |
|
|
|
<div class="ques"> |
|
|
@ -129,14 +123,14 @@ export default { |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
keyword: '', |
|
|
|
keyword: '', |
|
|
|
type: 1, |
|
|
|
type: 2, |
|
|
|
sourceList: [ |
|
|
|
sourceList: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
id: 1, |
|
|
|
|
|
|
|
name: '用于考试' |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
id: 2, |
|
|
|
id: 2, |
|
|
|
name: '用于练习' |
|
|
|
name: '用于练习' |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
id: 1, |
|
|
|
|
|
|
|
name: '用于考试' |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
paperId: '', |
|
|
|
paperId: '', |
|
|
|