rk
5 天以前 214cda58c3786972c958da5c6d54a135490a3c11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { ICommonAPIParams } from '../../constant/types';
/**
 * 选择部门信息 请求参数定义
 * @apiName chooseDepartments
 */
export interface IUnionChooseDepartmentsParams extends ICommonAPIParams {
    appId: string;
    title: string;
    corpId: string;
    multiple: boolean;
    limitTips: string;
    maxDepartments: number;
    pickedDepartments: string[];
    disabledDepartments: string[];
    requiredDepartments: string[];
}
/**
 * 选择部门信息 返回结果定义
 * @apiName chooseDepartments
 */
export interface IUnionChooseDepartmentsResult {
    userCount: number;
    departments: {
        id: string;
        name: string;
        number: number;
    }[];
    departmentsCount: number;
}
/**
 * 选择部门信息
 * @apiName chooseDepartments
 */
export declare function chooseDepartments$(params: IUnionChooseDepartmentsParams): Promise<IUnionChooseDepartmentsResult>;
export default chooseDepartments$;