|
@@ -422,7 +422,7 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="指导老师" v-else="isMultiple">
|
|
|
+ <el-form-item label="指导老师" v-else>
|
|
|
<el-select v-model.trim="teacherForm.teacher" filterable clearable>
|
|
|
<el-option
|
|
|
v-for="(item, index) in teacherList"
|
|
@@ -439,10 +439,10 @@
|
|
|
clearable
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="(item, index) in educationList"
|
|
|
+ v-for="(item, index) in selects.roles.educationId"
|
|
|
:key="index"
|
|
|
- :value="item.userId"
|
|
|
- :label="item.userName"
|
|
|
+ :value="item.value"
|
|
|
+ :label="item.label"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -656,7 +656,6 @@ import {
|
|
|
batchAddCourses,
|
|
|
getPracticeApplySubjects,
|
|
|
batchUpdateCourseSchedule,
|
|
|
- findEducationUsers,
|
|
|
updateTeacherAttendance,
|
|
|
updateCoursesExpireDate,
|
|
|
updateCoursesExpireDateOnlyNormal,
|
|
@@ -785,7 +784,6 @@ export default {
|
|
|
{ value: "7", label: "星期日" },
|
|
|
],
|
|
|
activeList: [],
|
|
|
- educationList: [],
|
|
|
timers: null,
|
|
|
markAttendance: {
|
|
|
// 考勤状态
|
|
@@ -810,7 +808,8 @@ export default {
|
|
|
created() {
|
|
|
that = this;
|
|
|
},
|
|
|
- mounted() {
|
|
|
+ async mounted() {
|
|
|
+ await this.$store.dispatch("setOrganRole");
|
|
|
this.init();
|
|
|
},
|
|
|
methods: {
|
|
@@ -824,12 +823,6 @@ export default {
|
|
|
this.$route.query.coursesStartDate +
|
|
|
"至" +
|
|
|
this.$route.query.coursesExpireDate;
|
|
|
- // 获取乐团主管
|
|
|
- findEducationUsers().then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.educationList = res.data;
|
|
|
- }
|
|
|
- });
|
|
|
|
|
|
// <!-- 状态 指导老师 活动方案-->
|
|
|
getTeacher({ organId: this.organId }).then((res) => {
|