rk
2 天以前 38d111cb6defedff3bf06314ca30d22a01faae22
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
export declare const apiName = "internal.contact.internalComplexPickerWithUid";
/**
 * 区别于internalComplexPicker,支持使用UID 进行选人中的勾选禁用需要 请求参数定义
 * @apiName internal.contact.internalComplexPickerWithUid
 */
export interface IInternalContactInternalComplexPickerWithUidParams {
    /** 标题 */
    title?: string;
    /** 企业的corpId */
    corpId: string;
    /** 企业的corpId */
    multiple?: boolean;
    /** 企业的corpId */
    limitTips?: string;
    /** 最大可选人数 */
    maxUsers?: number;
    /** 已选用户 UID列表 */
    pickedUsers?: number[];
    /** 已选部门 */
    pickedDepartments?: string[];
    /** 不可选用户UID列表 */
    disabledUsers?: number[];
    /** 不可选部门 */
    disabledDepartments?: string[];
    /** 必选用户(不可取消选中状态)UID列表 */
    requiredUsers: number[];
    /** 必选部门(不可取消选中状态) */
    requiredDepartments: string[];
    /** 微应用的Id */
    appId?: number;
    /** 可添加权限校验,选人权限,目前只有GLOBAL这个参数 */
    permissionType?: string;
    /** true:返回人员信息;false:返回人员和部门信息 */
    responseUserOnly?: boolean;
    /** 未选人时,底部提示文案 */
    showFriendPick?: string;
    /** 手机通讯录 */
    showMobileContactPick?: boolean;
    /** 组织架构选择 */
    showOrgRelationPick?: boolean;
    /** 按角色选择 */
    showLabelPick?: boolean;
    /** 外部联系人 */
    showExtContactPick?: boolean;
    /** -1表示从自己所在部门开始, 0表示从企业最上层开始,其他数字表示从该部门开始 */
    startWithDepartmentId?: string;
    showRootOrg?: boolean;
    limit?: number;
    canChooseCurrentUser?: boolean;
}
/**
 * 区别于internalComplexPicker,支持使用UID 进行选人中的勾选禁用需要 返回结果定义
 * @apiName internal.contact.internalComplexPickerWithUid
 */
export interface IInternalContactInternalComplexPickerWithUidResult {
    /** 选择人数 */
    selectedCount: number;
    /** 返回选人的列表 */
    users?: Array<{
        name: string;
        avatar?: string;
        uid: number;
        encryptionUid: any;
        emplId: any;
    }>;
    /** 返回已选部门列表 */
    departments?: Array<{
        id: any;
        name: string;
        number: number;
    }>;
}
/**
 * 区别于internalComplexPicker,支持使用UID 进行选人中的勾选禁用需要
 * @apiName internal.contact.internalComplexPickerWithUid
 * @supportVersion ios: 4.6.41; android: 4.6.41
 * @author ios: 云信; android: 长岚
 */
export declare function internalComplexPickerWithUid$(params: IInternalContactInternalComplexPickerWithUidParams): Promise<IInternalContactInternalComplexPickerWithUidResult>;
export default internalComplexPickerWithUid$;