Commit 8fcfeb80 authored by xiexingan's avatar xiexingan

分页

parent 6876d186
......@@ -193,7 +193,7 @@ export default {
this.getDataListTb()
}
},
getDataList() {
getDataList(page, size) {
this.$http({
url: this.$http.adornUrl(`/kanban/getListByTypeAndId`),
method: 'get',
......@@ -201,8 +201,8 @@ export default {
resourceId: '',
resourceType: '9a570e608d0840499551eca89d76449d', //室外气象站
type: this.currentActive,
page: this.pageIndex,
rows: this.pageSize
page: page || this.pageIndex,
rows: size || this.pageSize
})
}).then((data) => {
if (data && data.code === 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment