@@ -32,7 +32,7 @@
<el-form-item>
- <el-button @click="getArticalList" type="primary">搜索</el-button>
+ <el-button @click="handleSearch" type="primary">搜索</el-button>
</el-form-item>
</el-form>
</div>
@@ -170,6 +170,10 @@ export default {
isLeader( departmentId ){
return data.getLeader(departmentId, this.userDepartments)>1;
},
+ handleSearch(){
+ this.page = 1
+ this.getArticalList()
+ },
handleSizeChange(size){
this.page =1
this.pageSize = size