|
@@ -33,7 +33,8 @@ export default {
|
|
|
type: options.type
|
|
|
})
|
|
|
this.visitsList = data
|
|
|
- this.accDateTime = data[0].accessDate
|
|
|
+ this.accDateTime = options.accDateTime
|
|
|
+ this.type = options.type || ''
|
|
|
console.log('options', options, 'visitsList', data)
|
|
|
},
|
|
|
onReachBottom() {
|
|
@@ -48,10 +49,10 @@ export default {
|
|
|
this.$api.navigateTo(
|
|
|
'/pages/seller/notice/service/visits_details?spId=' +
|
|
|
this.spId +
|
|
|
- '&clubId=' +
|
|
|
- $event.clubId +
|
|
|
+ '&clubId=' +
|
|
|
+ ($event.clubId || '') +
|
|
|
'&accessTime=' +
|
|
|
- $event.accessTime.substr(0, 10)
|
|
|
+ this.accDateTime + '&type=' + this.type
|
|
|
)
|
|
|
},
|
|
|
async getVisitesClubList() {
|