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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
 * 选择打卡方式的通用组件,目前支持选择地理位置、Wi-Fi、智点B1、考勤机 请求参数定义
 * @apiName biz.ATMBle.punchModePicker
 */
export interface IBizATMBlePunchModePickerParams {
    /** 当选择支持智点B1打卡、考勤机打卡时,则必须有corpId */
    corpId?: string;
    /** 需要支持的打卡方式,json序列化后的数据格式: ['location', 'wifi', 'beacon', 'atm']
     * 含义:
     * 'location':地理位置打卡
     * 'wifi':Wi-Fi打卡
     * 'beacon':智点B1打卡
     * 'atm':考勤机打卡
     */
    supportModes: string[];
    /** 禁用的打卡方式,json序列化后的数据格式: ['location', 'wifi', 'beacon', 'atm']
     * 含义:
     * 'location':地理位置打卡
     * 'wifi':Wi-Fi打卡
     * 'beacon':智点B1打卡
     * 'atm':考勤机打卡
     */
    disabledModes: string[];
    /** 用于透传,json序列化后的数据格式: [{type: 'location', enable: true, list: []}] 意义待补充 */
    modes: Array<{
        type: string;
        enable: boolean;
        list: any[];
    }>;
    /** 扩展字段,先预留 */
    extData?: string;
}
/**
 * 选择打卡方式的通用组件,目前支持选择地理位置、Wi-Fi、智点B1、考勤机 返回结果定义
 * @apiName biz.ATMBle.punchModePicker
 */
export interface IBizATMBlePunchModePickerResult {
    /** 选择结果,也是下次调用组件的入参,json序列化后的数据格式: [{type: 'location', enable: true, list: []}] 意义待补充 */
    modes: Array<{
        type: string;
        enable: boolean;
        list: any[];
    }>;
}
/**
 * 选择打卡方式的通用组件,目前支持选择地理位置、Wi-Fi、智点B1、考勤机
 * @apiName biz.ATMBle.punchModePicker
 * @supportVersion ios: 5.0.7 android: 5.0.7
 * @author Android:序望,iOS:度尽
 */
export declare function punchModePicker$(params: IBizATMBlePunchModePickerParams): Promise<IBizATMBlePunchModePickerResult>;
export default punchModePicker$;