|
@@ -1,6 +1,6 @@
|
|
|
/* eslint-disable no-empty */
|
|
|
-import { branchQueryPage } from '@/api/specialSetting'
|
|
|
-import { getSubject, getTeacher,findEducationUsers } from '@/api/buildTeam'
|
|
|
+// import { branchQueryPage } from '@/api/specialSetting'
|
|
|
+import { getSubject, getTeacher,findEducationUsers,getEmployeeOrgan } from '@/api/buildTeam'
|
|
|
import { getSchool } from '@/api/systemManage'
|
|
|
import { vipGroupCategory } from "@/api/vipSeting"
|
|
|
|
|
@@ -55,8 +55,8 @@ export default {
|
|
|
async setBranchs ({ commit, state }, force) {
|
|
|
if (!state.branchs.length || force === true) {
|
|
|
try {
|
|
|
- const res = await branchQueryPage({ rows: 9999 })
|
|
|
- commit('commit_branchs', res.data.rows)
|
|
|
+ const res = await getEmployeeOrgan()
|
|
|
+ commit('commit_branchs', res.data)
|
|
|
} catch (error) { }
|
|
|
}
|
|
|
},
|