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

@@ -21,7 +21,7 @@
<el-input placeholder="关键词" v-model="params.keyWord" clearable></el-input>
</div>
<div style="padding: 0px 5px">
<el-button @click="loadData()" icon="el-icon-search" type="primary" >搜索</el-button>
<el-button @click="search()" icon="el-icon-search" type="primary" >搜索</el-button>
</div>
<div style="padding: 0px 5px;"><el-button icon="el-icon-refresh-right" type="primary" @click="reset">重置</el-button></div>
<div style="margin-left:5px">
@@ -836,10 +836,16 @@ export default {
ele.select();
document.execCommand("Copy");
},
search(){
this.params.pageIndex = 1;
this.loadData();
},
reset(){
this.params.keyWord = ''
this.params.published = ''
this.ownership = ''
this.params.pageIndex = 1;
this.loadData();
},