|
@@ -41,14 +41,14 @@ export default defineComponent({
|
|
|
orchestraInfo: {} as any,
|
|
|
hasBuyInstruments: false, // 是否购买商品
|
|
|
// 是否开启微信登录(测试使用)默认为false
|
|
|
- testIsWeixin: false,
|
|
|
- noPaymentList: [
|
|
|
- '1656572729093021697',
|
|
|
- '1656488025144713217',
|
|
|
- '1661221287237820418',
|
|
|
- '1661222465069686785',
|
|
|
- '1714545500178460674'
|
|
|
- ]
|
|
|
+ testIsWeixin: false
|
|
|
+ // noPaymentList: [
|
|
|
+ // '1656572729093021697',
|
|
|
+ // '1656488025144713217',
|
|
|
+ // '1661221287237820418',
|
|
|
+ // '1661222465069686785',
|
|
|
+ // '1714545500178460674'
|
|
|
+ // ]
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -70,12 +70,12 @@ export default defineComponent({
|
|
|
this.showPopup = true
|
|
|
}
|
|
|
|
|
|
- if (this.$route.query.id && this.noPaymentList.indexOf(this.$route.query.id as string) != -1) {
|
|
|
- console.log('提示乐团报名失败')
|
|
|
- // 提示乐团报名失败
|
|
|
- this.showPopupMessage = '乐团报名时间已过,请等待通知'
|
|
|
- this.showPopup = true
|
|
|
- }
|
|
|
+ // if (this.$route.query.id && this.noPaymentList.indexOf(this.$route.query.id as string) != -1) {
|
|
|
+ // // console.log('提示乐团报名失败')
|
|
|
+ // // 提示乐团报名失败
|
|
|
+ // this.showPopupMessage = '乐团报名时间已过,请等待通知'
|
|
|
+ // this.showPopup = true
|
|
|
+ // }
|
|
|
|
|
|
this.getDetails()
|
|
|
|
|
@@ -94,6 +94,9 @@ export default defineComponent({
|
|
|
if (!data.canSignUp) {
|
|
|
this.showPopup = true
|
|
|
this.showPopupMessage = '学校已关闭'
|
|
|
+ } else if (!data.registerOpen) {
|
|
|
+ this.showPopup = true
|
|
|
+ this.showPopupMessage = '该乐团已截止报名'
|
|
|
}
|
|
|
} catch {
|
|
|
//
|
|
@@ -152,7 +155,7 @@ export default defineComponent({
|
|
|
},
|
|
|
locationReplace(url: any) {
|
|
|
// 只允许同域名
|
|
|
- console.log(history.replaceState, 'window.history.replaceState', url)
|
|
|
+ // console.log(history.replaceState, 'window.history.replaceState', url)
|
|
|
if (history.replaceState) {
|
|
|
history.replaceState(null, document.title, url)
|
|
|
history.go(0)
|