|
@@ -343,7 +343,14 @@ export default defineComponent({
|
|
|
initVideoCount(videoIntervalRef.isActive.value)
|
|
|
|
|
|
await updateStat()
|
|
|
- if (forms.orchestraRegisterType === 'PARENT_TEACHER_REGISTRATION') {
|
|
|
+
|
|
|
+ console.log(forms.orchestraRegisterType)
|
|
|
+ if (forms.orchestraRegisterType === 'PARENT_CONFERENCES') {
|
|
|
+ window.location.href =
|
|
|
+ window.location.origin +
|
|
|
+ window.location.pathname +
|
|
|
+ `/#/preApply?id=${forms.orchestraId}`
|
|
|
+ } else {
|
|
|
window.location.href =
|
|
|
window.location.origin +
|
|
|
window.location.pathname +
|
|
@@ -352,11 +359,6 @@ export default defineComponent({
|
|
|
orchestraId: forms.orchestraId,
|
|
|
openId: forms.openId
|
|
|
})
|
|
|
- } else {
|
|
|
- window.location.href =
|
|
|
- window.location.origin +
|
|
|
- window.location.pathname +
|
|
|
- `/#/preApply?id=${forms.orchestraId}`
|
|
|
}
|
|
|
} catch (e) {
|
|
|
console.log(e, 'e')
|