添加分页功能

20240528Test
liujun 2024-04-13 12:33:30 +08:00
parent 6a802fc163
commit 419c30bc45
1 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,7 @@ export default {
}, },
created() { created() {
this.getDict() this.getDict()
this.getList() // this.getList()
this.hasButton() this.hasButton()
}, },
methods: { methods: {
@ -116,7 +116,7 @@ export default {
getList() { getList() {
this.listLoading = true this.listLoading = true
requestFN( requestFN(
'/dw/getMapList?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page, '/dingWei/getMapList?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page,
{ {
KEYWORDS: this.KEYWORDS, KEYWORDS: this.KEYWORDS,
STATUS: '1', STATUS: '1',
@ -182,7 +182,7 @@ export default {
}) })
}, },
getDict: function() { getDict: function() {
requestFN('dw/getDictionary').then((data) => { requestFN('dingWei/getDictionary').then((data) => {
this.wenhuachengduList = data.list this.wenhuachengduList = data.list
}).catch((e) => { }).catch((e) => {
this.listLoading = false this.listLoading = false