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