|
@@ -110,7 +110,7 @@ export default {
|
110
|
110
|
},
|
111
|
111
|
methods: {
|
112
|
112
|
handlePageChange() {
|
113
|
|
- this.getTableData()
|
|
113
|
+ this.dashDataDockingPage()
|
114
|
114
|
},
|
115
|
115
|
handleEdit(row) {
|
116
|
116
|
this.title = '修改配置'
|
|
@@ -140,9 +140,10 @@ export default {
|
140
|
140
|
})
|
141
|
141
|
},
|
142
|
142
|
dashDataDockingPage() {
|
143
|
|
- api.dashDataDockingPage().then(res => {
|
|
143
|
+ const {pageNum, pageSize} = this
|
|
144
|
+ api.dashDataDockingPage({current: pageNum, size: pageSize}).then(res => {
|
144
|
145
|
this.tableData = res.data.records
|
145
|
|
- console.log(res.data.records)
|
|
146
|
+ this.total = res.data.total
|
146
|
147
|
})
|
147
|
148
|
},
|
148
|
149
|
}
|