添加分页功能
parent
6a802fc163
commit
419c30bc45
|
@ -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 + '¤tPage=' + this.listQuery.page,
|
||||
'/dingWei/getMapList?showCount=' + this.listQuery.limit + '¤tPage=' + 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
|
||||
|
|
Loading…
Reference in New Issue