xiebaomin 1 年之前
父节点
当前提交
59d2247452
共有 1 个文件被更改,包括 4 次插入3 次删除
  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)