|
@@ -25,6 +25,14 @@
|
|
>
|
|
>
|
|
</status-select>
|
|
</status-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="班级">
|
|
|
|
+ <el-input
|
|
|
|
+ v-model.trim="filter.className"
|
|
|
|
+ placeholder="班级"
|
|
|
|
+ clearable
|
|
|
|
+ >
|
|
|
|
+ </el-input>
|
|
|
|
+ </el-form-item>
|
|
<el-form-item label-width="0px">
|
|
<el-form-item label-width="0px">
|
|
<el-button type="primary" @click="search">查询</el-button>
|
|
<el-button type="primary" @click="search">查询</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -136,6 +144,7 @@ export default {
|
|
return {
|
|
return {
|
|
filter: {
|
|
filter: {
|
|
groupNumber: "",
|
|
groupNumber: "",
|
|
|
|
+ className: "",
|
|
},
|
|
},
|
|
current: 1,
|
|
current: 1,
|
|
size: this.GLOBAL.pageSize,
|
|
size: this.GLOBAL.pageSize,
|
|
@@ -151,7 +160,9 @@ export default {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
|
|
+ this.filter.className = this.$ls.get("preset-className", undefined);
|
|
this.filter.groupNumber = this.$ls.get("preset-groupNumber", "");
|
|
this.filter.groupNumber = this.$ls.get("preset-groupNumber", "");
|
|
|
|
+ this.$ls.remove("preset-className");
|
|
this.$ls.remove("preset-groupNumber");
|
|
this.$ls.remove("preset-groupNumber");
|
|
this.getQuestions();
|
|
this.getQuestions();
|
|
this.toPage(1);
|
|
this.toPage(1);
|