|
@@ -297,6 +297,13 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+ if (this.$route.query.type === 'second') {
|
|
|
|
+ this.activeName = 'second'
|
|
|
|
+ this.tabsCurrent = this.listQuery.todayType = 1
|
|
|
|
+ } else {
|
|
|
|
+ this.activeName = 'first'
|
|
|
|
+ this.tabsCurrent = this.listQuery.todayType = 0
|
|
|
|
+ }
|
|
this.getHeigth()
|
|
this.getHeigth()
|
|
this.handleInfo()
|
|
this.handleInfo()
|
|
this.getList()
|
|
this.getList()
|
|
@@ -328,15 +335,11 @@ export default {
|
|
// 初始化
|
|
// 初始化
|
|
console.log('query', this.$route.query)
|
|
console.log('query', this.$route.query)
|
|
if (this.$route.query.type === 'second') {
|
|
if (this.$route.query.type === 'second') {
|
|
- this.activeName = 'second'
|
|
|
|
- this.tabsCurrent = this.listQuery.todayType = 1
|
|
|
|
this.listQuery.clubId = this.$route.query.clubId
|
|
this.listQuery.clubId = this.$route.query.clubId
|
|
this.listQuery.corporateName = this.$route.query.corporateName
|
|
this.listQuery.corporateName = this.$route.query.corporateName
|
|
this.time.push(this.$route.query.startTime)
|
|
this.time.push(this.$route.query.startTime)
|
|
this.time.push(this.$route.query.endTime)
|
|
this.time.push(this.$route.query.endTime)
|
|
} else {
|
|
} else {
|
|
- this.activeName = 'first'
|
|
|
|
- this.tabsCurrent = this.listQuery.todayType = 0
|
|
|
|
this.listQuery.clubId = this.$route.query.clubId
|
|
this.listQuery.clubId = this.$route.query.clubId
|
|
this.listQuery.corporateName = this.$route.query.corporateName
|
|
this.listQuery.corporateName = this.$route.query.corporateName
|
|
}
|
|
}
|