|
|
|
@ -224,6 +224,28 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
currentChange(currentPage) { |
|
|
|
|
|
|
|
this.page.currentPage = currentPage; |
|
|
|
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
sizeChange(pageSize) { |
|
|
|
|
|
|
|
this.page.pageSize = pageSize; |
|
|
|
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
refreshChange() { |
|
|
|
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
searchReset() { |
|
|
|
|
|
|
|
this.query = {}; |
|
|
|
|
|
|
|
this.treeDeptId = ''; |
|
|
|
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
searchChange(params, done) { |
|
|
|
|
|
|
|
this.query = params; |
|
|
|
|
|
|
|
this.page.currentPage = 1; |
|
|
|
|
|
|
|
this.onLoad(this.page, params); |
|
|
|
|
|
|
|
done(); |
|
|
|
|
|
|
|
}, |
|
|
|
// 页面切换获取数据 |
|
|
|
// 页面切换获取数据 |
|
|
|
onLoad(page, params = {}) { |
|
|
|
onLoad(page, params = {}) { |
|
|
|
this.loading = true; |
|
|
|
this.loading = true; |
|
|
|
|