Forráskód Böngészése

NFC标签选不到离行

luowei 1 éve
szülő
commit
708191f603
1 módosított fájl, 8 hozzáadás és 7 törlés
  1. 8 7
      src/views/system/bind/index.vue

+ 8 - 7
src/views/system/bind/index.vue

@@ -489,18 +489,19 @@ export default {
 
     /** 查询部门下拉树结构 */
     getDeptTree() {
-      // deptTreeSelect().then(response => {
-      //   this.deptOptions = response.data;
-      //   this.defaultKeys.push(response.data[0].id);
-      //   this.queryParams.orgId = response.data[0].id;
-      //   this.handleQuery();
-      // });
-      businessTreeSelect().then((response) => {
+      deptTreeSelect().then(response => {
         this.deptOptions = response.data;
         this.defaultKeys.push(response.data[0].id);
         this.queryParams.orgId = response.data[0].id;
         this.handleQuery();
       });
+      //因为没有显示全部机构
+      // businessTreeSelect().then((response) => {
+      //   this.deptOptions = response.data;
+      //   this.defaultKeys.push(response.data[0].id);
+      //   this.queryParams.orgId = response.data[0].id;
+      //   this.handleQuery();
+      // });
     },
     tenantIdnormalizer(node, instanceId) {
       if (node.children && !node.children.length) {