修改bug

prod
wangwei 2 years ago
parent fae0548f10
commit 9f90b61134

@ -15,7 +15,7 @@
<el-button-group style="display:flex;"> <el-button-group style="display:flex;">
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button> <el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="getList"></el-button> <el-button type="primary" icon="el-icon-search" @click="Onsearch"></el-button>
<el-button type="primary" icon="el-icon-upload2" @click="exportExcel"></el-button> <el-button type="primary" icon="el-icon-upload2" @click="exportExcel"></el-button>
</el-button-group> </el-button-group>
</div> </div>
@ -128,6 +128,10 @@ export default {
}, },
hideSearch() { hideSearch() {
this.showSearch = !this.showSearch; this.showSearch = !this.showSearch;
},
Onsearch(){
this.filterQuery.page=1;
this.getList();
}, },
getList() { getList() {
this.loading = true; this.loading = true;

@ -561,6 +561,7 @@ export default {
this.subFormVisible = false; this.subFormVisible = false;
}); });
this.resetForm(); this.resetForm();
}, },

Loading…
Cancel
Save