|
|
@@ -833,7 +833,7 @@
|
|
|
</div>
|
|
|
<GradeClassSelector
|
|
|
v-model="checkboxList2"
|
|
|
- :grade-options="gradeOptions"
|
|
|
+ :grade-options="gradeOptions2"
|
|
|
:class-options="classOptions"
|
|
|
:lang="lang"
|
|
|
@gradeChange="onGradeChange"
|
|
|
@@ -1186,6 +1186,7 @@ export default {
|
|
|
selectedGrade: [],
|
|
|
subjectOptions: [],
|
|
|
gradeOptions: [],
|
|
|
+ gradeOptions2: [],
|
|
|
avatar_loading: false,
|
|
|
isAddOrUpdateLineLoading: false,
|
|
|
};
|
|
|
@@ -1352,7 +1353,7 @@ export default {
|
|
|
}));
|
|
|
|
|
|
// 初始化年级选项,添加全部班级选项
|
|
|
- this.gradeOptions = [
|
|
|
+ this.gradeOptions2 = [
|
|
|
{ id: '', name: this.lang.allGrades }
|
|
|
].concat(this.gradeArray.map(item => ({
|
|
|
id: item.id,
|
|
|
@@ -1634,7 +1635,8 @@ export default {
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "copyCourse2", params)
|
|
|
.then((res) => {
|
|
|
- this.$message.success(this.lang.Successfullycopy)
|
|
|
+ // this.$message.success(this.lang.Successfullycopy)
|
|
|
+ // this.showToast(this.lang.Successfullycopy);
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
console.error(err);
|