Explorar el Código

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

kevin_zhangl hace 3 años
padre
commit
9f3433dd7b
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  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)