From 63fea2990e587837ed3dde2b9ac8f2b4ef729672 Mon Sep 17 00:00:00 2001
From: yearning <10538594+wangweifeng1999@user.noreply.gitee.com>
Date: 星期四, 28 五月 2026 10:02:01 +0800
Subject: [PATCH] 考点核验+签到

---
 src/views/h5/addrVerify/index.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/views/h5/addrVerify/index.vue b/src/views/h5/addrVerify/index.vue
index 6c4bc70..4a46ea0 100644
--- a/src/views/h5/addrVerify/index.vue
+++ b/src/views/h5/addrVerify/index.vue
@@ -5,7 +5,9 @@
 export default {
   components: {},
   data() {
-    return {}
+    return {
+      noTaskTip: ''
+    }
   },
   computed: {
     appId() {
@@ -15,7 +17,7 @@
   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()
@@ -36,9 +38,13 @@
         }
         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)

--
Gitblit v1.8.0