|
@@ -150,7 +150,6 @@ const { mapActions: location } = createNamespacedHelpers('location'); //地点
|
|
|
const { mapActions: subject } = createNamespacedHelpers('subject'); //科目
|
|
|
const { mapActions: teacher } = createNamespacedHelpers('teacher'); //教师
|
|
|
const { mapActions: teaPlan } = createNamespacedHelpers('teaPlan'); //教师申请
|
|
|
-const { mapActions: director } = createNamespacedHelpers('director'); //教师 //TODO 接口合并,可能不需要了
|
|
|
const { mapActions: dept } = createNamespacedHelpers('dept'); //配合教师表使用的部门表
|
|
|
const { mapActions: dirPlan } = createNamespacedHelpers('dirPlan'); //班主任不能上课的列表
|
|
|
|
|
@@ -329,6 +328,8 @@ export default {
|
|
|
if (this.$checkRes(res)) this.$set(this, `locationList`, res.data);
|
|
|
res = await this.getSubjectList();
|
|
|
if (this.$checkRes(res)) this.$set(this, `subjectList`, res.data);
|
|
|
+ //TODO 班主任表中的人员也可以成为礼仪老师,现在应该没有
|
|
|
+ // TODO派生:涉及之后回显问题,是要将这个人在教师/班主任表中都查然后获得到
|
|
|
res = await this.getTeacherList({ islyteacher: '1' });
|
|
|
if (this.$checkRes(res)) this.$set(this, `lyTeacherList`, res.data);
|
|
|
res = await this.getDeptList();
|