mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-18 15:26:45 +08:00
pageIndex
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</el-select>
|
||||
</div>
|
||||
<div style="padding: 0px 5px;"><el-input placeholder="关键词" v-model="params.keyWord" clearable></el-input></div>
|
||||
<div style="padding: 0px 5px;"><el-button icon="el-icon-search" @click="searchData" type="primary" >搜索</el-button></div>
|
||||
<div style="padding: 0px 5px;"><el-button icon="el-icon-search" @click="getsearch" 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="padding-left:5px;"><el-button icon="el-icon-plus" type="primary" @click="addPaper()" >新建试卷</el-button></div>
|
||||
</div>
|
||||
@@ -427,10 +427,15 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
getsearch(){
|
||||
this.params.pageIndex = 1;
|
||||
this.searchData();
|
||||
},
|
||||
reset(){
|
||||
this.ownership = []
|
||||
this.params.paperType = ''
|
||||
this.params.keyWord = ''
|
||||
this.params.pageIndex = 1;
|
||||
this.searchData();
|
||||
},
|
||||
...mapActions({
|
||||
|
||||
Reference in New Issue
Block a user