mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
pageIndex
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
</el-select>
|
||||
</div>
|
||||
<div style="padding: 0px 10px;"><el-input placeholder="请输入标题" v-model="queryObj.keyword" clearable></el-input></div>
|
||||
<el-button icon="el-icon-search" @click="getQaList" type="primary" >搜索</el-button>
|
||||
<el-button icon="el-icon-search" @click="search" type="primary" >搜索</el-button>
|
||||
<el-button icon="el-icon-refresh-right" type="primary" @click="reset">重置</el-button>
|
||||
</div>
|
||||
<div style="display: flex;justify-content:flex-start;align-items: center;margin-top:10px">
|
||||
@@ -163,13 +163,17 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
search(){
|
||||
this.queryObj.pageIndex = 1;
|
||||
this.getQaList();
|
||||
},
|
||||
reset(){
|
||||
this.queryObj.orderField = ''
|
||||
this.queryObj.status = ''
|
||||
this.queryObj.isResolve = ''
|
||||
this.queryObj.keyword = ''
|
||||
this.queryObj.isEssence = ''
|
||||
this.queryObj.pageIndex = 1;
|
||||
this.getQaList();
|
||||
},
|
||||
//查询问答列表数据
|
||||
|
||||
Reference in New Issue
Block a user