|
@@ -59,10 +59,14 @@ export default defineComponent({
|
|
url: location.origin + '/accompany',
|
|
url: location.origin + '/accompany',
|
|
query: {
|
|
query: {
|
|
id: this.id,
|
|
id: this.id,
|
|
- recomUserId: this.$route.query.userType && this.$route.query.userType == 'STUDENT' ? '' : this.recomUserId,
|
|
|
|
|
|
+ recomUserId:
|
|
|
|
+ this.$route.query.userType &&
|
|
|
|
+ this.$route.query.userType == 'STUDENT'
|
|
|
|
+ ? ''
|
|
|
|
+ : this.recomUserId,
|
|
activityId: this.activityId,
|
|
activityId: this.activityId,
|
|
discounts: this.discounts,
|
|
discounts: this.discounts,
|
|
- client: browserInfo.isTeacher ? 'teacher' : 'student',
|
|
|
|
|
|
+ client: browserInfo.isStudent ? 'student' : 'teacher',
|
|
behaviorId
|
|
behaviorId
|
|
}
|
|
}
|
|
})
|
|
})
|