|
@@ -133,9 +133,9 @@ export default {
|
|
|
if(this.isReview && this.reviewId && this.reviewId > 0) {
|
|
|
const res = await getReviewInfo({ id: this.reviewId });
|
|
|
const result = res.data
|
|
|
- tempMemo = result.courseScheduleReview.memo || '该课程未设置教学内容'
|
|
|
+ tempMemo = result.courseScheduleReview.memo
|
|
|
}
|
|
|
- this.memo = tempMemo
|
|
|
+ this.memo = tempMemo || '该课程未设置教学内容'
|
|
|
// else {
|
|
|
// const res = await getCourseInfoHead({
|
|
|
// courseId: this.id
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
const studyList = await studyStandardList({ courseScheduleId: this.id, page: 1, rows: 200 })
|
|
|
const resultStudy = studyList.data
|
|
|
this.studentList = resultStudy.rows || []
|
|
|
- if(!this.reviewId || this.reviewId <= 0) {
|
|
|
+ if(!this.isReview) {
|
|
|
this.studentList.forEach(item => {
|
|
|
item.qualifiedFlag = 1
|
|
|
})
|
|
@@ -187,7 +187,6 @@ export default {
|
|
|
courseScheduleId: this.id,
|
|
|
studentStandardDtos: params
|
|
|
};
|
|
|
- console.log(obj)
|
|
|
await courseReviewAdd(obj)
|
|
|
this.$toast("提交成功");
|
|
|
setTimeout(() => {
|