Browse Source

人员组织树

zhuwei 2 năm trước cách đây
mục cha
commit
2d6f8a69a1
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      src/api/modules/system/organization.js

+ 12 - 0
src/api/modules/system/organization.js

@@ -25,6 +25,18 @@ export default {
         }, false);
     },
 
+    //列表数据(用户部门通过 depttype)
+    async treeUserdeptByDeptType() {
+        return httpApi({
+            url: '/api/blade-system/dept/tree-userdept-info',
+            method: 'get',
+            params: {
+                tenantId: useAppState.tenantId,
+                deptType: 2
+            }
+        }, false);
+    },
+
     //删除
     async remove(ids) {
         return httpApi({