pageIndex

This commit is contained in:
lmj
2022-06-02 17:23:46 +08:00
parent 90ce3fa8f3
commit 71ac7e62cf
16 changed files with 87 additions and 15 deletions

View File

@@ -33,7 +33,7 @@
</el-col>
<el-col :span="8" >
<div class="grid-content bg-purple" >
<el-button type="primary" style="margin-left: 0px" @click="getSearch()" icon="el-icon-search">搜索</el-button>
<el-button type="primary" style="margin-left: 0px" @click="search()" icon="el-icon-search">搜索</el-button>
<el-button @click="reset()" style="margin-left: 20pxpx" type="primary" icon="el-icon-refresh-right">重置</el-button>
</div>
@@ -356,6 +356,11 @@ export default {
});
},
methods: {
search(){
this.params.pageIndex = 1;
this.getSearch();
},
reset() {
this.params.self = null;
this.params.name = '';
@@ -365,6 +370,7 @@ export default {
this.params.resOwner1 = '';
this.params.resOwner2 = '';
this.params.resOwner3 = '';
this.params.pageIndex = 1;
this.getSearch();
},
...mapActions({