mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 23:06:45 +08:00
考试成绩查询问题
This commit is contained in:
@@ -477,7 +477,7 @@
|
|||||||
v-model="answerData.word"></el-input>
|
v-model="answerData.word"></el-input>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding: 0px 5px">
|
<div style="padding: 0px 5px">
|
||||||
<el-button icon="el-icon-search" type="primary" @click="getResults()">搜索</el-button>
|
<el-button icon="el-icon-search" type="primary" @click="getResults(true)">搜索</el-button>
|
||||||
<el-button icon="el-icon-download" type="primary" @click="exportsList()">导出成绩</el-button>
|
<el-button icon="el-icon-download" type="primary" @click="exportsList()">导出成绩</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1269,7 +1269,10 @@ export default {
|
|||||||
this.answerData.row=row;
|
this.answerData.row=row;
|
||||||
this.getResults();
|
this.getResults();
|
||||||
},
|
},
|
||||||
getResults() {
|
getResults(flag) {
|
||||||
|
if(flag){
|
||||||
|
this.answerData.pageIndex=1;
|
||||||
|
}
|
||||||
let params = {
|
let params = {
|
||||||
testId: this.answerData.row.id,// 考试 的id
|
testId: this.answerData.row.id,// 考试 的id
|
||||||
aid:'',// 答卷人ID
|
aid:'',// 答卷人ID
|
||||||
|
|||||||
Reference in New Issue
Block a user