xiebaomin 1 năm trước cách đây
mục cha
commit
59d2247452
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      pages/seller/notice/service/Institutional_visits.vue

+ 4 - 3
pages/seller/notice/service/Institutional_visits.vue

@@ -31,7 +31,7 @@ export default {
         const { data } = await this.SellerService.getVisitesClubList({
             spId: options.spId,
             accDateTime: options.accDateTime,
-            type: options.type
+            type: options.type || ''
         })
         this.visitsList = data
         this.accDateTime = options.accDateTime
@@ -60,8 +60,9 @@ export default {
         },
 		async getVisitesClubList() {
 			const { data } = await this.SellerService.getVisitesClubList({
-			    spId: options.spId,
-			    accDateTime: options.accDateTime
+			    spId: this.spId,
+			    accDateTime: this.accDateTime,
+                type: this.type
 			})
 			this.visitsList = data
 			console.log('visitsList', this.visitsList)