| | |
| | | }); |
| | | }, |
| | | //开始考试跳转 |
| | | 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; |
| | |
| | | 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) { |
| | |
| | | ], |
| | | }, |
| | | ]; |
| | | that.$store.commit("SetexamUserData", that.option.data[0]); |
| | | } |
| | | }, |
| | | |
| | |
| | | // 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; |
| | |
| | | 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%; |