|
@@ -36,7 +36,7 @@ import axios from "axios";
|
|
|
import { getToken } from "@/utils/auth";
|
|
|
import pagination from "@/components/Pagination/index";
|
|
|
import load from "@/utils/loading";
|
|
|
-import { getTeacher, getEmployeeOrgan } from "@/api/buildTeam";
|
|
|
+import { getEmployeeOrgan } from "@/api/buildTeam";
|
|
|
|
|
|
export default {
|
|
|
components: { pagination },
|
|
@@ -45,7 +45,7 @@ export default {
|
|
|
searchForm: {
|
|
|
search: null
|
|
|
},
|
|
|
- teacherList: [],
|
|
|
+
|
|
|
tableList: [],
|
|
|
organList: [],
|
|
|
rules: {
|
|
@@ -61,11 +61,6 @@ export default {
|
|
|
created () { },
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
mounted () {
|
|
|
- getTeacher().then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.teacherList = res.data;
|
|
|
- }
|
|
|
- });
|
|
|
getEmployeeOrgan().then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.organList = res.data;
|
|
@@ -88,4 +83,4 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
<style lang='scss' scoped>
|
|
|
-</style>
|
|
|
+</style>
|