|
@@ -61,6 +61,10 @@ export default {
|
|
|
list: null,
|
|
list: null,
|
|
|
total: 0,
|
|
total: 0,
|
|
|
listLoading: true,
|
|
listLoading: true,
|
|
|
|
|
+ listQuery: {
|
|
|
|
|
+ page: 1,
|
|
|
|
|
+ pageSize: 20
|
|
|
|
|
+ },
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -70,7 +74,7 @@ export default {
|
|
|
methods: {
|
|
methods: {
|
|
|
getList() {
|
|
getList() {
|
|
|
this.listLoading = true
|
|
this.listLoading = true
|
|
|
- fetchBrandAmbassadorList({}).then(response => {
|
|
|
|
|
|
|
+ fetchBrandAmbassadorList(this.listQuery).then(response => {
|
|
|
this.list = response.data.list
|
|
this.list = response.data.list
|
|
|
this.total = parseInt(response.data.totalCount)
|
|
this.total = parseInt(response.data.totalCount)
|
|
|
|
|
|