dedsudiyu 2 years ago
parent
commit
c5c7bbb2f0
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/comprehensive/message/addContent/index.vue

+ 4 - 4
src/views/comprehensive/message/addContent/index.vue

@@ -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:"全部学院",