|
@@ -73,7 +73,7 @@
|
|
|
import userList from "./userList.vue"
|
|
|
import subjectList from "./subjectList.vue"
|
|
|
import { optionselect } from "@/api/laboratory/gradeManage";
|
|
|
- import { listDepartments } from "@/api/system/dept";
|
|
|
+ import { getDeptNoAuthList } from "@/api/system/dept";
|
|
|
export default {
|
|
|
name: "addContent",
|
|
|
components: {
|
|
@@ -126,7 +126,7 @@
|
|
|
},
|
|
|
mounted(){
|
|
|
this.optionselect();
|
|
|
- this.listDepartments();
|
|
|
+ this.getDeptNoAuthList();
|
|
|
},
|
|
|
methods: {
|
|
|
//选择实验室
|
|
@@ -205,8 +205,8 @@
|
|
|
this.optionselectList = list;
|
|
|
});
|
|
|
},
|
|
|
- listDepartments(){
|
|
|
- listDepartments().then(response => {
|
|
|
+ getDeptNoAuthList(){
|
|
|
+ getDeptNoAuthList().then(response => {
|
|
|
let list = response.data;
|
|
|
let obj = {
|
|
|
deptName:"全部学院",
|