فهرست منبع

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

kevin_zhangl 3 سال پیش
والد
کامیت
9f3433dd7b
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  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,
       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)