Administrator
2021-08-18 4f81015b693ba56b3c2112ae3dcbe98760f71fda
src/views/exam/startexam.vue
@@ -85,18 +85,22 @@
      });
    },
    //开始考试跳转
    startExam() {
    startExam () {
      var that = this;
      //去修改考试状态
      var data = {
        id: that.resData.applyId,
        examType: this.resData.examType,
      };
      updateApplyStatus(data).then(() => {});
      this.$router.push({
        path: `/startexam/${that.resData.id}`,
        query: that.resData,
      });
        id:that.resData.applyId,
        examType:this.resData.examType,
        examId:this.resData.id,
        userId:this.userInfo.user_id,
      }
      updateApplyStatus(data).then((res) => {
          that.resData['examScoreId'] = res.data.id;
          that.$router.push({
            path: `/startexam/${that.resData.id}`,
            query: that.resData
        })
      })
    },
    getUserInfoBYExam() {
      var that = this;