doum
昨天 2f3221b7c90d5663fdb312653a2d188bc4628370
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import { ICommonAPIParams } from '../../constant/types';
/**
 * 选人与部门 请求参数定义
 * @apiName complexChoose
 */
export interface IUnionComplexChooseParams extends ICommonAPIParams {
    appId: string;
    title: string;
    corpId: string;
    deptId: string;
    maxUsers: number;
    multiple: boolean;
    rootPage: string;
    limitTips: string;
    pickedUsers: string[];
    disabledUsers: string[];
    requiredUsers: string[];
    showLabelPick: boolean;
    responseUserOnly: boolean;
    pickedDepartments: string[];
    showOrgEcological: boolean;
    disabledDepartments: string[];
    filterOrgEcological: boolean;
    requiredDepartments: string[];
    startWithDepartmentId: string;
}
/**
 * 选人与部门 返回结果定义
 * @apiName complexChoose
 */
export interface IUnionComplexChooseResult {
    users: {
        name: string;
        avatar: string;
        emplId: string;
    }[];
    departments: {
        id: string;
        name: string;
        number: number;
    }[];
    selectedCount: number;
}
/**
 * 选人与部门
 * @apiName complexChoose
 */
export declare function complexChoose$(params: IUnionComplexChooseParams): Promise<IUnionComplexChooseResult>;
export default complexChoose$;