|
@@ -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)
|