|
@@ -293,7 +293,7 @@
|
|
|
<script>
|
|
|
import pagination from '@/components/Pagination/index'
|
|
|
import { queryEmployByOrganId, employeeOperate, getUserRole, employeeAdd, employeeUpdate, hasCourseGroupRelation, updateEducationTeacherId } from '@/api/systemManage'
|
|
|
-import { branchQueryPage } from '@/api/specialSetting'
|
|
|
+import { branchQueryPage, findEducationTeacher } from '@/api/specialSetting'
|
|
|
import { findEducationUsers } from '@/api/buildTeam'
|
|
|
import store from '@/store'
|
|
|
import { isvalidPhone } from '@/utils/validate'
|
|
@@ -508,7 +508,7 @@ export default {
|
|
|
} else {
|
|
|
if (res.data.hasCourseGroupRelation) {
|
|
|
let userId = data.id
|
|
|
- await findEducationUsers({ userId }).then(res => {
|
|
|
+ await findEducationTeacher({ userId }).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.educationList = res.data;
|
|
|
this.educationViseble = true
|