|
@@ -62,14 +62,14 @@ export default {
|
|
},
|
|
},
|
|
async submit() {
|
|
async submit() {
|
|
if (!this.selectedCourseIds.length) {
|
|
if (!this.selectedCourseIds.length) {
|
|
- this.$message.error("请选择科目");
|
|
|
|
|
|
+ this.$message.error("请选择课程");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
if (this.isSubmit) return;
|
|
if (this.isSubmit) return;
|
|
this.isSubmit = true;
|
|
this.isSubmit = true;
|
|
const data = await batchAddCourseSimple({
|
|
const data = await batchAddCourseSimple({
|
|
- courseCodeList: this.selectedCourseIds,
|
|
|
|
|
|
+ courseIds: this.selectedCourseIds,
|
|
examId: this.course.examId,
|
|
examId: this.course.examId,
|
|
}).catch(() => {});
|
|
}).catch(() => {});
|
|
this.isSubmit = false;
|
|
this.isSubmit = false;
|