Browse Source

修改BA会员列表支持分页查询

kevin_zhangl 3 năm trước cách đây
mục cha
commit
9f3433dd7b
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/views/atlas/brand-ambassador-list.vue

+ 5 - 1
src/views/atlas/brand-ambassador-list.vue

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