|
@@ -184,9 +184,10 @@ export default {
|
|
|
localStorage.setItem("Authorization", decodeURI(params.Authorization));
|
|
|
localStorage.setItem("userInfo", decodeURI(params.Authorization));
|
|
|
}
|
|
|
- this.courseId = this.$route.query.id;
|
|
|
- this.reviewId = parseInt(this.$route.query.reviewId);
|
|
|
- this.isInside = this.$route.query.isInside;
|
|
|
+ console.log(params)
|
|
|
+ this.courseId = params.id;
|
|
|
+ this.reviewId = parseInt(params.reviewId);
|
|
|
+ this.isInside = params.isInside;
|
|
|
if (!this.courseId) {
|
|
|
this.$toast("课程信息错误");
|
|
|
}
|
|
@@ -272,7 +273,7 @@ export default {
|
|
|
this.musicTheory = courseEvaluationObj.musicTheory
|
|
|
this.memo = courseEvaluationObj.memo
|
|
|
this.hasLiaison = courseEvaluationObj.hasLiaison
|
|
|
- this.courseId = courseEvaluationObj.courseId
|
|
|
+ this.courseId = courseEvaluationObj.courseScheduleId
|
|
|
}
|
|
|
}
|
|
|
this.$toast.clear();
|