ltao 3 年之前
父节点
当前提交
ac671aa973
共有 1 个文件被更改,包括 8 次插入7 次删除
  1. 8 7
      src/views/barracksManagement/flats/index.vue

+ 8 - 7
src/views/barracksManagement/flats/index.vue

@@ -750,7 +750,13 @@ export default {
     getDeptList().then((res) => {
       this.getdeptList = res.data;
     });
-    this.selectPeo1();
+    // this.selectPeo1();
+     // 获取执行单位列表
+      getDept2().then((res) => {
+        // console.log(res,2)
+        this.users = res.data;
+        // console.log(this.users);
+      });
   },
   methods: {
     // 获取所有人员
@@ -844,12 +850,7 @@ export default {
     },
     // 到访单位选中触发
     selectPeo1(val) {
-      // 获取执行单位列表
-      getDept2().then((res) => {
-        // console.log(res,2)
-        this.users = res.data;
-        // console.log(this.users);
-      });
+     
       this.queryParams.unitId = val.id;
       // this.queryParams.peopleName = "";
       // this.queryParams.unitName = val.label;