OrganizationManager class
Methods
-
getDeptInfo({required String departmentID, String? operationID})
→ Future<DeptInfo>
-
查询部门信息
departmentID
部门ID
-
getDeptMember({required String departmentID, int offset = 0, int count = 40, String? operationID})
→ Future<List<DeptMemberInfo>>
-
获取部门下的成员列表,返回当前部门下的一级成员
departmentID
当前部门id
offset
开始下标
count
每页大小
-
getDeptMemberAndSubDept({required String departmentID, String? operationID})
→ Future<DeptMemberAndSubDept>
-
获取部门下的子部门跟员工
departmentID
当前部门id
-
getSubDept({required String departmentID, int offset = 0, int count = 40, String? operationID})
→ Future<List<DeptInfo>>
-
获取子部门列表,返回当前部门下的一级子部门
departmentID
当前部门id
offset
开始下标
count
每页大小
-
getUserInDept({required String userID, String? operationID})
→ Future<List<UserInDept>>
-
获取成员所在的部门
userID
成员ID
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
searchOrganization({required String keyWord, bool isSearchUserName = false, bool isSearchEnglishName = false, bool isSearchPosition = false, bool isSearchUserID = false, bool isSearchMobile = false, bool isSearchEmail = false, bool isSearchTelephone = false, int offset = 0, int count = 40, String? operationID})
→ Future<OrganizationSearchResult>
-
搜索组织人员
keyWord
关键字
isSearchUserName
是否匹配用户名
isSearchEnglishName
是否匹配英文名
isSearchPosition
是否匹配职位
isSearchUserID
是否匹配用户ID
isSearchMobile
是否匹配手机号
isSearchEmail
是否匹配邮箱号
isSearchTelephone
是否匹配电话号码
offset
开始下标
count
分页大小
-
setOrganizationListener(OnOrganizationListener listener)
→ Future
-
组织架构发生变化回调
-
toString()
→ String
-
A string representation of this object.
inherited