Commit 8fcfeb80 authored by xiexingan's avatar xiexingan

分页

parent 6876d186
...@@ -193,7 +193,7 @@ export default { ...@@ -193,7 +193,7 @@ export default {
this.getDataListTb() this.getDataListTb()
} }
}, },
getDataList() { getDataList(page, size) {
this.$http({ this.$http({
url: this.$http.adornUrl(`/kanban/getListByTypeAndId`), url: this.$http.adornUrl(`/kanban/getListByTypeAndId`),
method: 'get', method: 'get',
...@@ -201,8 +201,8 @@ export default { ...@@ -201,8 +201,8 @@ export default {
resourceId: '', resourceId: '',
resourceType: '9a570e608d0840499551eca89d76449d', //室外气象站 resourceType: '9a570e608d0840499551eca89d76449d', //室外气象站
type: this.currentActive, type: this.currentActive,
page: this.pageIndex, page: page || this.pageIndex,
rows: this.pageSize rows: size || this.pageSize
}) })
}).then((data) => { }).then((data) => {
if (data && data.code === 0) { 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