检查导出数据
简述:
- 检查导出数据
请求URL:
- http://ip:port/ibps/business/v3/data/template/checkExportData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
// TODO 参数格式待修正
{
"parameters": [
{
"key": "response_data",
"value": "{\"dataTemplate\":{\"dataTemplateDefs\":{\"dataTemplateDef\":{\"-updateTime\":\"2020-01-20T15:02:01+08:00\",\"-updateBy\":\"1\",\"-createTime\":\"2020-01-19T14:38:23+08:00\",\"-createBy\":\"1\",\"-attrs\":\"{\\\"form_key\\\":\\\"htglsj\\\"}\",\"-unique\":\"id_\",\"-composeType\":\"treeList\",\"-showType\":\"list\",\"-type\":\"default\",\"-typeId\":\"654703487468175360\",\"-key\":\"htglsj\",\"-name\":\"回填关联数据\",\"-datasetKey\":\"htglsj\",\"-id\":\"668464276372979712\",\"createBy\":\"1\",\"createTime\":\"2020-01-19T14:38:23+08:00\",\"name\":\"回填关联数据\",\"updateBy\":\"1\",\"updateTime\":\"2020-01-20T15:02:01+08:00\"},\"dataTemplateField\":{\"-objName\":\"htglsj\",\"-label\":\"回填关联数据\",\"-name\":\"htglsj\",\"-templateId\":\"668464276372979712\",\"-id\":\"668832614576029696\",\"name\":\"htglsj\"},\"dataTemplateTpl\":{\"-attrs\":\"{\\\"init_query\\\":\\\"Y\\\",\\\"need_page\\\":\\\"Y\\\",\\\"page_size\\\":20}\",\"-functionButtons\":\"{\\\"function_buttons\\\":[{\\\"button_type\\\":\\\"search\\\",\\\"label\\\":\\\"搜索\\\"},{\\\"button_type\\\":\\\"resetSearch\\\",\\\"label\\\":\\\"重置\\\"},{\\\"button_type\\\":\\\"add\\\",\\\"label\\\":\\\"添加\\\"},{\\\"button_type\\\":\\\"remove\\\",\\\"label\\\":\\\"删除\\\"},{\\\"button_type\\\":\\\"edit\\\",\\\"label\\\":\\\"编辑\\\"},{\\\"button_type\\\":\\\"detail\\\",\\\"label\\\":\\\"明细\\\"}],\\\"edit_buttons\\\":[{\\\"button_type\\\":\\\"close\\\",\\\"label\\\":\\\"关闭\\\"},{\\\"button_type\\\":\\\"save\\\",\\\"label\\\":\\\"保存\\\"}]}\",\"-displayColumns\":\"[{\\\"label\\\":\\\"单行\\\",\\\"name\\\":\\\"dan_xing_\\\"},{\\\"label\\\":\\\"多行\\\",\\\"name\\\":\\\"duo_xing_\\\"},{\\\"label\\\":\\\"数字\\\",\\\"name\\\":\\\"shu_zi_\\\"},{\\\"label\\\":\\\"单选\\\",\\\"name\\\":\\\"dan_xuan_\\\"},{\\\"label\\\":\\\"多选\\\",\\\"name\\\":\\\"duo_xuan_\\\"},{\\\"label\\\":\\\"下拉\\\",\\\"name\\\":\\\"xia_la_\\\"},{\\\"label\\\":\\\"关联数据\\\",\\\"name\\\":\\\"guan_lian_shu_ju_\\\"},{\\\"label\\\":\\\"对话框\\\",\\\"name\\\":\\\"dui_hua_kuang_\\\"}]\",\"-templateId\":\"668464276372979712\",\"-id\":\"668832614156599296\"}}}}"
}
],
"requestPage": {
"pageNo": 1,
"limit": 3
},
"sorts": []
}
返回示例:
// TODO 待修正
{
"state": 6060500,
"request": null,
"message": "业务数据模版异常",
"cause": "参数不完整",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
设置自定义对话框
简述:
- 设置自定义对话框
请求URL:
- http://ip:port/ibps/business/v3/data/template/customDialog
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
dataTemplateKey | String | 是 | 模版key |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/customDialog?dataTemplateKey=xzqlx
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": "{\"query_columns\":\"\",\"display_columns\":[{\"label\":\"用户id\",\"name\":\"yong_hu_id_\"},{\"label\":\"测试\",\"name\":\"ce_shi_\"},{\"label\":\"用户json\",\"name\":\"yong_hu_json_\"},{\"label\":\"组织id\",\"name\":\"zu_zhi_id_\"},{\"label\":\"组织json\",\"name\":\"zu_zhi_json_\"},{\"label\":\"岗位id\",\"name\":\"gang_wei_id_\"},{\"label\":\"岗位json\",\"name\":\"gang_wei_json_\"},{\"label\":\"角色id\",\"name\":\"jiao_se_id_\"},{\"label\":\"角色json\",\"name\":\"jiao_se_json_\"}],\"filter_conditions\":\"\",\"result_columns\":\"\",\"export_columns\":\"\",\"fields\":[{\"isPk\":\"N\",\"icon\":\"fa fa-table\",\"name\":\"t_xzqlx\",\"id\":\"675167634278318080\",\"label\":\"选择器类型\",\"objName\":\"t_xzqlx\",\"type\":\"table\",\"attrType\":\"table\",\"parentId\":\"0\"},{\"isPk\":\"Y\",\"icon\":\"fa fa-varchar\",\"name\":\"id_\",\"id\":\"675167634278318081\",\"label\":\"主键\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"tenant_id_\",\"id\":\"675167634278318082\",\"label\":\"租户ID\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"ip_\",\"id\":\"675167634278318083\",\"label\":\"IP地址\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"create_by_\",\"id\":\"675167634278318084\",\"label\":\"创建人\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"create_time_\",\"id\":\"675167634278318085\",\"label\":\"创建时间\",\"objName\":\"t_xzqlx\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"update_by_\",\"id\":\"675167634278318086\",\"label\":\"更新人\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"update_time_\",\"id\":\"675167634278318087\",\"label\":\"更新时间\",\"objName\":\"t_xzqlx\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"ce_shi_\",\"id\":\"675167634278318088\",\"label\":\"测试\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"yong_hu_id_\",\"id\":\"675167634278318089\",\"label\":\"用户id\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"yong_hu_json_\",\"id\":\"675167634278318090\",\"label\":\"用户json\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zu_zhi_id_\",\"id\":\"675167634278318091\",\"label\":\"组织id\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zu_zhi_json_\",\"id\":\"675167634278318092\",\"label\":\"组织json\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"gang_wei_id_\",\"id\":\"675167634278318093\",\"label\":\"岗位id\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"gang_wei_json_\",\"id\":\"675167634278318094\",\"label\":\"岗位json\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"jiao_se_id_\",\"id\":\"675167634278318095\",\"label\":\"角色id\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"jiao_se_json_\",\"id\":\"675167634278318096\",\"label\":\"角色json\",\"objName\":\"t_xzqlx\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675167634278318080\"}]}"
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | String |
导出数据
简述:
- 导出数据
请求URL:
- http://ip:port/ibps/platform/v3/msg/innerMessage/exportData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
// TODO 参数格式待修正
{
"parameters": [
{
"key": "response_data",
"value": "{\"dataTemplate\":{\"dataTemplateDefs\":{\"dataTemplateDef\":{\"-updateTime\":\"2020-01-20T15:02:01+08:00\",\"-updateBy\":\"1\",\"-createTime\":\"2020-01-19T14:38:23+08:00\",\"-createBy\":\"1\",\"-attrs\":\"{\\\"form_key\\\":\\\"htglsj\\\"}\",\"-unique\":\"id_\",\"-composeType\":\"treeList\",\"-showType\":\"list\",\"-type\":\"default\",\"-typeId\":\"654703487468175360\",\"-key\":\"htglsj\",\"-name\":\"回填关联数据\",\"-datasetKey\":\"htglsj\",\"-id\":\"668464276372979712\",\"createBy\":\"1\",\"createTime\":\"2020-01-19T14:38:23+08:00\",\"name\":\"回填关联数据\",\"updateBy\":\"1\",\"updateTime\":\"2020-01-20T15:02:01+08:00\"},\"dataTemplateField\":{\"-objName\":\"htglsj\",\"-label\":\"回填关联数据\",\"-name\":\"htglsj\",\"-templateId\":\"668464276372979712\",\"-id\":\"668832614576029696\",\"name\":\"htglsj\"},\"dataTemplateTpl\":{\"-attrs\":\"{\\\"init_query\\\":\\\"Y\\\",\\\"need_page\\\":\\\"Y\\\",\\\"page_size\\\":20}\",\"-functionButtons\":\"{\\\"function_buttons\\\":[{\\\"button_type\\\":\\\"search\\\",\\\"label\\\":\\\"搜索\\\"},{\\\"button_type\\\":\\\"resetSearch\\\",\\\"label\\\":\\\"重置\\\"},{\\\"button_type\\\":\\\"add\\\",\\\"label\\\":\\\"添加\\\"},{\\\"button_type\\\":\\\"remove\\\",\\\"label\\\":\\\"删除\\\"},{\\\"button_type\\\":\\\"edit\\\",\\\"label\\\":\\\"编辑\\\"},{\\\"button_type\\\":\\\"detail\\\",\\\"label\\\":\\\"明细\\\"}],\\\"edit_buttons\\\":[{\\\"button_type\\\":\\\"close\\\",\\\"label\\\":\\\"关闭\\\"},{\\\"button_type\\\":\\\"save\\\",\\\"label\\\":\\\"保存\\\"}]}\",\"-displayColumns\":\"[{\\\"label\\\":\\\"单行\\\",\\\"name\\\":\\\"dan_xing_\\\"},{\\\"label\\\":\\\"多行\\\",\\\"name\\\":\\\"duo_xing_\\\"},{\\\"label\\\":\\\"数字\\\",\\\"name\\\":\\\"shu_zi_\\\"},{\\\"label\\\":\\\"单选\\\",\\\"name\\\":\\\"dan_xuan_\\\"},{\\\"label\\\":\\\"多选\\\",\\\"name\\\":\\\"duo_xuan_\\\"},{\\\"label\\\":\\\"下拉\\\",\\\"name\\\":\\\"xia_la_\\\"},{\\\"label\\\":\\\"关联数据\\\",\\\"name\\\":\\\"guan_lian_shu_ju_\\\"},{\\\"label\\\":\\\"对话框\\\",\\\"name\\\":\\\"dui_hua_kuang_\\\"}]\",\"-templateId\":\"668464276372979712\",\"-id\":\"668832614156599296\"}}}}"
}
],
"requestPage": {
"pageNo": 1,
"limit": 3
},
"sorts": []
}
返回示例:
// TODO 待修正
{
"state": 6060500,
"request": null,
"message": "业务数据模版异常",
"cause": "参数不完整",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Map<String, Object> |
导出数据模板
简述:
- 导出数据模板
请求URL:
- http://ip:port/ibps/business/v3/data/template/exportTemplate
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
templateIds | String[] | 是 | 数据模板Id集合 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/exportTemplate?templateIds=656097674092609536
返回示例:
对应的zip文件
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | void |
查询
简述:
- 根据传入id查询,并返回数据模版信息
请求URL:
- http://ip:port/ibps/business/v3/data/template/get
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
dataTemplateId | String | 是 | 数据模版id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/get?dataTemplateId=656097674092609536
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "加载表单",
"ip": null,
"createBy": "654621442352087040",
"createTime": 1576467475000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656097674092609536",
"datasetKey": "jzbd",
"key": "jzbd",
"desc": null,
"typeId": "654703553155170304",
"type": "default",
"showType": "list",
"composeType": "treeList",
"unique": "id_",
"dialogs": "",
"attrs": "{\"form_key\":\"jzbd\"}",
"fieldList": [
{
"pk": "",
"name": "t_jzbd",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656097674633674752",
"templateId": "656097674092609536",
"label": "加载表单",
"objName": "t_jzbd",
"fieldType": null,
"fieldOptions": null,
"sn": null
}
],
"tplList": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656097674382016512",
"templateId": "656097674092609536",
"type": "",
"queryColumns": "",
"displayColumns": "[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"}]",
"filterConditions": "",
"sortColumns": "",
"resultColumns": "",
"functionButtons": "{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"button_type\":\"resetSearch\",\"label\":\"重置\"},{\"button_type\":\"add\",\"label\":\"添加\"},{\"button_type\":\"remove\",\"label\":\"删除\"},{\"button_type\":\"edit\",\"label\":\"编辑\"},{\"button_type\":\"detail\",\"label\":\"明细\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]}",
"exportColumns": "",
"extColumns": "",
"attrs": "{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20}"
}
]
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | DataTemplatePo | 数据模板对象 |
根据Id、是否过滤查询
简述:
- 根据传入id、是否过滤查询,并返回数据模版信息
请求URL:
- http://ip:port/ibps/business/v3/data/template/getBuildDataById
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
dataTemplateId | String | 是 | 数据模版id | ||
isFilterForm | boolean | 否 | false | 是否过滤表单 | |
isRightsFilter | boolean | 否 | false | 是否过滤条件 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/getBuildDataById?dataTemplateId=656097674092609536&isFilterForm=false&isRightsFilter=false
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": "{\"id\":\"656097674092609536\",\"name\":\"加载表单\",\"key\":\"jzbd\",\"typeId\":\"654703553155170304\",\"type\":\"default\",\"showType\":\"list\",\"composeType\":\"treeList\",\"datasetKey\":\"jzbd\",\"unique\":\"id_\",\"typeName\":\"正常数据\",\"datasets\":[{\"isPk\":\"N\",\"icon\":\"fa fa-table\",\"name\":\"t_jzbd\",\"id\":\"675342801210179584\",\"label\":\"加载表单\",\"objName\":\"t_jzbd\",\"type\":\"table\",\"attrType\":\"table\",\"parentId\":\"0\"},{\"isPk\":\"Y\",\"icon\":\"fa fa-varchar\",\"name\":\"id_\",\"id\":\"675342801214373888\",\"label\":\"主键\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"tenant_id_\",\"id\":\"675342801214373889\",\"label\":\"租户ID\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"ip_\",\"id\":\"675342801214373890\",\"label\":\"IP地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"create_by_\",\"id\":\"675342801214373891\",\"label\":\"创建人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"create_time_\",\"id\":\"675342801214373892\",\"label\":\"创建时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"update_by_\",\"id\":\"675342801214373893\",\"label\":\"更新人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"update_time_\",\"id\":\"675342801214373894\",\"label\":\"更新时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shan_hang_\",\"id\":\"675342801214373895\",\"label\":\"单行\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"duo_heng_\",\"id\":\"675342801214373896\",\"label\":\"多行\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-number\",\"name\":\"shuo_zi_\",\"id\":\"675342801214373897\",\"label\":\"数字\",\"objName\":\"t_jzbd\",\"type\":\"number\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"chan_xuan_\",\"id\":\"675342801214373898\",\"label\":\"单选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"duo_xuan_\",\"id\":\"675342801214373899\",\"label\":\"多选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"ri_ji_\",\"id\":\"675342801214373900\",\"label\":\"日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xia_la_kuang_\",\"id\":\"675342801214373901\",\"label\":\"下拉框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"fu_wen_ben_\",\"id\":\"675342801214373902\",\"label\":\"富文本\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shuo_ju_zi_dian_\",\"id\":\"675342801214373903\",\"label\":\"数据字典\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dong_bian_hao_\",\"id\":\"675342801214373904\",\"label\":\"自动编号\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"fu_jian_\",\"id\":\"675342801214373905\",\"label\":\"附件\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xuan_ze_qi_\",\"id\":\"675342801214373906\",\"label\":\"选择器\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"de_zhi_\",\"id\":\"675342801214373907\",\"label\":\"地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"qian_ming_\",\"id\":\"675342801214373908\",\"label\":\"签名\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_yong_hu_\",\"id\":\"675342801214373909\",\"label\":\"当前用户\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_zu_zhi_\",\"id\":\"675342801214373910\",\"label\":\"当前组织\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"qian_shi_jian_\",\"id\":\"675342801214373911\",\"label\":\"当前时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"dang_qian_ri_ji_\",\"id\":\"675342801214373912\",\"label\":\"当前日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"guan_lian_shu_ju_\",\"id\":\"675342801214373913\",\"label\":\"关联数据\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dui_hua_kuang_\",\"id\":\"675342801214373914\",\"label\":\"对话框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_1_\",\"id\":\"675342801214373915\",\"label\":\"字典1\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_2_\",\"id\":\"675342801214373916\",\"label\":\"字典2\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_3_\",\"id\":\"675342801214373917\",\"label\":\"字典3\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_4_\",\"id\":\"675342801214373918\",\"label\":\"字典4\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_5_\",\"id\":\"675342801214373919\",\"label\":\"字典5\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_6_\",\"id\":\"675342801214373920\",\"label\":\"字典6\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_7_\",\"id\":\"675342801214373921\",\"label\":\"字典7\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_8_\",\"id\":\"675342801214373922\",\"label\":\"字典8\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675342801210179584\"}],\"datasetName\":\"加载表单\",\"datasetType\":\"table\",\"attrs\":{\"form_key\":\"jzbd\"},\"dialogs\":{},\"templates\":[{\"template_id\":\"656097674092609536\",\"template_type\":\"\",\"attrs\":{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20},\"query_columns\":\"\",\"display_columns\":[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"}],\"orig_display_columns\":\"\",\"filter_conditions\":\"\",\"result_columns\":\"\",\"sort_columns\":\"\",\"buttons\":{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"button_type\":\"resetSearch\",\"label\":\"重置\"},{\"button_type\":\"add\",\"label\":\"添加\"},{\"button_type\":\"remove\",\"label\":\"删除\"},{\"button_type\":\"edit\",\"label\":\"编辑\"},{\"button_type\":\"detail\",\"label\":\"明细\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]},\"export_columns\":\"\",\"ext_columns\":\"\"}]}"
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | String |
根据key、是否过滤查询
简述:
- 根据key、是否过滤查询,并返回数据模版信息
请求URL:
- http://ip:port/ibps/business/v3/data/template/getBuildDataByKey
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
dataTemplateKey | String | 是 | 数据模版key | ||
isFilterForm | boolean | 否 | false | 是否过滤表单 | |
isRightsFilter | boolean | 否 | false | 是否过滤条件 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/getBuildDataByKey?dataTemplateKey=jzbd&isFilterForm=false&isRightsFilter=false
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": "{\"id\":\"656097674092609536\",\"name\":\"加载表单\",\"key\":\"jzbd\",\"typeId\":\"654703553155170304\",\"type\":\"default\",\"showType\":\"list\",\"composeType\":\"treeList\",\"datasetKey\":\"jzbd\",\"unique\":\"id_\",\"typeName\":\"正常数据\",\"datasets\":[{\"isPk\":\"N\",\"icon\":\"fa fa-table\",\"name\":\"t_jzbd\",\"id\":\"675343203603316736\",\"label\":\"加载表单\",\"objName\":\"t_jzbd\",\"type\":\"table\",\"attrType\":\"table\",\"parentId\":\"0\"},{\"isPk\":\"Y\",\"icon\":\"fa fa-varchar\",\"name\":\"id_\",\"id\":\"675343203603316737\",\"label\":\"主键\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"tenant_id_\",\"id\":\"675343203603316738\",\"label\":\"租户ID\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"ip_\",\"id\":\"675343203603316739\",\"label\":\"IP地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"create_by_\",\"id\":\"675343203603316740\",\"label\":\"创建人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"create_time_\",\"id\":\"675343203603316741\",\"label\":\"创建时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"update_by_\",\"id\":\"675343203603316742\",\"label\":\"更新人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"update_time_\",\"id\":\"675343203603316743\",\"label\":\"更新时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shan_hang_\",\"id\":\"675343203603316744\",\"label\":\"单行\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"duo_heng_\",\"id\":\"675343203603316745\",\"label\":\"多行\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-number\",\"name\":\"shuo_zi_\",\"id\":\"675343203603316746\",\"label\":\"数字\",\"objName\":\"t_jzbd\",\"type\":\"number\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"chan_xuan_\",\"id\":\"675343203603316747\",\"label\":\"单选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"duo_xuan_\",\"id\":\"675343203603316748\",\"label\":\"多选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"ri_ji_\",\"id\":\"675343203603316749\",\"label\":\"日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xia_la_kuang_\",\"id\":\"675343203603316750\",\"label\":\"下拉框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"fu_wen_ben_\",\"id\":\"675343203603316751\",\"label\":\"富文本\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shuo_ju_zi_dian_\",\"id\":\"675343203603316752\",\"label\":\"数据字典\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dong_bian_hao_\",\"id\":\"675343203603316753\",\"label\":\"自动编号\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"fu_jian_\",\"id\":\"675343203603316754\",\"label\":\"附件\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xuan_ze_qi_\",\"id\":\"675343203603316755\",\"label\":\"选择器\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"de_zhi_\",\"id\":\"675343203603316756\",\"label\":\"地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"qian_ming_\",\"id\":\"675343203603316757\",\"label\":\"签名\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_yong_hu_\",\"id\":\"675343203603316758\",\"label\":\"当前用户\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_zu_zhi_\",\"id\":\"675343203603316759\",\"label\":\"当前组织\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"qian_shi_jian_\",\"id\":\"675343203603316760\",\"label\":\"当前时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"dang_qian_ri_ji_\",\"id\":\"675343203603316761\",\"label\":\"当前日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"guan_lian_shu_ju_\",\"id\":\"675343203603316762\",\"label\":\"关联数据\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dui_hua_kuang_\",\"id\":\"675343203603316763\",\"label\":\"对话框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_1_\",\"id\":\"675343203603316764\",\"label\":\"字典1\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_2_\",\"id\":\"675343203603316765\",\"label\":\"字典2\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_3_\",\"id\":\"675343203603316766\",\"label\":\"字典3\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_4_\",\"id\":\"675343203603316767\",\"label\":\"字典4\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_5_\",\"id\":\"675343203603316768\",\"label\":\"字典5\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_6_\",\"id\":\"675343203603316769\",\"label\":\"字典6\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_7_\",\"id\":\"675343203603316770\",\"label\":\"字典7\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_8_\",\"id\":\"675343203603316771\",\"label\":\"字典8\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675343203603316736\"}],\"datasetName\":\"加载表单\",\"datasetType\":\"table\",\"attrs\":{\"form_key\":\"jzbd\"},\"dialogs\":{},\"templates\":[{\"template_id\":\"656097674092609536\",\"template_type\":\"\",\"attrs\":{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20},\"query_columns\":\"\",\"display_columns\":[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"}],\"orig_display_columns\":\"\",\"filter_conditions\":\"\",\"result_columns\":\"\",\"sort_columns\":\"\",\"buttons\":{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"button_type\":\"resetSearch\",\"label\":\"重置\"},{\"button_type\":\"add\",\"label\":\"添加\"},{\"button_type\":\"remove\",\"label\":\"删除\"},{\"button_type\":\"edit\",\"label\":\"编辑\"},{\"button_type\":\"detail\",\"label\":\"明细\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]},\"export_columns\":\"\",\"ext_columns\":\"\"}]}"
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | String |
根据Id、是否过滤查询
简述:
- 根据传入id并返回数据模版信息
请求URL:
- http://ip:port/ibps/business/v3/data/template/getById
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
dataTemplateId | String | 是 | 数据模版id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/getById?dataTemplateId=656097674092609536
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": "{\"id\":\"656097674092609536\",\"name\":\"加载表单\",\"key\":\"jzbd\",\"typeId\":\"654703553155170304\",\"type\":\"default\",\"showType\":\"list\",\"composeType\":\"treeList\",\"datasetKey\":\"jzbd\",\"unique\":\"id_\",\"typeName\":\"正常数据\",\"datasets\":[{\"isPk\":\"N\",\"icon\":\"fa fa-table\",\"name\":\"t_jzbd\",\"id\":\"675345177866403840\",\"label\":\"加载表单\",\"objName\":\"t_jzbd\",\"type\":\"table\",\"attrType\":\"table\",\"parentId\":\"0\"},{\"isPk\":\"Y\",\"icon\":\"fa fa-varchar\",\"name\":\"id_\",\"id\":\"675345177866403841\",\"label\":\"主键\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"hidden\",\"field_name\":\"id\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"tenant_id_\",\"id\":\"675345177866403842\",\"label\":\"租户ID\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"ip_\",\"id\":\"675345177866403843\",\"label\":\"IP地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"create_by_\",\"id\":\"675345177866403844\",\"label\":\"创建人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"create_time_\",\"id\":\"675345177866403845\",\"label\":\"创建时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"update_by_\",\"id\":\"675345177866403846\",\"label\":\"更新人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"update_time_\",\"id\":\"675345177866403847\",\"label\":\"更新时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shan_hang_\",\"id\":\"675345177866403848\",\"label\":\"单行\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"text\",\"field_name\":\"shanHang\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"default_value\":\"测试\",\"placeholder\":\"请输入\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"duo_heng_\",\"id\":\"675345177866403849\",\"label\":\"多行\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"textarea\",\"field_name\":\"duoHeng\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"placeholder\":\"请输入\",\"mobile\":true,\"default_value\":\"测试\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-number\",\"name\":\"shuo_zi_\",\"id\":\"675345177866403850\",\"label\":\"数字\",\"objName\":\"t_jzbd\",\"type\":\"number\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"number\",\"field_name\":\"shuoZi\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"default_value\":\"1\",\"placeholder\":\"请输入\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"chan_xuan_\",\"id\":\"675345177866403851\",\"label\":\"单选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"radio\",\"field_name\":\"chanXuan\",\"field_options\":{\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"arrangement\":\"horizontal\",\"default_value_type\":\"fixed\",\"datasource\":\"custom\",\"options\":[{\"val\":\"1\",\"label\":\"是\",\"checked\":false},{\"val\":\"2\",\"label\":\"否\",\"checked\":false}]}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"duo_xuan_\",\"id\":\"675345177866403852\",\"label\":\"多选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"checkbox\",\"field_name\":\"duoXuan\",\"field_options\":{\"required\":false,\"is_min_mum\":false,\"is_max_mum\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"arrangement\":\"horizontal\",\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"datasource\":\"custom\",\"options\":[{\"val\":\"1\",\"label\":\"星期一\",\"checked\":false},{\"val\":\"2\",\"label\":\"星期二\",\"checked\":false},{\"val\":\"3\",\"label\":\"星期三\",\"checked\":false},{\"val\":\"4\",\"label\":\"星期四\",\"checked\":false},{\"val\":\"5\",\"label\":\"星期五\",\"checked\":false},{\"val\":\"6\",\"label\":\"星期六\",\"checked\":false},{\"val\":\"7\",\"label\":\"星期日\",\"checked\":false}]}},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"ri_ji_\",\"id\":\"675345177866403853\",\"label\":\"日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"datePicker\",\"field_name\":\"riJi\",\"field_options\":{\"default_value_type\":\"today\",\"required\":true,\"default_value\":null,\"datefmt\":\"yyyy-MM-dd\",\"datefmt_type\":\"date\",\"placeholder\":\"请选择\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xia_la_kuang_\",\"id\":\"675345177866403854\",\"label\":\"下拉框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"select\",\"field_name\":\"xiaLaKuang\",\"field_options\":{\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"datasource\":\"custom\",\"options\":[{\"val\":\"1\",\"label\":\"非常满意\",\"checked\":false},{\"val\":\"2\",\"label\":\"满意\",\"checked\":false},{\"val\":\"3\",\"label\":\"一般\",\"checked\":false},{\"val\":\"4\",\"label\":\"不满意\",\"checked\":false},{\"val\":\"5\",\"label\":\"非常不满意\",\"checked\":false}]}},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"fu_wen_ben_\",\"id\":\"675345177866403855\",\"label\":\"富文本\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"editor\",\"field_name\":\"fuWenBen\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"toolbars\":[\"source\",\"bold\",\"italic\",\"underline\",\"fontborder\",\"strikethrough\",\"pasteplain\",\"|\",\"forecolor\",\"backcolor\",\"selectall\",\"cleardoc\",\"fontfamily\",\"fontsize\"],\"default_value\":\"\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shuo_ju_zi_dian_\",\"id\":\"675345177866403856\",\"label\":\"数据字典\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"dictionary\",\"field_name\":\"shuoJuZiDian\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"fieldControl\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dong_bian_hao_\",\"id\":\"675345177866403857\",\"label\":\"自动编号\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"autoNumber\",\"field_name\":\"ziDongBianHao\",\"field_options\":{\"placeholder\":\"自动生成无需填写\",\"default_value_type\":\"fixed\",\"init\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"identity\":\"rgfd\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"fu_jian_\",\"id\":\"675345177866403858\",\"label\":\"附件\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"attachment\",\"field_name\":\"fuJian\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xuan_ze_qi_\",\"id\":\"675345177866403859\",\"label\":\"选择器\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"selector\",\"field_name\":\"xuanZeQi\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"selector_type\":\"user\",\"store\":\"id\",\"multiple\":true,\"filter\":[],\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"de_zhi_\",\"id\":\"675345177866403860\",\"label\":\"地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"address\",\"field_name\":\"deZhi\",\"field_options\":{\"default_value_type\":\"fixed\",\"default_value\":null,\"placeholder\":\"请选择\",\"top\":\"country\",\"topval\":\"0\",\"level\":\"district\",\"is_street\":true,\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"qian_ming_\",\"id\":\"675345177866403861\",\"label\":\"签名\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"image\",\"field_name\":\"qianMing\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"accept\":\"\",\"uploadType\":\"attachment\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_yong_hu_\",\"id\":\"675345177866403862\",\"label\":\"当前用户\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"currentUser\",\"field_name\":\"dangQianYongHu\",\"field_options\":{\"default_value_type\":\"present\",\"placeholder\":null,\"selector_type\":\"user\",\"store\":\"id\",\"multiple\":false,\"filter\":[],\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_zu_zhi_\",\"id\":\"675345177866403863\",\"label\":\"当前组织\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"currentOrg\",\"field_name\":\"dangQianZuZhi\",\"field_options\":{\"default_value_type\":\"present\",\"placeholder\":null,\"selector_type\":\"org\",\"store\":\"id\",\"multiple\":false,\"filter\":[],\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"qian_shi_jian_\",\"id\":\"675345177866403864\",\"label\":\"当前时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"currentTime\",\"field_name\":\"dangQianShiJian\",\"field_options\":{\"default_value_type\":\"today\",\"placeholder\":\"请选择\",\"datefmt_type\":\"time\",\"datefmt\":\"HH:mm:ss\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"dang_qian_ri_ji_\",\"id\":\"675345177866403865\",\"label\":\"当前日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"currentDate\",\"field_name\":\"dangQianRiJi\",\"field_options\":{\"default_value_type\":\"today\",\"placeholder\":\"请选择\",\"datefmt_type\":\"date\",\"datefmt\":\"yyyy-MM-dd\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"guan_lian_shu_ju_\",\"id\":\"675345177866403866\",\"label\":\"关联数据\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"linkdata\",\"field_name\":\"guanLianShuJu\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":\"N\",\"linkdata\":\"sykjzly\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":null,\"link_config\":{\"id\":\"id_\",\"text\":\"shan_hang_\",\"type\":\"first\"}}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dui_hua_kuang_\",\"id\":\"675345177866403867\",\"label\":\"对话框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"customDialog\",\"field_name\":\"duiHuaKuang\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":\"Y\",\"store\":\"id\",\"dialog_type\":\"dialog\",\"icon\":\"search-plus\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":null,\"dialog\":\"sykjdhk\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_1_\",\"id\":\"675345177866403868\",\"label\":\"字典1\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian1\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"layerTemplate\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_2_\",\"id\":\"675345177866403869\",\"label\":\"字典2\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian2\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"layerTemplate\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_3_\",\"id\":\"675345177866403870\",\"label\":\"字典3\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian3\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"subTemplate\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_4_\",\"id\":\"675345177866403871\",\"label\":\"字典4\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian4\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"tableSource\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_5_\",\"id\":\"675345177866403872\",\"label\":\"字典5\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian5\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"any\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"ys\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_6_\",\"id\":\"675345177866403873\",\"label\":\"字典6\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian6\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"cspp\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_7_\",\"id\":\"675345177866403874\",\"label\":\"字典7\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian7\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"pp1\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_8_\",\"id\":\"675345177866403875\",\"label\":\"字典8\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345177866403840\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian8\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"cstjzd\"}}],\"datasetName\":\"加载表单\",\"datasetType\":\"table\",\"attrs\":{\"form_key\":\"jzbd\"},\"dialogs\":{},\"templates\":[{\"template_id\":\"656097674092609536\",\"template_type\":\"\",\"attrs\":{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20},\"query_columns\":\"\",\"display_columns\":[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"}],\"orig_display_columns\":[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"}],\"filter_conditions\":\"\",\"result_columns\":\"\",\"sort_columns\":\"\",\"buttons\":{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"button_type\":\"resetSearch\",\"label\":\"重置\"},{\"button_type\":\"add\",\"label\":\"添加\"},{\"button_type\":\"remove\",\"label\":\"删除\"},{\"button_type\":\"edit\",\"label\":\"编辑\"},{\"button_type\":\"detail\",\"label\":\"明细\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]},\"export_columns\":\"\",\"ext_columns\":\"\"}]}"
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | String |
根据key查询
简述:
- 根据传入key查询,并返回数据模版信息
请求URL:
- http://ip:port/ibps/business/v3/data/template/getByKey
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
dataTemplateKey | String | 是 | 数据模版key |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/getByKey?dataTemplateKey=jzbd
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": "{\"id\":\"656097674092609536\",\"name\":\"加载表单\",\"key\":\"jzbd\",\"typeId\":\"654703553155170304\",\"type\":\"default\",\"showType\":\"list\",\"composeType\":\"treeList\",\"datasetKey\":\"jzbd\",\"unique\":\"id_\",\"typeName\":\"正常数据\",\"datasets\":[{\"isPk\":\"N\",\"icon\":\"fa fa-table\",\"name\":\"t_jzbd\",\"id\":\"675345569043972096\",\"label\":\"加载表单\",\"objName\":\"t_jzbd\",\"type\":\"table\",\"attrType\":\"table\",\"parentId\":\"0\"},{\"isPk\":\"Y\",\"icon\":\"fa fa-varchar\",\"name\":\"id_\",\"id\":\"675345569043972097\",\"label\":\"主键\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"hidden\",\"field_name\":\"id\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"tenant_id_\",\"id\":\"675345569043972098\",\"label\":\"租户ID\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"ip_\",\"id\":\"675345569043972099\",\"label\":\"IP地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"create_by_\",\"id\":\"675345569043972100\",\"label\":\"创建人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"create_time_\",\"id\":\"675345569043972101\",\"label\":\"创建时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"update_by_\",\"id\":\"675345569043972102\",\"label\":\"更新人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"update_time_\",\"id\":\"675345569043972103\",\"label\":\"更新时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shan_hang_\",\"id\":\"675345569043972104\",\"label\":\"单行\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"text\",\"field_name\":\"shanHang\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"default_value\":\"测试\",\"placeholder\":\"请输入\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"duo_heng_\",\"id\":\"675345569043972105\",\"label\":\"多行\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"textarea\",\"field_name\":\"duoHeng\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"placeholder\":\"请输入\",\"mobile\":true,\"default_value\":\"测试\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-number\",\"name\":\"shuo_zi_\",\"id\":\"675345569043972106\",\"label\":\"数字\",\"objName\":\"t_jzbd\",\"type\":\"number\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"number\",\"field_name\":\"shuoZi\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"default_value\":\"1\",\"placeholder\":\"请输入\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"chan_xuan_\",\"id\":\"675345569043972107\",\"label\":\"单选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"radio\",\"field_name\":\"chanXuan\",\"field_options\":{\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"arrangement\":\"horizontal\",\"default_value_type\":\"fixed\",\"datasource\":\"custom\",\"options\":[{\"val\":\"1\",\"label\":\"是\",\"checked\":false},{\"val\":\"2\",\"label\":\"否\",\"checked\":false}]}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"duo_xuan_\",\"id\":\"675345569043972108\",\"label\":\"多选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"checkbox\",\"field_name\":\"duoXuan\",\"field_options\":{\"required\":false,\"is_min_mum\":false,\"is_max_mum\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"arrangement\":\"horizontal\",\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"datasource\":\"custom\",\"options\":[{\"val\":\"1\",\"label\":\"星期一\",\"checked\":false},{\"val\":\"2\",\"label\":\"星期二\",\"checked\":false},{\"val\":\"3\",\"label\":\"星期三\",\"checked\":false},{\"val\":\"4\",\"label\":\"星期四\",\"checked\":false},{\"val\":\"5\",\"label\":\"星期五\",\"checked\":false},{\"val\":\"6\",\"label\":\"星期六\",\"checked\":false},{\"val\":\"7\",\"label\":\"星期日\",\"checked\":false}]}},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"ri_ji_\",\"id\":\"675345569043972109\",\"label\":\"日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"datePicker\",\"field_name\":\"riJi\",\"field_options\":{\"default_value_type\":\"today\",\"required\":true,\"default_value\":null,\"datefmt\":\"yyyy-MM-dd\",\"datefmt_type\":\"date\",\"placeholder\":\"请选择\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xia_la_kuang_\",\"id\":\"675345569043972110\",\"label\":\"下拉框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"select\",\"field_name\":\"xiaLaKuang\",\"field_options\":{\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"datasource\":\"custom\",\"options\":[{\"val\":\"1\",\"label\":\"非常满意\",\"checked\":false},{\"val\":\"2\",\"label\":\"满意\",\"checked\":false},{\"val\":\"3\",\"label\":\"一般\",\"checked\":false},{\"val\":\"4\",\"label\":\"不满意\",\"checked\":false},{\"val\":\"5\",\"label\":\"非常不满意\",\"checked\":false}]}},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"fu_wen_ben_\",\"id\":\"675345569043972111\",\"label\":\"富文本\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"editor\",\"field_name\":\"fuWenBen\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"toolbars\":[\"source\",\"bold\",\"italic\",\"underline\",\"fontborder\",\"strikethrough\",\"pasteplain\",\"|\",\"forecolor\",\"backcolor\",\"selectall\",\"cleardoc\",\"fontfamily\",\"fontsize\"],\"default_value\":\"\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shuo_ju_zi_dian_\",\"id\":\"675345569043972112\",\"label\":\"数据字典\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"dictionary\",\"field_name\":\"shuoJuZiDian\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"fieldControl\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dong_bian_hao_\",\"id\":\"675345569043972113\",\"label\":\"自动编号\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"autoNumber\",\"field_name\":\"ziDongBianHao\",\"field_options\":{\"placeholder\":\"自动生成无需填写\",\"default_value_type\":\"fixed\",\"init\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"identity\":\"rgfd\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"fu_jian_\",\"id\":\"675345569043972114\",\"label\":\"附件\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"attachment\",\"field_name\":\"fuJian\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xuan_ze_qi_\",\"id\":\"675345569043972115\",\"label\":\"选择器\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"selector\",\"field_name\":\"xuanZeQi\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"selector_type\":\"user\",\"store\":\"id\",\"multiple\":true,\"filter\":[],\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"de_zhi_\",\"id\":\"675345569043972116\",\"label\":\"地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"address\",\"field_name\":\"deZhi\",\"field_options\":{\"default_value_type\":\"fixed\",\"default_value\":null,\"placeholder\":\"请选择\",\"top\":\"country\",\"topval\":\"0\",\"level\":\"district\",\"is_street\":true,\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"qian_ming_\",\"id\":\"675345569043972117\",\"label\":\"签名\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"image\",\"field_name\":\"qianMing\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"accept\":\"\",\"uploadType\":\"attachment\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_yong_hu_\",\"id\":\"675345569043972118\",\"label\":\"当前用户\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"currentUser\",\"field_name\":\"dangQianYongHu\",\"field_options\":{\"default_value_type\":\"present\",\"placeholder\":null,\"selector_type\":\"user\",\"store\":\"id\",\"multiple\":false,\"filter\":[],\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_zu_zhi_\",\"id\":\"675345569043972119\",\"label\":\"当前组织\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"currentOrg\",\"field_name\":\"dangQianZuZhi\",\"field_options\":{\"default_value_type\":\"present\",\"placeholder\":null,\"selector_type\":\"org\",\"store\":\"id\",\"multiple\":false,\"filter\":[],\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"qian_shi_jian_\",\"id\":\"675345569043972120\",\"label\":\"当前时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"currentTime\",\"field_name\":\"dangQianShiJian\",\"field_options\":{\"default_value_type\":\"today\",\"placeholder\":\"请选择\",\"datefmt_type\":\"time\",\"datefmt\":\"HH:mm:ss\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"dang_qian_ri_ji_\",\"id\":\"675345569043972121\",\"label\":\"当前日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"currentDate\",\"field_name\":\"dangQianRiJi\",\"field_options\":{\"default_value_type\":\"today\",\"placeholder\":\"请选择\",\"datefmt_type\":\"date\",\"datefmt\":\"yyyy-MM-dd\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"guan_lian_shu_ju_\",\"id\":\"675345569043972122\",\"label\":\"关联数据\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"linkdata\",\"field_name\":\"guanLianShuJu\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":\"N\",\"linkdata\":\"sykjzly\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":null,\"link_config\":{\"id\":\"id_\",\"text\":\"shan_hang_\",\"type\":\"first\"}}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dui_hua_kuang_\",\"id\":\"675345569043972123\",\"label\":\"对话框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"customDialog\",\"field_name\":\"duiHuaKuang\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":\"Y\",\"store\":\"id\",\"dialog_type\":\"dialog\",\"icon\":\"search-plus\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":null,\"dialog\":\"sykjdhk\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_1_\",\"id\":\"675345569043972124\",\"label\":\"字典1\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian1\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"layerTemplate\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_2_\",\"id\":\"675345569043972125\",\"label\":\"字典2\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian2\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"layerTemplate\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_3_\",\"id\":\"675345569043972126\",\"label\":\"字典3\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian3\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"subTemplate\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_4_\",\"id\":\"675345569043972127\",\"label\":\"字典4\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian4\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"tableSource\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_5_\",\"id\":\"675345569043972128\",\"label\":\"字典5\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian5\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"any\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"ys\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_6_\",\"id\":\"675345569043972129\",\"label\":\"字典6\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian6\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"cspp\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_7_\",\"id\":\"675345569043972130\",\"label\":\"字典7\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian7\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"pp1\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_8_\",\"id\":\"675345569043972131\",\"label\":\"字典8\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675345569043972096\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian8\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"cstjzd\"}}],\"datasetName\":\"加载表单\",\"datasetType\":\"table\",\"attrs\":{\"form_key\":\"jzbd\"},\"dialogs\":{},\"templates\":[{\"template_id\":\"656097674092609536\",\"template_type\":\"\",\"attrs\":{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20},\"query_columns\":\"\",\"display_columns\":[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"}],\"orig_display_columns\":[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"}],\"filter_conditions\":\"\",\"result_columns\":\"\",\"sort_columns\":\"\",\"buttons\":{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"button_type\":\"resetSearch\",\"label\":\"重置\"},{\"button_type\":\"add\",\"label\":\"添加\"},{\"button_type\":\"remove\",\"label\":\"删除\"},{\"button_type\":\"edit\",\"label\":\"编辑\"},{\"button_type\":\"detail\",\"label\":\"明细\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]},\"export_columns\":\"\",\"ext_columns\":\"\"}]}"
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | String |
获取数据模版信息(批量)
简述:
- 获取数据模版信息(批量)
请求URL:
- http://ip:port/ibps/business/v3/data/template/getTemplateData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
dataTemplateKeys | String | 是 | 数据模版id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/getTemplateData?dataTemplateKeys={\"id\":\"654780514015641600\",\"id\":\"654783443263029248\"}
返回示例:
// TODO 请求报400错误,待确认问题
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Map<String, Object> |
导入数据模板
简述:
- 导入数据模板
请求URL:
- http://ip:port/ibps/platform/v3/data/template/importTemplate
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
file | file | 是 | 业务对象定义文件 |
请求参数示例:
对应的zip文件
返回示例:
{
"state": 200,
"request": null,
"message": "导入成功!",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
判断模版key是否存在
简述:
- 判断模版key是否存在
请求URL:
- http://ip:port/ibps/business/v3/data/template/isKeyExists
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
dataTemplateId | string | 是 | 数据模版id | ||
dataTemplateKey | string | 是 | 数据模版key |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/isKeyExists?dataTemplateId=654783443263029248&dataTemplateKey=dxxz
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": false
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Boolean |
数据模版列表(分页条件查询)数据
简述:
- 数据模版列表(分页条件查询)数据
请求URL:
- http://ip:port/ibps/platform/v3/data/template/query
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "回填关联数据",
"ip": null,
"createBy": "1",
"createTime": 1579415903000,
"updateBy": "654384477392338944",
"updateTime": 1581062306000,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "668464276372979712",
"datasetKey": "htglsj",
"key": "htglsj",
"desc": null,
"typeId": "654703487468175360",
"type": "default",
"showType": "list",
"composeType": "treeList",
"unique": "id_",
"dialogs": "",
"attrs": "{\"form_key\":\"htglsj\"}",
"fieldList": null,
"tplList": null
},
{
"pk": "",
"name": "关联数据(查询)值来源",
"ip": null,
"createBy": "1",
"createTime": 1579415460000,
"updateBy": "1",
"updateTime": 1579417974000,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "668462419982417920",
"datasetKey": "glsjcx",
"key": "glsjcxzly",
"desc": null,
"typeId": "654703487468175360",
"type": "valueSource",
"showType": "list",
"composeType": "treeList",
"unique": "id_",
"dialogs": "",
"attrs": "{\"form_key\":\"glsjcx\"}",
"fieldList": null,
"tplList": null
},
{
"pk": "",
"name": "关联数据(查询)",
"ip": null,
"createBy": "1",
"createTime": 1579415397000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "668462155103731712",
"datasetKey": "glsjcx",
"key": "glsjcx",
"desc": null,
"typeId": "654703487468175360",
"type": "default",
"showType": "list",
"composeType": "treeList",
"unique": "id_",
"dialogs": "",
"attrs": "{\"form_key\":\"glsjcx\"}",
"fieldList": null,
"tplList": null
}
],
"pageResult": {
"limit": 3,
"page": 1,
"totalCount": 74,
"totalPages": 25
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< DataTemplatePo > | 数据模板对象 |
获取关联的数据,通过id
简述:
- 获取关联的数据,通过id
请求URL:
- http://ip:port/ibps/business/v3/data/template/queryDataById
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "key",
"value": "zbqx"
},
{
"key": "id",
"value": "654788423114031104"
}
],
"requestPage": {
"pageNo": 1,
"limit": 3
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"result": true,
"data": "",
"id": "654788423114031104",
"title": "",
"key": "zbqx"
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Map<String, Object> |
列表类型返回的数据
简述:
- 列表类型返回的数据
请求URL:
- http://ip:port/ibps/business/v3/data/template/queryDataTable
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
// TODO 参数格式待确认
{
"parameters": [
{
"key": "response_data",
"value": ""
},
{
"key": "filter_condition_key",
"value": ""
}
],
"requestPage": {
"pageNo": 1,
"limit": 3
},
"sorts": []
}
返回示例:
// TODO 待修正
{
"state": 6060400,
"request": null,
"message": "数据模版异常",
"cause": "未获取数据集key",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList<?> |
获取关联的数据
简述:
- 获取关联的数据(key、dynamicParams)
请求URL:
- http://ip:port/ibps/business/v3/data/template/queryLinkData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
// TODO
{
"parameters": [
{
"key": "key",
"value": "sykj"
},
{
"key":"dynamicParams",
"value":""
}
],
"requestPage": {
"pageNo": 1,
"limit": 3
},
"sorts": []
}
返回示例:
// TODO
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"result": false,
"msg": "未获取数据模版key"
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Map<String, Object> |
通过数据模板key获取联动的数据
简述:
- 通过数据模板key获取联动的数据(key)
请求URL:
- http://ip:port/ibps/business/v3/data/template/queryLinkageData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "key",
"value": "sykj"
}
],
"requestPage": {
"pageNo": 1,
"limit": 3
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"zi_dong_bian_hao_": "2019121200006g",
"ri_ji_": "2019-06-03",
"xuan_ze_qi_": "{\"name\":\"姗姗\",\"id\":\"654621442352087040\"}",
"chan_xuan_": "2",
"dang_qian_yong_hu_": "654621442352087040",
"xia_la_kuang_": "2",
"qian_shi_jian_": "2019-12-12",
"dang_qian_zu_zhi_": "",
"duo_xuan_": "2,3",
"dang_qian_ri_ji_": "2019-12-12",
"duo_heng_": "测试1234",
"shuo_ju_zi_dian_": "h11",
"fu_jian_": "654705156385931264,654705273193103360,654705317728223232",
"shan_hang_": "测试数据123",
"de_zhi_": "{\"province\":\"12\",\"city\":\"1201\",\"street\":\"测试123\",\"district\":\"120101\"}",
"shuo_zi_": 1
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Object |
获取对话框信息
简述:
- 获取所有对话框信息
请求URL:
- http://ip:port/ibps/business/v3/data/template/querySelectorData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "测试对话框",
"ip": null,
"createBy": "1",
"createTime": 1578886778000,
"updateBy": "1",
"updateTime": 1578969698000,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666244965344477184",
"datasetKey": "cstc",
"key": "csdhk",
"desc": null,
"typeId": "",
"type": "dialog",
"showType": "list",
"composeType": "treeList",
"unique": "id_",
"dialogs": "{\"attrs\":{\"multi\":\"N\"},\"buttons\":{\"dialog_buttons\":[{\"label\":\"确定\",\"button_type\":\"ok\"},{\"label\":\"清空\",\"button_type\":\"clean\"},{\"label\":\"清空并关闭\",\"button_type\":\"cleanClose\"},{\"label\":\"取消\",\"button_type\":\"cancel\"},{\"label\":\"自定义\",\"button_type\":\"custom\"}]}}",
"attrs": "{\"form_key\":\"cstc\"}",
"fieldList": [
{
"pk": "",
"name": "cstc",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666592760064638976",
"templateId": "666244965344477184",
"label": "测试弹窗",
"objName": "cstc",
"fieldType": null,
"fieldOptions": null,
"sn": null
}
],
"tplList": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "666592759645208576",
"templateId": "666244965344477184",
"type": "",
"queryColumns": "[{\"label\":\"单行文本\",\"name\":\"dan_xing_wen_ben_\"},{\"label\":\"多行文本\",\"name\":\"duo_xing_wen_ben_\"}]",
"displayColumns": "[{\"label\":\"单行文本\",\"name\":\"dan_xing_wen_ben_\"},{\"label\":\"多行文本\",\"name\":\"duo_xing_wen_ben_\"},{\"label\":\"单选\",\"name\":\"dan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"下拉\",\"name\":\"xia_la_\"},{\"label\":\"日期\",\"name\":\"ri_qi_\"},{\"label\":\"数字\",\"name\":\"shu_zi_\"},{\"label\":\"关联数据\",\"name\":\"guan_lian_shu_ju_\"},{\"label\":\"自定义对话框\",\"name\":\"zi_ding_yi_dui_hu\"},{\"label\":\"选择器——组织\",\"name\":\"xuan_ze_qi_zu_\"},{\"label\":\"选择器用户\",\"name\":\"xuan_ze_qi_yong_\"},{\"label\":\"选择器岗位\",\"name\":\"xuan_ze_qi_gang_\"},{\"label\":\"选择器角色\",\"name\":\"xuan_ze_qi_jiao\"},{\"label\":\"数据字典\",\"name\":\"shu_ju_zi_dian_\"},{\"label\":\"上传附件\",\"name\":\"shang_chuan_fu\"},{\"label\":\"地址\",\"name\":\"di_zhi_\"},{\"label\":\"自动编号\",\"name\":\"zi_dong_bian_hao_\"}]",
"filterConditions": "[{\"label\":\"默认条件\",\"key\":\"7bcb5e88-ebc9-4076-84a8-38bc20460155\",\"type\":\"condition\",\"rights\":[{\"type\":\"all\"}],\"filter\":{\"condition\":\"AND\",\"rules\":[{\"id\":\"dan_xing_wen_ben_\",\"field\":\"dan_xing_wen_ben_\",\"label\":\"单行文本\",\"type\":\"string\",\"input\":\"text\",\"operator\":\"equal\",\"source\":\"fixed\",\"value\":\"单行1\"},{\"id\":\"duo_xing_wen_ben_\",\"field\":\"duo_xing_wen_ben_\",\"label\":\"多行文本\",\"type\":\"string\",\"input\":\"text\",\"operator\":\"equal\",\"source\":\"fixed\",\"value\":\"多行1\"}]}}]",
"sortColumns": "",
"resultColumns": "[{\"label\":\"单行文本\",\"name\":\"dan_xing_wen_ben_\"}]",
"functionButtons": "{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"button_type\":\"resetSearch\",\"label\":\"重置\"},{\"button_type\":\"add\",\"label\":\"添加\"},{\"button_type\":\"remove\",\"label\":\"删除\"},{\"button_type\":\"edit\",\"label\":\"编辑\"},{\"button_type\":\"detail\",\"label\":\"明细\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]}",
"exportColumns": "",
"extColumns": "",
"attrs": "{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20}"
}
]
},
{
"pk": "",
"name": "弹窗",
"ip": null,
"createBy": "1",
"createTime": 1577092747000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "658720252070199296",
"datasetKey": "zbo",
"key": "tc",
"desc": null,
"typeId": "",
"type": "dialog",
"showType": "list",
"composeType": "treeList",
"unique": "id_",
"dialogs": "{\"attrs\":{\"multi\":\"N\",\"width\":80,\"height\":80},\"buttons\":{\"dialog_buttons\":[{\"button_type\":\"ok\",\"label\":\"确定\"},{\"button_type\":\"clean\",\"label\":\"清空\"},{\"button_type\":\"cancel\",\"label\":\"取消\"}]}}",
"attrs": "{\"form_key\":\"zbo\"}",
"fieldList": [
{
"pk": "",
"name": "t_zbo",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "658720252330246144",
"templateId": "658720252070199296",
"label": "主表哦",
"objName": "t_zbo",
"fieldType": null,
"fieldOptions": null,
"sn": null
},
{
"pk": "",
"name": "id_",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "658720252422520832",
"templateId": "658720252070199296",
"label": "主键",
"objName": "t_zbo",
"fieldType": "text",
"fieldOptions": "",
"sn": 1
}
],
"tplList": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "658720252191834112",
"templateId": "658720252070199296",
"type": "",
"queryColumns": "[{\"label\":\"申请人\",\"name\":\"shen_qing_ren_\"},{\"label\":\"申请时间\",\"name\":\"shen_qing_shi_\"},{\"label\":\"申请类型\",\"name\":\"shen_qing_lei_\"},{\"label\":\"申请描述\",\"name\":\"shen_qing_o_shu_\"}]",
"displayColumns": "[{\"label\":\"申请人\",\"name\":\"shen_qing_ren_\"},{\"label\":\"申请时间\",\"name\":\"shen_qing_shi_\"},{\"label\":\"申请类型\",\"name\":\"shen_qing_lei_\"},{\"label\":\"申请描述\",\"name\":\"shen_qing_o_shu_\"}]",
"filterConditions": "",
"sortColumns": "",
"resultColumns": "[{\"label\":\"申请人\",\"name\":\"shen_qing_ren_\"},{\"label\":\"申请时间\",\"name\":\"shen_qing_shi_\"},{\"label\":\"申请类型\",\"name\":\"shen_qing_lei_\"},{\"label\":\"申请描述\",\"name\":\"shen_qing_o_shu_\"}]",
"functionButtons": "{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"label\":\"添加\",\"button_type\":\"add\"},{\"label\":\"编辑\",\"button_type\":\"edit\"},{\"label\":\"删除\",\"button_type\":\"remove\"},{\"label\":\"明细\",\"button_type\":\"detail\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]}",
"exportColumns": "",
"extColumns": "",
"attrs": "{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20,\"data_title\":{\"type\":\"first\"}}"
}
]
},
{
"pk": "",
"name": "基础数据(对话框查询)",
"ip": null,
"createBy": "1",
"createTime": 1576769877000,
"updateBy": "1",
"updateTime": 1576831554000,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "657366038354067456",
"datasetKey": "jcsj",
"key": "jcsjdhkcx",
"desc": null,
"typeId": "654703553155170304",
"type": "dialog",
"showType": "list",
"composeType": "treeList",
"unique": "id_",
"dialogs": "{\"attrs\":{\"multi\":\"N\",\"width\":80,\"height\":80},\"buttons\":{\"dialog_buttons\":[{\"button_type\":\"ok\",\"label\":\"保存\",\"rights\":[{\"type\":\"all\"}],\"style\":\"primary\"},{\"button_type\":\"clean\",\"label\":\"清空\"},{\"button_type\":\"cancel\",\"label\":\"取消\"},{\"label\":\"清空并关闭\",\"button_type\":\"cleanClose\"}]}}",
"attrs": "{\"form_key\":\"jcsj\"}",
"fieldList": [
{
"pk": "",
"name": "t_jcsj",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "657624732140568576",
"templateId": "657366038354067456",
"label": "基础数据",
"objName": "t_jcsj",
"fieldType": null,
"fieldOptions": null,
"sn": null
}
],
"tplList": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "657624731930853376",
"templateId": "657366038354067456",
"type": "",
"queryColumns": "[{\"label\":\"单行\",\"name\":\"dan_xing_\"},{\"label\":\"多行\",\"name\":\"duo_xing_\"},{\"label\":\"数字\",\"name\":\"shu_zi_\"},{\"label\":\"单选\",\"name\":\"dan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_qi_\"},{\"label\":\"下拉\",\"name\":\"xia_la_\"},{\"label\":\"选择器\",\"name\":\"xuan_ze_qi_\"},{\"label\":\"数据字典\",\"name\":\"shu_ju_zi_dian_\"},{\"label\":\"上传附件\",\"name\":\"shang_chuan_fu_jian_\"},{\"label\":\"地址\",\"name\":\"di_zhi_\"},{\"label\":\"当前用户\",\"name\":\"dang_qian_yong_hu_\"},{\"label\":\"当前组织\",\"name\":\"dang_qian_zu_zhi_\"},{\"label\":\"当前时间\",\"name\":\"dang_qian_shi_jian_\"},{\"label\":\"当前日期\",\"name\":\"dang_qian_ri_qi_\"},{\"label\":\"签名\",\"name\":\"qian_ming_\"},{\"label\":\"富文本框\",\"name\":\"fu_wen_ben_kuang_\"}]",
"displayColumns": "[{\"label\":\"单行\",\"name\":\"dan_xing_\"},{\"label\":\"多行\",\"name\":\"duo_xing_\"},{\"label\":\"数字\",\"name\":\"shu_zi_\"},{\"label\":\"单选\",\"name\":\"dan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_qi_\"},{\"label\":\"下拉\",\"name\":\"xia_la_\"}]",
"filterConditions": "",
"sortColumns": "",
"resultColumns": "[{\"label\":\"单选\",\"name\":\"dan_xuan_\"},{\"label\":\"多行\",\"name\":\"duo_xing_\"},{\"label\":\"单行\",\"name\":\"dan_xing_\"},{\"label\":\"数字\",\"name\":\"shu_zi_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_qi_\"},{\"label\":\"下拉\",\"name\":\"xia_la_\"},{\"label\":\"选择器\",\"name\":\"xuan_ze_qi_\"},{\"label\":\"数据字典\",\"name\":\"shu_ju_zi_dian_\"},{\"label\":\"上传附件\",\"name\":\"shang_chuan_fu_jian_\"},{\"label\":\"地址\",\"name\":\"di_zhi_\"},{\"label\":\"当前用户\",\"name\":\"dang_qian_yong_hu_\"},{\"label\":\"当前组织\",\"name\":\"dang_qian_zu_zhi_\"},{\"label\":\"当前时间\",\"name\":\"dang_qian_shi_jian_\"},{\"label\":\"当前日期\",\"name\":\"dang_qian_ri_qi_\"},{\"label\":\"签名\",\"name\":\"qian_ming_\"},{\"label\":\"富文本框\",\"name\":\"fu_wen_ben_kuang_\"},{\"label\":\"主键\",\"name\":\"id_\"}]",
"functionButtons": "{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]}",
"exportColumns": "",
"extColumns": "",
"attrs": "{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20,\"data_title\":{\"type\":\"first\"}}"
}
]
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List<?> |
获取对话框信息
简述:
- 根据模板key,获取对话框信息
请求URL:
- http://ip:port/ibps/business/v3/data/template/querySelectorDataByKey
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "key",
"value": "sykjzly"
}
],
"requestPage": {
"pageNo": 1,
"limit": 3
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "所有控件(值来源)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654707601103126528",
"datasetKey": null,
"key": "sykjzly",
"desc": null,
"typeId": null,
"type": null,
"showType": null,
"composeType": null,
"unique": "id_",
"dialogs": null,
"attrs": null,
"fieldList": null,
"tplList": null,
"queryColumns": "",
"filterConditions": "",
"resultColumns": "[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"},{\"label\":\"下拉框\",\"name\":\"xia_la_kuang_\"},{\"label\":\"数据字典\",\"name\":\"shuo_ju_zi_dian_\"},{\"label\":\"自动编号\",\"name\":\"zi_dong_bian_hao_\"},{\"label\":\"附件\",\"name\":\"fu_jian_\"},{\"label\":\"选择器\",\"name\":\"xuan_ze_qi_\"},{\"label\":\"地址\",\"name\":\"de_zhi_\"},{\"label\":\"富文本\",\"name\":\"fu_wen_ben_\"},{\"label\":\"签名\",\"name\":\"qian_ming_\"},{\"label\":\"当前用户\",\"name\":\"dang_qian_yong_hu_\"},{\"label\":\"当前日期\",\"name\":\"dang_qian_ri_ji_\"},{\"label\":\"当前组织\",\"name\":\"dang_qian_zu_zhi_\"},{\"label\":\"当前时间\",\"name\":\"qian_shi_jian_\"},{\"label\":\"主键\",\"name\":\"id_\"}]"
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | DataTemplateVo | 数据模板Vo |
树形类型返回的数据
简述:
- 树形类型返回的数据
请求URL:
- http://ip:port/ibps/business/v3/data/template/queryTreeData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [
{
"key": "response_data",
"value": "{\"id\":\"656097674092609536\",\"name\":\"加载表单\",\"key\":\"jzbd\",\"typeId\":\"654703553155170304\",\"type\":\"default\",\"showType\":\"list\",\"composeType\":\"treeList\",\"datasetKey\":\"jzbd\",\"unique\":\"id_\",\"typeName\":\"正常数据\",\"datasets\":[{\"isPk\":\"N\",\"icon\":\"fa fa-table\",\"name\":\"t_jzbd\",\"id\":\"675417123891183616\",\"label\":\"加载表单\",\"objName\":\"t_jzbd\",\"type\":\"table\",\"attrType\":\"table\",\"parentId\":\"0\"},{\"isPk\":\"Y\",\"icon\":\"fa fa-varchar\",\"name\":\"id_\",\"id\":\"675417123891183617\",\"label\":\"主键\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"hidden\",\"field_name\":\"id\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"tenant_id_\",\"id\":\"675417123891183618\",\"label\":\"租户ID\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"ip_\",\"id\":\"675417123891183619\",\"label\":\"IP地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"create_by_\",\"id\":\"675417123891183620\",\"label\":\"创建人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"create_time_\",\"id\":\"675417123891183621\",\"label\":\"创建时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"update_by_\",\"id\":\"675417123891183622\",\"label\":\"更新人\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\"},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"update_time_\",\"id\":\"675417123891183623\",\"label\":\"更新时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\"},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shan_hang_\",\"id\":\"675417123891183624\",\"label\":\"单行\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"text\",\"field_name\":\"shanHang\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"default_value\":\"测试\",\"placeholder\":\"请输入\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"duo_heng_\",\"id\":\"675417123891183625\",\"label\":\"多行\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"textarea\",\"field_name\":\"duoHeng\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"placeholder\":\"请输入\",\"mobile\":true,\"default_value\":\"测试\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-number\",\"name\":\"shuo_zi_\",\"id\":\"675417123891183626\",\"label\":\"数字\",\"objName\":\"t_jzbd\",\"type\":\"number\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"number\",\"field_name\":\"shuoZi\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"default_value\":\"1\",\"placeholder\":\"请输入\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"chan_xuan_\",\"id\":\"675417123891183627\",\"label\":\"单选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"radio\",\"field_name\":\"chanXuan\",\"field_options\":{\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"arrangement\":\"horizontal\",\"default_value_type\":\"fixed\",\"datasource\":\"custom\",\"options\":[{\"val\":\"1\",\"label\":\"是\",\"checked\":false},{\"val\":\"2\",\"label\":\"否\",\"checked\":false}]}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"duo_xuan_\",\"id\":\"675417123891183628\",\"label\":\"多选\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"checkbox\",\"field_name\":\"duoXuan\",\"field_options\":{\"required\":false,\"is_min_mum\":false,\"is_max_mum\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"arrangement\":\"horizontal\",\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"datasource\":\"custom\",\"options\":[{\"val\":\"1\",\"label\":\"星期一\",\"checked\":false},{\"val\":\"2\",\"label\":\"星期二\",\"checked\":false},{\"val\":\"3\",\"label\":\"星期三\",\"checked\":false},{\"val\":\"4\",\"label\":\"星期四\",\"checked\":false},{\"val\":\"5\",\"label\":\"星期五\",\"checked\":false},{\"val\":\"6\",\"label\":\"星期六\",\"checked\":false},{\"val\":\"7\",\"label\":\"星期日\",\"checked\":false}]}},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"ri_ji_\",\"id\":\"675417123891183629\",\"label\":\"日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"datePicker\",\"field_name\":\"riJi\",\"field_options\":{\"default_value_type\":\"today\",\"required\":true,\"default_value\":null,\"datefmt\":\"yyyy-MM-dd\",\"datefmt_type\":\"date\",\"placeholder\":\"请选择\",\"mobile\":true}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xia_la_kuang_\",\"id\":\"675417123891183630\",\"label\":\"下拉框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"select\",\"field_name\":\"xiaLaKuang\",\"field_options\":{\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"datasource\":\"custom\",\"options\":[{\"val\":\"1\",\"label\":\"非常满意\",\"checked\":false},{\"val\":\"2\",\"label\":\"满意\",\"checked\":false},{\"val\":\"3\",\"label\":\"一般\",\"checked\":false},{\"val\":\"4\",\"label\":\"不满意\",\"checked\":false},{\"val\":\"5\",\"label\":\"非常不满意\",\"checked\":false}]}},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"fu_wen_ben_\",\"id\":\"675417123891183631\",\"label\":\"富文本\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"editor\",\"field_name\":\"fuWenBen\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"toolbars\":[\"source\",\"bold\",\"italic\",\"underline\",\"fontborder\",\"strikethrough\",\"pasteplain\",\"|\",\"forecolor\",\"backcolor\",\"selectall\",\"cleardoc\",\"fontfamily\",\"fontsize\"],\"default_value\":\"\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"shuo_ju_zi_dian_\",\"id\":\"675417123891183632\",\"label\":\"数据字典\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"dictionary\",\"field_name\":\"shuoJuZiDian\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"fieldControl\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dong_bian_hao_\",\"id\":\"675417123891183633\",\"label\":\"自动编号\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"autoNumber\",\"field_name\":\"ziDongBianHao\",\"field_options\":{\"placeholder\":\"自动生成无需填写\",\"default_value_type\":\"fixed\",\"init\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"identity\":\"rgfd\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"fu_jian_\",\"id\":\"675417123891183634\",\"label\":\"附件\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"attachment\",\"field_name\":\"fuJian\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"xuan_ze_qi_\",\"id\":\"675417123891183635\",\"label\":\"选择器\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"selector\",\"field_name\":\"xuanZeQi\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"selector_type\":\"user\",\"store\":\"id\",\"multiple\":true,\"filter\":[],\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"de_zhi_\",\"id\":\"675417123891183636\",\"label\":\"地址\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"address\",\"field_name\":\"deZhi\",\"field_options\":{\"default_value_type\":\"fixed\",\"default_value\":null,\"placeholder\":\"请选择\",\"top\":\"country\",\"topval\":\"0\",\"level\":\"district\",\"is_street\":true,\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-clob\",\"name\":\"qian_ming_\",\"id\":\"675417123891183637\",\"label\":\"签名\",\"objName\":\"t_jzbd\",\"type\":\"clob\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"image\",\"field_name\":\"qianMing\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"accept\":\"\",\"uploadType\":\"attachment\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_yong_hu_\",\"id\":\"675417123891183638\",\"label\":\"当前用户\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"currentUser\",\"field_name\":\"dangQianYongHu\",\"field_options\":{\"default_value_type\":\"present\",\"placeholder\":null,\"selector_type\":\"user\",\"store\":\"id\",\"multiple\":false,\"filter\":[],\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dang_qian_zu_zhi_\",\"id\":\"675417123891183639\",\"label\":\"当前组织\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"currentOrg\",\"field_name\":\"dangQianZuZhi\",\"field_options\":{\"default_value_type\":\"present\",\"placeholder\":null,\"selector_type\":\"org\",\"store\":\"id\",\"multiple\":false,\"filter\":[],\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"qian_shi_jian_\",\"id\":\"675417123891183640\",\"label\":\"当前时间\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"currentTime\",\"field_name\":\"dangQianShiJian\",\"field_options\":{\"default_value_type\":\"today\",\"placeholder\":\"请选择\",\"datefmt_type\":\"time\",\"datefmt\":\"HH:mm:ss\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-date\",\"name\":\"dang_qian_ri_ji_\",\"id\":\"675417123891183641\",\"label\":\"当前日期\",\"objName\":\"t_jzbd\",\"type\":\"date\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"currentDate\",\"field_name\":\"dangQianRiJi\",\"field_options\":{\"default_value_type\":\"today\",\"placeholder\":\"请选择\",\"datefmt_type\":\"date\",\"datefmt\":\"yyyy-MM-dd\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"guan_lian_shu_ju_\",\"id\":\"675417123891183642\",\"label\":\"关联数据\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"linkdata\",\"field_name\":\"guanLianShuJu\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":\"N\",\"linkdata\":\"sykjzly\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":null,\"link_config\":{\"id\":\"id_\",\"text\":\"shan_hang_\",\"type\":\"first\"}}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"dui_hua_kuang_\",\"id\":\"675417123891183643\",\"label\":\"对话框\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"customDialog\",\"field_name\":\"duiHuaKuang\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":\"Y\",\"store\":\"id\",\"dialog_type\":\"dialog\",\"icon\":\"search-plus\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":null,\"dialog\":\"sykjdhk\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_1_\",\"id\":\"675417123891183644\",\"label\":\"字典1\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian1\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"layerTemplate\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_2_\",\"id\":\"675417123891183645\",\"label\":\"字典2\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian2\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"layerTemplate\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_3_\",\"id\":\"675417123891183646\",\"label\":\"字典3\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian3\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"subTemplate\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_4_\",\"id\":\"675417123891183647\",\"label\":\"字典4\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian4\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"tableSource\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_5_\",\"id\":\"675417123891183648\",\"label\":\"字典5\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian5\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"any\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"ys\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_6_\",\"id\":\"675417123891183649\",\"label\":\"字典6\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian6\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"cspp\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_7_\",\"id\":\"675417123891183650\",\"label\":\"字典7\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian7\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"pp1\"}},{\"isPk\":\"N\",\"icon\":\"fa fa-varchar\",\"name\":\"zi_dian_8_\",\"id\":\"675417123891183651\",\"label\":\"字典8\",\"objName\":\"t_jzbd\",\"type\":\"varchar\",\"attrType\":\"column\",\"parentId\":\"675417123891183616\",\"field_type\":\"dictionary\",\"field_name\":\"ziDian8\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"multiple\":false,\"select_mode\":\"leaf\",\"display_mode\":\"path\",\"split\":\"/\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"default_value\":\"\",\"dictionary\":\"cstjzd\"}}],\"datasetName\":\"加载表单\",\"datasetType\":\"table\",\"attrs\":{\"form_key\":\"jzbd\"},\"dialogs\":{},\"templates\":[{\"template_id\":\"656097674092609536\",\"template_type\":\"\",\"attrs\":{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20},\"query_columns\":\"\",\"display_columns\":[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"}],\"orig_display_columns\":[{\"label\":\"单行\",\"name\":\"shan_hang_\"},{\"label\":\"多行\",\"name\":\"duo_heng_\"},{\"label\":\"数字\",\"name\":\"shuo_zi_\"},{\"label\":\"单选\",\"name\":\"chan_xuan_\"},{\"label\":\"多选\",\"name\":\"duo_xuan_\"},{\"label\":\"日期\",\"name\":\"ri_ji_\"}],\"filter_conditions\":\"\",\"result_columns\":\"\",\"sort_columns\":\"\",\"buttons\":{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"button_type\":\"resetSearch\",\"label\":\"重置\"},{\"button_type\":\"add\",\"label\":\"添加\"},{\"button_type\":\"remove\",\"label\":\"删除\"},{\"button_type\":\"edit\",\"label\":\"编辑\"},{\"button_type\":\"detail\",\"label\":\"明细\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]},\"export_columns\":\"\",\"ext_columns\":\"\"}]}"
}
],
"requestPage": {
"pageNo": 1,
"limit": 3
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"id_": "656101186113372160"
},
{
"id_": "656088467029098496"
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List<?> |
删除(批量)数据模版
简述:
- 删除(批量)数据模版
请求URL:
- http://ip:port/ibps/business/v3/data/template/remove
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
dataTemplateIds | String[] | 是 | 数据模板id数组 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/remove?dataTemplateIds=675417675207278592,675417737991815168
返回示例:
{
"state": 200,
"request": null,
"message": "删除数据模版成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
删除表单数据
简述:
- 删除表单数据
请求URL:
- http://ip:port/ibps/business/v3/data/template/removeFormData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
formKey | String | 是 | 表单Key | ||
ids | String[] | 是 | 主键id值 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/data/template/removeFormData?formKey=sjzb&ids=656920483987456000
返回示例:
{
"state": 200,
"request": null,
"message": "删除表单数据成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
保存数据模版信息
简述:
- 保存数据模版信息
请求URL:
- http://ip:port/ibps/business/v3/data/template/save/vo
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
DataTemplateRequestVo 对象信息
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
formKey | String | 否 | 主表单key | |
boCode | String | 否 | bo定义CODE | |
pk | String | 否 | 主键ID | |
version | Integer | 否 | 0 | 版本号 |
data | String | 是 | 数据模板json |
请求参数示例:
{"data":"{\"name\":\"TESTS\",\"key\":\"TESTS\",\"typeId\":\"\",\"type\":\"default\",\"showType\":\"list\",\"composeType\":\"treeList\",\"datasetKey\":\"test\",\"datasetType\":\"table\",\"unique\":\"id_\",\"datasets\":[{\"id\":\"675419622689734656\",\"label\":\"test\",\"name\":\"t_test\",\"parentId\":\"0\",\"type\":\"table\",\"attrType\":\"table\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-table\"},{\"id\":\"675419622689734657\",\"label\":\"主键\",\"name\":\"id_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"Y\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734658\",\"label\":\"租户ID\",\"name\":\"tenant_id_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734659\",\"label\":\"IP地址\",\"name\":\"ip_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734660\",\"label\":\"创建人\",\"name\":\"create_by_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734661\",\"label\":\"创建时间\",\"name\":\"create_time_\",\"parentId\":\"675419622689734656\",\"type\":\"date\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-date\"},{\"id\":\"675419622689734662\",\"label\":\"更新人\",\"name\":\"update_by_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734663\",\"label\":\"更新时间\",\"name\":\"update_time_\",\"parentId\":\"675419622689734656\",\"type\":\"date\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-date\"}],\"templates\":[{\"attrs\":{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20},\"buttons\":{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"button_type\":\"resetSearch\",\"label\":\"重置\"},{\"button_type\":\"add\",\"label\":\"添加\"},{\"button_type\":\"remove\",\"label\":\"删除\"},{\"button_type\":\"edit\",\"label\":\"编辑\"},{\"button_type\":\"detail\",\"label\":\"明细\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]}}],\"attrs\":{\"form_key\":\"ugyu\"}}"}
返回示例:
{
"state": 200,
"request": null,
"message": "保存数据模版成功",
"cause": "",
"variables": {
"id": "675419821399080960"
},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | String |
保存表单数据
简述:
- 保存表单数据
请求URL:
- http://ip:port/ibps/business/v3/data/template/saveFormData/vo
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
DataTemplateRequestVo 对象信息
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
formKey | String | 否 | 主表单key | |
boCode | String | 否 | bo定义CODE | |
pk | String | 否 | 主键ID | |
version | Integer | 否 | 0 | 版本号 |
data | String | 是 | 数据模板json |
请求参数示例:
{
"data": "{\"name\":\"TESTS\",\"key\":\"TESTS\",\"typeId\":\"\",\"type\":\"default\",\"showType\":\"list\",\"composeType\":\"treeList\",\"datasetKey\":\"test\",\"datasetType\":\"table\",\"unique\":\"id_\",\"datasets\":[{\"id\":\"675419622689734656\",\"label\":\"test\",\"name\":\"t_test\",\"parentId\":\"0\",\"type\":\"table\",\"attrType\":\"table\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-table\"},{\"id\":\"675419622689734657\",\"label\":\"主键\",\"name\":\"id_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"Y\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734658\",\"label\":\"租户ID\",\"name\":\"tenant_id_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734659\",\"label\":\"IP地址\",\"name\":\"ip_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734660\",\"label\":\"创建人\",\"name\":\"create_by_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734661\",\"label\":\"创建时间\",\"name\":\"create_time_\",\"parentId\":\"675419622689734656\",\"type\":\"date\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-date\"},{\"id\":\"675419622689734662\",\"label\":\"更新人\",\"name\":\"update_by_\",\"parentId\":\"675419622689734656\",\"type\":\"varchar\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-varchar\"},{\"id\":\"675419622689734663\",\"label\":\"更新时间\",\"name\":\"update_time_\",\"parentId\":\"675419622689734656\",\"type\":\"date\",\"attrType\":\"column\",\"objName\":\"t_test\",\"isPk\":\"N\",\"icon\":\"fa fa-date\"}],\"templates\":[{\"attrs\":{\"init_query\":\"Y\",\"need_page\":\"Y\",\"page_size\":20},\"buttons\":{\"function_buttons\":[{\"button_type\":\"search\",\"label\":\"搜索\"},{\"button_type\":\"resetSearch\",\"label\":\"重置\"},{\"button_type\":\"add\",\"label\":\"添加\"},{\"button_type\":\"remove\",\"label\":\"删除\"},{\"button_type\":\"edit\",\"label\":\"编辑\"},{\"button_type\":\"detail\",\"label\":\"明细\"}],\"edit_buttons\":[{\"button_type\":\"close\",\"label\":\"关闭\"},{\"button_type\":\"save\",\"label\":\"保存\"}]}}],\"attrs\":{\"form_key\":\"ugyu\"}}",
"formKey": "ugyu",
"version":"1",
"boCode":"test"
}
返回示例:
{
"state": 200,
"request": null,
"message": "保存表单数据成功",
"cause": "",
"variables": {
"id": null
},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
备注
- [1] : APIRequest为动态查询请求对象,详情请移步全局请求格式