# FxUI.organization.getDepartmentById(departmentId)

该方法通过部门ID获取部门信息。

# 参数

参数 说明 类型 可选值 默认值
departmentId 部门ID string、number

# 用法

该方法返回部门信息,示例如下:

const department = FxUI.organization.getDepartmentById(1000);
console.log(department);
lastUpdate: 2022-4-20 11:30:42