status
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
@@ -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}`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user