|
@@ -681,6 +681,7 @@
|
|
|
v-model.trim="studentForm.teacherId"
|
|
|
clearable
|
|
|
filterable
|
|
|
+ :disabled='!studentForm.organId'
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="(item, index) in maskTeacherList"
|
|
@@ -1347,6 +1348,10 @@ export default {
|
|
|
await getTeacher({ organId: val }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.maskTeacherList = res.data;
|
|
|
+ if(this.maskTeacherList<=0){
|
|
|
+ this.$bus.$emit("showguide", ['teacher']);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
queryByOrganId({ organId: val }).then((res) => {
|