liuyg
2021-08-18 272c6479425767aaaeb53c3bf29a85979abbb5cf
src/views/exam/startexam.vue
@@ -85,22 +85,22 @@
      });
    },
    //开始考试跳转
    startExam () {
    startExam() {
      var that = this;
      //去修改考试状态
      var data = {
        id:that.resData.applyId,
        examType:this.resData.examType,
        examId:this.resData.id,
        userId:this.userInfo.user_id,
      }
        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
        })
      })
        that.resData["examScoreId"] = res.data.id;
        that.$router.push({
          path: `/startexam/${that.resData.id}`,
          query: that.resData,
        });
      });
    },
    getUserInfoBYExam() {
      var that = this;
@@ -109,7 +109,7 @@
          that.resData = res.data.data[0];
          var data = res.data.data[0];
          // debugger;
          console.log(data, 254424);
          // console.log(data, 254424);
          if (res.data.data.length > 0) {
            that.pageDisable = true;
            if (data.sex == 1) {
@@ -150,6 +150,7 @@
                ],
              },
            ];
            that.$store.commit("SetexamUserData", that.option.data[0]);
          }
        },
@@ -167,9 +168,9 @@
  // width: 100%;
  // height: 100%;
  // border: 1px solid red;
  width: 80%;
  height: 90%;
  margin: 2.5% 10%;
  width: calc(100% - 100px);
  height: 89%;
  margin: 2.5% 50px;
  background-color: rgba($color: #fff, $alpha: 1);
  display: flex;
  align-items: center;
@@ -188,7 +189,7 @@
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 5px 12px 15px -3px rgba($color: #797979, $alpha: 0.2);
    box-shadow: 0px 0px 5px 3px rgba($color: #797979, $alpha: 0.2);
    .s_m_img {
      width: 50%;
      height: 100%;