status
This commit is contained in:
@@ -128,7 +128,7 @@ export default {
|
|||||||
this.$instance.post(`/app/appwechatuserqujing/idNumberAttestation`, this.form).then(res=> {
|
this.$instance.post(`/app/appwechatuserqujing/idNumberAttestation`, this.form).then(res=> {
|
||||||
if(res?.code == 0) {
|
if(res?.code == 0) {
|
||||||
this.flag = false
|
this.flag = false
|
||||||
this.$u.toast('认证成功')
|
this.$u.toast("提交成功");
|
||||||
setTimeout(()=> {
|
setTimeout(()=> {
|
||||||
this.showAuth = false
|
this.showAuth = false
|
||||||
this.$emit('toTest',id)
|
this.$emit('toTest',id)
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ export default {
|
|||||||
subjectConfigs: [],
|
subjectConfigs: [],
|
||||||
score: 0,
|
score: 0,
|
||||||
assessments: [], // 不合格的分数段
|
assessments: [], // 不合格的分数段
|
||||||
status: null, // 考试结果,0:未通过、1:通过
|
status: 1, // 考试结果,0:未通过、1:通过
|
||||||
startTime: '',
|
startTime: '',
|
||||||
nowTime: '', // 时间戳
|
nowTime: '', // 时间戳
|
||||||
studyDuration: 0,
|
studyDuration: 0,
|
||||||
@@ -189,7 +189,7 @@ export default {
|
|||||||
}).then(res=> {
|
}).then(res=> {
|
||||||
if(res?.code == 0) {
|
if(res?.code == 0) {
|
||||||
this.flag = false
|
this.flag = false
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('认证成功')
|
||||||
setTimeout(()=> {
|
setTimeout(()=> {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `./result?status=${this.status}&time=${this.studyDuration}&rightCount=${this.rightCount}&examCount=${this.list.length}&score=${this.score}`
|
url: `./result?status=${this.status}&time=${this.studyDuration}&rightCount=${this.rightCount}&examCount=${this.list.length}&score=${this.score}`
|
||||||
|
|||||||
Reference in New Issue
Block a user