|
@@ -165,7 +165,7 @@
|
|
|
:activeListStudent="activeListStudent"
|
|
|
activeType="HIGH_ONLINE"
|
|
|
/>
|
|
|
- <tranPlanCourse ref='tranPlanCourse' :form="form"/>
|
|
|
+ <tranPlanCourse ref="tranPlanCourse" :teacherList="teacherList" :form="form" />
|
|
|
</div>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="transClassVisible = false">取 消</el-button>
|
|
@@ -178,24 +178,29 @@
|
|
|
import { getCourseScheduleConvert } from "../../api";
|
|
|
import { findSound, getTeacher } from "@/api/buildTeam";
|
|
|
import transStudent from "./transStudent";
|
|
|
-import tranPlanCourse from './tranPlanCourse.vue'
|
|
|
+import tranPlanCourse from "./tranPlanCourse.vue";
|
|
|
export default {
|
|
|
props: {
|
|
|
students: {
|
|
|
type: Array,
|
|
|
default: [],
|
|
|
},
|
|
|
- },
|
|
|
- provide(){
|
|
|
- return {
|
|
|
- form:this.form
|
|
|
- }
|
|
|
+ courseConvertSum: {
|
|
|
+ type: Object,
|
|
|
+ default: {
|
|
|
+ courseMinute: 0,
|
|
|
+ courseNum: 0,
|
|
|
+ courseType: "",
|
|
|
+ studentNum: 0,
|
|
|
+ },
|
|
|
+ },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
transClassVisible: false,
|
|
|
getStudentList: [],
|
|
|
form: {
|
|
|
+ courseConvertSum:this.courseConvertSum,
|
|
|
classList: [
|
|
|
{
|
|
|
expectStudentNum: 6,
|
|
@@ -205,7 +210,8 @@ export default {
|
|
|
studentList: [],
|
|
|
coreTeacher: "",
|
|
|
type: "HIGH_ONLINE",
|
|
|
- courseScheduleList:[]
|
|
|
+ courseScheduleList: [],
|
|
|
+ cycle: [],
|
|
|
},
|
|
|
],
|
|
|
},
|
|
@@ -221,7 +227,7 @@ export default {
|
|
|
},
|
|
|
components: {
|
|
|
transStudent,
|
|
|
- tranPlanCourse
|
|
|
+ tranPlanCourse,
|
|
|
},
|
|
|
mounted() {
|
|
|
this.init();
|
|
@@ -234,7 +240,7 @@ export default {
|
|
|
getList() {},
|
|
|
gotoNext() {
|
|
|
this.$refs.form.validate((flag) => {
|
|
|
- this.$refs.tranPlanCourse.openDialog()
|
|
|
+ this.$refs.tranPlanCourse.openDialog();
|
|
|
});
|
|
|
},
|
|
|
remove(index) {
|
|
@@ -267,7 +273,7 @@ export default {
|
|
|
studentList: [],
|
|
|
coreTeacher: "",
|
|
|
type: "HIGH_ONLINE",
|
|
|
- courseScheduleList:[]
|
|
|
+ courseScheduleList: [],
|
|
|
});
|
|
|
},
|
|
|
setStudent(student) {
|
|
@@ -305,11 +311,10 @@ export default {
|
|
|
chioseIdList.push(stu);
|
|
|
});
|
|
|
});
|
|
|
- console.log(chioseIdList)
|
|
|
+ console.log(chioseIdList);
|
|
|
let arr = this.students.filter((item) => {
|
|
|
- console.log(chioseIdList.indexOf(item.userId) != -1)
|
|
|
+ console.log(chioseIdList.indexOf(item.userId) != -1);
|
|
|
return chioseIdList.indexOf(item.userId) == -1;
|
|
|
-
|
|
|
});
|
|
|
return arr;
|
|
|
},
|