| | |
| | | export default { |
| | | components: {}, |
| | | data() { |
| | | return {} |
| | | return { |
| | | noTaskTip: '' |
| | | } |
| | | }, |
| | | computed: { |
| | | appId() { |
| | |
| | | async created() { |
| | | const canVerify = await this.getCanVerify() |
| | | if (!canVerify) { |
| | | this.$router.replace('/h5/noVerAccess') |
| | | this.$router.replace({ path: '/h5/noTask', query: { tip: this.noTaskTip }}) |
| | | return |
| | | } |
| | | const getCheckIsSubmit = await this.getCheckIsSubmit() |
| | |
| | | } |
| | | this.$axios.get('/exam/verify-record/can-verify', { params }).then(res => { |
| | | if (res.data.code == 0) { |
| | | if (!res.data.data) { |
| | | this.noTaskTip = '您非此考点核验人员,无法签到,请联系工作人员确认。' |
| | | } |
| | | resolve(res.data.data) |
| | | } else { |
| | | resolve(false) |
| | | this.noTaskTip = res.data.msg |
| | | } |
| | | }, () => { |
| | | resolve(false) |