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