mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
pageIndex
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user