|
@@ -36,7 +36,7 @@ export default defineComponent({
|
|
|
// /teacher-server/activity/receiveRewardList 老师端查看未领奖列表接口
|
|
|
// /teacher-server/activity/receiveReward/{receiveRewardId} 学生端领奖接口
|
|
|
async mounted() {
|
|
|
- this.getUserRegisterProtocol()
|
|
|
+ // this.getUserRegisterProtocol()
|
|
|
this.getList()
|
|
|
},
|
|
|
methods: {
|
|
@@ -58,13 +58,13 @@ export default defineComponent({
|
|
|
},
|
|
|
async onGetAward() {
|
|
|
try {
|
|
|
- const users = state.user.data
|
|
|
+ // const users = state.user.data
|
|
|
// 判断是否需要实名认证, 姓名,卡号,是否签协议
|
|
|
- if (!users?.realName || !users?.idCardNo || !this.exists) {
|
|
|
- this.status = true
|
|
|
- this.type = 'auth'
|
|
|
- return
|
|
|
- }
|
|
|
+ // if (!users?.realName || !users?.idCardNo || !this.exists) {
|
|
|
+ // this.status = true
|
|
|
+ // this.type = 'auth'
|
|
|
+ // return
|
|
|
+ // }
|
|
|
await request.post(
|
|
|
`${state.platformApi}/activity/receiveReward/${this.receiveRewardId}`
|
|
|
)
|