| 项目 | 内容 |
|---|---|
| 类型 | singleline_text、multiline_text |
| value值 | String值,文本内容 |
| 备注 | singleline_text限制100字multiline_text限制2000字 |
| 说明 | Form组件传值示例如下图:module_name传飞书合同的页签的描述,attribute_name传字段的描述,attribute_value传字段的值 |
| 举例(支持name匹配和code匹配,传入时优先选择code匹配字段) | //name匹配 { "module_name": "文本测试模块", "attribute_name": "合同备注", "attribute_value": "测试多行文本\n 第二行" } //code匹配 { "attribute_code": "custom_2_0c09c6daeebf4a3f938a07aa8082d85f", "attribute_value": "测试多行文本\n 第二行" } |
| 项目 | 内容 |
|---|---|
| 类型 | date |
| value值 | String值,格式为yyyy-MM-dd |
| 举例(支持name匹配和code匹配,传入时优先选择code匹配字段) | //name匹配 { "module_name": "日期模块", "attribute_name": "合同生效日期", "attribute_value": "2021-09-13" } //code匹配 { "attribute_code": "custom_10_6599409c7dc84b0d988a9d0965cbc5c6", "attribute_value": "2021-09-13" } |
| 项目 | 内容 |
|---|---|
| 类型 | employee |
| value值 | List数组 |
| 备注 | 当user_id_type为lark_user_id时,user_id传 入飞书user_id |
| 举例(支持name匹配和code匹配,传入时优先选择code匹配字段) | //name匹配 { "module_name": "测试模块", "attribute_name": "需求人", "attribute_value": [ { "user_id": "g62a2f83", "user_id_type": "lark_user_id" } ] } //code匹配 { "attribute_code": "custom_1001_fb5fb3c7555f45328f992b61805a24af", "attribute_value": [ { "user_id": "g62a2f83", "user_id_type": "lark_user_id" } ] } |
| 项目 | 内容 |
|---|---|
| 类型 | department |
| value值 | List数组 |
| 备注 | 当department_id_type为open_department_id时,department_id传入飞书open_department_id |
| 举例(支持name匹配和code匹配,传入时优先选择code匹配字段) | //name匹配 { "module_name": "测试模块", "attribute_name": "所属部门", "attribute_value": [ { "department_id": "od-5cefe25147a103456cf21a63b1132ad", "department_id_type": "open_department_id" } ] } //code匹配 { "attribute_code": "custom_1002_fb5fb3c7555f45328f992b61805a24af", "attribute_value": [ { "department_id": "od-5cefe25147a103456cf21a63b1132ad", "department_id_type": "open_department_id" } ] } |
| 项目 | 内容 |
|---|---|
| 类型 | dropdown_radio |
| value值 | key为飞书合同侧选项唯一标识 |
| 举例(支持name匹配和code匹配,传入时优先选择code匹配字段) | // name匹配 { "module_name": "测试模块", "attribute_name": "产权归属", "attribute_value": { "key": "ckx36ksd8002j3f61rr2ifb22", "outbound_options": [ { "value": "value", "labelCn": "中文名", "labelEn": "英文名", "labelJp": "日文名", "children": [ { "value": "value", "labelCn": "中文名", "labelEn": "英文名", "labelJp": "日文名", "children": null } ] } ] } } // code匹配 { "attribute_code": "custom_15_ea0f468f2b7d4997b5228fa95b85605a", "attribute_value": { "key": "ckx36ksd8002j3f61rr2ifb22", "outbound_options": [ { "value": "value", "labelCn": "中文名", "labelEn": "英文名", "labelJp": "日文名", "children": [ { "value": "value", "labelCn": "中文名", "labelEn": "英文名", "labelJp": "日文名", "children": null } ] } ] } } |
| 项目 | 内容 |
|---|---|
| 类型 | number |
| value值 | Number值,数字 |
| 举例(支持name匹配和code匹配,传入时优先选择code匹配字段) | // name匹配 { "module_name": "数字模块", "attribute_name": "数字示例", "attribute_value": 12345 } // code匹配 { "attribute_code": "custom_5_b5b96bd524e0497dbdea0aeed108691d", "attribute_value": 12345 } |