考试成绩查询问题

This commit is contained in:
daihh
2023-02-23 14:55:29 +08:00
parent 2164210aaf
commit 6ccbd740f5

View File

@@ -477,7 +477,7 @@
v-model="answerData.word"></el-input>
</div>
<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>
</div>
</div>
@@ -1269,7 +1269,10 @@ export default {
this.answerData.row=row;
this.getResults();
},
getResults() {
getResults(flag) {
if(flag){
this.answerData.pageIndex=1;
}
let params = {
testId: this.answerData.row.id,// 考试 的id
aid:'',// 答卷人ID