|
@@ -111,7 +111,7 @@
|
|
>
|
|
>
|
|
<template slot-scope="scope" v-if="scope.row.lockFlag != 1">
|
|
<template slot-scope="scope" v-if="scope.row.lockFlag != 1">
|
|
<div>
|
|
<div>
|
|
- <el-button type="text" v-if="scope.row.preTotalClassTimes == 0"
|
|
|
|
|
|
+ <el-button type="text" v-if="scope.row.preTotalClassTimes == 0" @click="planCourse(scope.row)"
|
|
>预排课</el-button
|
|
>预排课</el-button
|
|
>
|
|
>
|
|
<el-button type="text" v-else>取消排课</el-button>
|
|
<el-button type="text" v-else>取消排课</el-button>
|
|
@@ -144,6 +144,20 @@
|
|
<el-button type="primary" @click="setStartTime">确 定</el-button>
|
|
<el-button type="primary" @click="setStartTime">确 定</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <!-- /**
|
|
|
|
+ :classType="classType" // 调整类型
|
|
|
|
+ :teacherList="teacherList"
|
|
|
|
+ :musicGroupId="teamid"
|
|
|
|
+ :activeType="activeType" // 班级类型
|
|
|
|
+ :courseTypeList="courseTypeList" // 班级可排课类型
|
|
|
|
+ :cooperationList="cooperationList" // 助教列表
|
|
|
|
+ :detail="infoDetail" // activeRow
|
|
|
|
+ :studentSubmitedData="studentSubmitedData" 班级的学生信息
|
|
|
|
+ @close="infoVisible = false" // 显示隐藏
|
|
|
|
+ @submited="getList" 刷新列表 */ -->
|
|
|
|
+ <el-dialog title="班级排课" width="1200px" :modal-append-to-body="false" :visible.sync="courseVisible">
|
|
|
|
+ <memberClassSetting />
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -153,8 +167,11 @@ import {
|
|
musicGroupSchoolTermCourseDetail,
|
|
musicGroupSchoolTermCourseDetail,
|
|
} from "@/api/buildTeam";
|
|
} from "@/api/buildTeam";
|
|
import { classTimeList, musicClassTypeList } from "@/utils/searchArray";
|
|
import { classTimeList, musicClassTypeList } from "@/utils/searchArray";
|
|
|
|
+import memberClassSetting from "./modals/member-class-setting.vue"
|
|
|
|
+import { getCourseType } from "@/utils/utils";
|
|
import dayjs from "dayjs";
|
|
import dayjs from "dayjs";
|
|
export default {
|
|
export default {
|
|
|
|
+ components:{memberClassSetting},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
musicClassTypeList,
|
|
musicClassTypeList,
|
|
@@ -173,6 +190,13 @@ export default {
|
|
},
|
|
},
|
|
lastDate: "",
|
|
lastDate: "",
|
|
musicGroupSchoolTermCourseDetailId: "",
|
|
musicGroupSchoolTermCourseDetailId: "",
|
|
|
|
+ courseVisible:false,
|
|
|
|
+ teacherList:[],
|
|
|
|
+ courseTypeList:[],
|
|
|
|
+ cooperationList:[],
|
|
|
|
+ activeType:'',
|
|
|
|
+ teamid:''
|
|
|
|
+
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -307,6 +331,15 @@ export default {
|
|
this.lastDate = JSON.parse(JSON.stringify(this.form.startCourseDate));
|
|
this.lastDate = JSON.parse(JSON.stringify(this.form.startCourseDate));
|
|
this.startVisible = true;
|
|
this.startVisible = true;
|
|
},
|
|
},
|
|
|
|
+ planCourse(row){
|
|
|
|
+
|
|
|
|
+ this.setType(row.type);
|
|
|
|
+ this.courseVisible = true;
|
|
|
|
+ },
|
|
|
|
+ setType(type) {
|
|
|
|
+ this.courseTypeList = getCourseType(type);
|
|
|
|
+ // this.activeSoundList = this.soundList;
|
|
|
|
+ },
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|