添加分页功能

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