|
@@ -4,8 +4,6 @@
|
|
|
ref="searchForm"
|
|
|
:inline="true"
|
|
|
class="searchForm"
|
|
|
- @submit="search"
|
|
|
- @reset="onReSet"
|
|
|
:model="searchForm"
|
|
|
>
|
|
|
<el-form-item prop="search">
|
|
@@ -59,8 +57,8 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button native-type="submit" type="danger">搜索</el-button>
|
|
|
- <el-button type="primary" native-type="reset">重置</el-button>
|
|
|
+ <el-button type="danger" @click="search">搜索</el-button>
|
|
|
+ <el-button type="primary" @click="onReSet">重置</el-button>
|
|
|
<!-- <el-button
|
|
|
type="primary"
|
|
|
v-permission="'export/musicGroupStudent'"
|
|
@@ -170,6 +168,7 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
onReSet() {
|
|
|
+ this.$refs.searchForm.resetFields()
|
|
|
this.search()
|
|
|
},
|
|
|
getGrade(id){
|