|
@@ -1,4 +1,4 @@
|
|
|
-import { defineComponent, onMounted, onUnmounted, reactive } from 'vue'
|
|
|
+import { defineComponent, onMounted, onUnmounted, reactive, ref } from 'vue'
|
|
|
import styles from './index.module.less'
|
|
|
import signinTips from './images/signin-tips.png'
|
|
|
import { Button, CellGroup, Field, Picker, Popup, closeToast, showToast } from 'vant'
|
|
@@ -52,6 +52,18 @@ export default defineComponent({
|
|
|
parentConferencesAgenda: ''
|
|
|
})
|
|
|
|
|
|
+ const showPopup = ref(false)
|
|
|
+ const showPopupMessage = ref('')
|
|
|
+ const noPaymentList = [
|
|
|
+ '1715022312206573570',
|
|
|
+ '1715045889000656897',
|
|
|
+ '1715030463675944961',
|
|
|
+ '1715034224138985474',
|
|
|
+ '1715036209671098370',
|
|
|
+ '1715042256419889153',
|
|
|
+ '1715013540700561409'
|
|
|
+ ]
|
|
|
+
|
|
|
const message = (value: string) => {
|
|
|
if (!value) {
|
|
|
return '请填写学生真实姓名'
|
|
@@ -189,6 +201,14 @@ export default defineComponent({
|
|
|
forms.applyStatus = true
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+ if (forms.orchestraId && noPaymentList.indexOf(forms.orchestraId as string) != -1) {
|
|
|
+ // 提示乐团报名失败
|
|
|
+ showPopupMessage.value = '二维码已过期'
|
|
|
+ showPopup.value = true
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
const recordAdd = await request.post('/api-student/open/studentBrowseRecord/add', {
|
|
|
data: {
|
|
|
orchestraId: forms.orchestraId,
|
|
@@ -373,6 +393,19 @@ export default defineComponent({
|
|
|
}}
|
|
|
/>
|
|
|
</Popup>
|
|
|
+
|
|
|
+ <Popup
|
|
|
+ v-model:show={showPopup.value}
|
|
|
+ round
|
|
|
+ style={{ width: '88%' }}
|
|
|
+ closeOnClickOverlay={false}
|
|
|
+ class={styles.wxPopupDialog}
|
|
|
+ >
|
|
|
+ <div class={styles.popupContainer}>
|
|
|
+ <p class={styles.title}>温馨提示</p>
|
|
|
+ <p class={styles.popupTips} v-html={showPopupMessage.value}></p>
|
|
|
+ </div>
|
|
|
+ </Popup>
|
|
|
</div>
|
|
|
)
|
|
|
}
|