From 797ff30800ce81509a65f15643f956853e6a18a7 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 16 Feb 2023 09:28:53 +0800 Subject: [PATCH] status --- .../qujing/AppLegalLearning/components/GeneralLawExam.vue | 2 +- src/project/qujing/AppLegalLearning/testForm.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue index 3e18ead..964cc2e 100644 --- a/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue +++ b/src/project/qujing/AppLegalLearning/components/GeneralLawExam.vue @@ -128,7 +128,7 @@ export default { this.$instance.post(`/app/appwechatuserqujing/idNumberAttestation`, this.form).then(res=> { if(res?.code == 0) { this.flag = false - this.$u.toast('认证成功') + this.$u.toast("提交成功"); setTimeout(()=> { this.showAuth = false this.$emit('toTest',id) diff --git a/src/project/qujing/AppLegalLearning/testForm.vue b/src/project/qujing/AppLegalLearning/testForm.vue index 534aad0..7a90c28 100644 --- a/src/project/qujing/AppLegalLearning/testForm.vue +++ b/src/project/qujing/AppLegalLearning/testForm.vue @@ -75,7 +75,7 @@ export default { subjectConfigs: [], score: 0, assessments: [], // 不合格的分数段 - status: null, // 考试结果,0:未通过、1:通过 + status: 1, // 考试结果,0:未通过、1:通过 startTime: '', nowTime: '', // 时间戳 studyDuration: 0, @@ -189,7 +189,7 @@ export default { }).then(res=> { if(res?.code == 0) { this.flag = false - this.$u.toast('提交成功') + this.$u.toast('认证成功') setTimeout(()=> { uni.navigateTo({ url: `./result?status=${this.status}&time=${this.studyDuration}&rightCount=${this.rightCount}&examCount=${this.list.length}&score=${this.score}`