构建树

简述:

  • 构建树

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boCode String bo定义code
boDefId String bo定义Id
mode String bo 设计模式
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/buildTree?boCode=csdx&boDefId=654677054784012288&mode=bo

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": [
        {
            "id": "654677054784012288",
            "name": "抄送对象:V1",
            "key": "csdx",
            "parentId": "0",
            "type": "table",
            "attrType": "table",
            "tableName": "csdx",
            "icon": "fa fa-table",
            "relation": null,
            "isPk": false
        },
        {
            "id": "654677055031476224",
            "name": "主键",
            "key": "id",
            "parentId": "654677054784012288",
            "type": "varchar",
            "attrType": "field",
            "tableName": "csdx",
            "icon": "fa fa-varchar",
            "relation": "one2many",
            "isPk": false
        },
        {
            "id": "654677057808105472",
            "name": "租户ID",
            "key": "tenantId",
            "parentId": "654677054784012288",
            "type": "varchar",
            "attrType": "field",
            "tableName": "csdx",
            "icon": "fa fa-varchar",
            "relation": "one2many",
            "isPk": false
        },
        {
            "id": "654677057829076992",
            "name": "IP地址",
            "key": "ip",
            "parentId": "654677054784012288",
            "type": "varchar",
            "attrType": "field",
            "tableName": "csdx",
            "icon": "fa fa-varchar",
            "relation": "one2many",
            "isPk": false
        },
        {
            "id": "654677057862631424",
            "name": "创建人",
            "key": "createBy",
            "parentId": "654677054784012288",
            "type": "varchar",
            "attrType": "field",
            "tableName": "csdx",
            "icon": "fa fa-varchar",
            "relation": "one2many",
            "isPk": false
        },
        {
            "id": "654677057883602944",
            "name": "创建时间",
            "key": "createTime",
            "parentId": "654677054784012288",
            "type": "date",
            "attrType": "field",
            "tableName": "csdx",
            "icon": "fa fa-date",
            "relation": "one2many",
            "isPk": false
        },
        {
            "id": "654677057921351680",
            "name": "更新人",
            "key": "updateBy",
            "parentId": "654677054784012288",
            "type": "varchar",
            "attrType": "field",
            "tableName": "csdx",
            "icon": "fa fa-varchar",
            "relation": "one2many",
            "isPk": false
        },
        {
            "id": "654677057950711808",
            "name": "更新时间",
            "key": "updateTime",
            "parentId": "654677054784012288",
            "type": "date",
            "attrType": "field",
            "tableName": "csdx",
            "icon": "fa fa-date",
            "relation": "one2many",
            "isPk": false
        },
        {
            "id": "654677057988460544",
            "name": "数据",
            "key": "shuJu",
            "parentId": "654677054784012288",
            "type": "varchar",
            "attrType": "field",
            "tableName": "csdx",
            "icon": "fa fa-varchar",
            "relation": "one2many",
            "isPk": false
        }
    ]
}

返回参数说明:

名称 类型 备注
data List< TableTreeVo > 表树Vo

保存复制表单定义信息

简述:

  • 保存复制表单定义信息

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:

FormDefPo 对象信息

名称 类型 是否必须 默认值 备注
id String 主键
name String 表单名称
key String 表单业务主键
mode String 设计模式
desc String 表单描述
status String 表单状态
typeId String 所属分类ID
isMain String 是否主版本
version Integer 表单版本号
formHtml String 表单设计(HTML代码)
extendAttr String 扩展属性
createBy String 创建人ID
createTime Date 创建时间
updateTime Date 更新时间
formBo FormBoPo
formFieldList List
data String

请求参数示例:

{
    "pk": "",
    "name": "关联数据(查询)s",
    "ip": null,
    "createBy": "1",
    "createTime": "2020-01-19 14:21:31",
    "updateBy": null,
    "updateTime": null,
    "tenantId": null,
    "dataStatus": null,
    "dbtype": null,
    "id": "668460031833800704",
    "key": "glsjcxs",
    "mode": "bo",
    "desc": "",
    "status": "deploy",
    "typeId": "654695834704674816",
    "isMain": "Y",
    "version": 1,
    "formHtml": null,
    "extendAttr": "{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false}",
    "count": 0,
    "formBo": null,
    "formFieldList": null,
    "data": null
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "复制表单成功",
    "cause": "",
    "variables": {
        "id": "668460031833800704"
    },
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

设置自定义对话框

简述:

  • 设置自定义对话框

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
alias String 对话框别名
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/customDialog?alias=test

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "{\"pageSize\":0,\"needPage\":1,\"selectNum\":\"1\",\"updateBy\":\"\",\"dsalias\":\"\",\"alias\":\"test\",\"id\":\"1\",\"displayfield\":\"\",\"height\":0,\"ip\":\"\",\"resultfield\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"conditionfield\":\"\",\"objName\":\"\",\"createBy\":\"\",\"system\":0,\"createTime\":null,\"sqlBuildType\":0,\"dbtype\":\"\",\"name\":\"\",\"tenantId\":\"\",\"width\":0,\"style\":0,\"pk\":\"\",\"sortfield\":\"\",\"isTable\":1,\"diySql\":\"\"}"
}

返回参数说明:

名称 类型 备注
data String

表单定义设计数据

简述:

  • 表单定义设计数据

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boCode String bo定义CODE
buildMode String 表单构建模式
formDefId String 表单实体id
mode String bo 设计模式
template String 模板信息
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/design?boCode=csdx&buildMode=&formDefId=&mode=bo&template=

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "{\"allFields\":{\"super\":{\"id\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"tenantId\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"ip\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"createBy\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"createTime\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"updateBy\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"updateTime\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"shuJu\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"}}},\"fields\":[{\"id\":\"675709866559406080\",\"name\":\"id\",\"showName\":\"主键\",\"label\":\"主键\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}},{\"id\":\"675709866576183296\",\"name\":\"shuJu\",\"showName\":\"数据\",\"label\":\"数据\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}}],\"mode\":\"bo\",\"code\":\"csdx\",\"name\":\"抄送对象\",\"key\":\"csdx_675709866601349120\"}"
}

返回参数说明:

名称 类型 备注
data String

导出表单

简述:

  • 导出表单

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formDefIds String[] 业务数据模板id数组
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/exportForm?formDefIds=654787465898360832

返回示例:

对应的zip文件

返回参数说明:

名称 类型 备注
data void

获取与BO关联的所有表单

简述:

  • 获取与BO关联的所有表单

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boCode String bo定义code
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/findFormJsonByBo?boCode=csdx

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": [
        {
            "pk": "",
            "name": "抄送表单",
            "ip": null,
            "createBy": "1",
            "createTime": "2019-12-12 13:33:35",
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "654677230537932800",
            "key": "csbd",
            "mode": "bo",
            "desc": "",
            "status": "deploy",
            "typeId": "",
            "isMain": "Y",
            "version": 1,
            "formHtml": null,
            "extendAttr": "{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false}",
            "count": 0,
            "formBo": {
                "pk": "",
                "name": null,
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654677250314076160",
                "formId": "654677230537932800",
                "boId": "654677054784012288",
                "boCode": "csdx"
            },
            "formFieldList": [
                {
                    "pk": "",
                    "name": "id",
                    "ip": null,
                    "createBy": null,
                    "createTime": null,
                    "updateBy": null,
                    "updateTime": null,
                    "tenantId": null,
                    "dataStatus": null,
                    "dbtype": null,
                    "id": "654677230537932801",
                    "formId": "654677230537932800",
                    "parentId": null,
                    "label": "主键",
                    "desc": "",
                    "fieldType": "hidden",
                    "fieldOptions": "{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                    "sn": 1,
                    "showName": null,
                    "dataType": null,
                    "fieldName": "id",
                    "boCode": null
                },
                {
                    "pk": "",
                    "name": "shuJu",
                    "ip": null,
                    "createBy": null,
                    "createTime": null,
                    "updateBy": null,
                    "updateTime": null,
                    "tenantId": null,
                    "dataStatus": null,
                    "dbtype": null,
                    "id": "654677230542127104",
                    "formId": "654677230537932800",
                    "parentId": null,
                    "label": "数据",
                    "desc": "",
                    "fieldType": "text",
                    "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                    "sn": 2,
                    "showName": null,
                    "dataType": null,
                    "fieldName": "shuJu",
                    "boCode": null
                }
            ],
            "data": null
        }
    ]
}

返回参数说明:

名称 类型 备注
data List< FormDefPo > 表单定义

获取表单流程意见字段

简述:

  • 获取表单流程意见字段

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formKey String formKey
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/findFormOptionField?formKey=lckj

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": [
        {
            "pk": "",
            "name": "approval_opinion_1n5pgrv",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "655399088732241925",
            "formId": "655088775570915328",
            "parentId": null,
            "label": "审批1意见",
            "desc": "",
            "fieldType": "approval_opinion",
            "fieldOptions": "{\"placeholder\":\"请输入意见\",\"common_statment\":false,\"approval_button\":true,\"arrangement\":\"vertical\",\"options\":[{\"checked\":true,\"value\":\"auditorName\",\"label\":\"审批人\"},{\"checked\":true,\"value\":\"completeTime\",\"label\":\"审批时间\"},{\"checked\":true,\"value\":\"statusName\",\"label\":\"审批状态\"},{\"checked\":true,\"value\":\"opinion\",\"label\":\"审批意见\"}],\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}",
            "sn": 5,
            "showName": null,
            "dataType": null,
            "fieldName": "approval_opinion_1n5pgrv",
            "boCode": null
        },
        {
            "pk": "",
            "name": "approval_opinion_0xivr2o",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "655399088732241926",
            "formId": "655088775570915328",
            "parentId": null,
            "label": "审批2意见",
            "desc": "",
            "fieldType": "approval_opinion",
            "fieldOptions": "{\"placeholder\":\"请输入意见\",\"common_statment\":true,\"approval_button\":true,\"arrangement\":\"horizontal\",\"options\":[{\"checked\":true,\"value\":\"auditorName\",\"label\":\"审批人\"},{\"checked\":true,\"value\":\"completeTime\",\"label\":\"审批时间\"},{\"checked\":true,\"value\":\"statusName\",\"label\":\"审批状态\"},{\"checked\":true,\"value\":\"opinion\",\"label\":\"审批意见\"}],\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}",
            "sn": 6,
            "showName": null,
            "dataType": null,
            "fieldName": "approval_opinion_0xivr2o",
            "boCode": null
        }
    ]
}

返回参数说明:

名称 类型 备注
data List< FormFieldPo > 表单字段

生成模版

简述:

  • 生成模版

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formDefId String 表单实体id
mode String bo 设计模式
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/genTemplate?formDefId=657269060697849856&mode=bo

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "<h1>Test<h1/>"
}

返回参数说明:

名称 类型 备注
data String

根据传入id查询表单数据

简述:

  • 根据传入id查询表单数据

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formDefId String 表单实体id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/get?formDefId=657269060697849856

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "",
        "name": "流程实例表单",
        "ip": null,
        "createBy": "654755459927900160",
        "createTime": "2019-12-19 17:12:36",
        "updateBy": "654755459927900160",
        "updateTime": "2019-12-19 17:13:28",
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "657269060697849856",
        "key": "lcslbdTest",
        "mode": "bo",
        "desc": "",
        "status": "deploy",
        "typeId": "654758420078919680",
        "isMain": "Y",
        "version": 1,
        "formHtml": null,
        "extendAttr": "{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false}",
        "count": 0,
        "formBo": {
            "pk": "",
            "name": null,
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "657269281179828224",
            "formId": "657269060697849856",
            "boId": "657267294866505728",
            "boCode": "lcslywxxb"
        },
        "formFieldList": [
            {
                "pk": "",
                "name": "id",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449728",
                "formId": "657269060697849856",
                "parentId": null,
                "label": "主键",
                "desc": "",
                "fieldType": "hidden",
                "fieldOptions": "{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "id",
                "boCode": null
            },
            {
                "pk": "",
                "name": "biaoTi",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449729",
                "formId": "657269060697849856",
                "parentId": null,
                "label": "标题",
                "desc": "",
                "fieldType": "text",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 2,
                "showName": null,
                "dataType": null,
                "fieldName": "biaoTi",
                "boCode": null
            },
            {
                "pk": "",
                "name": "zuoZhe",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449730",
                "formId": "657269060697849856",
                "parentId": null,
                "label": "作者",
                "desc": "",
                "fieldType": "text",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 3,
                "showName": null,
                "dataType": null,
                "fieldName": "zuoZhe",
                "boCode": null
            },
            {
                "pk": "",
                "name": "faBanShiJian",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449731",
                "formId": "657269060697849856",
                "parentId": null,
                "label": "发版时间",
                "desc": "",
                "fieldType": "datePicker",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"datefmt\":\"yyyy-MM-dd\",\"datefmt_type\":\"datetime\",\"placeholder\":\"请选择\",\"mobile\":true}",
                "sn": 4,
                "showName": null,
                "dataType": null,
                "fieldName": "faBanShiJian",
                "boCode": null
            },
            {
                "pk": "",
                "name": "jingFei",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449732",
                "formId": "657269060697849856",
                "parentId": null,
                "label": "经费",
                "desc": "",
                "fieldType": "number",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 5,
                "showName": null,
                "dataType": null,
                "fieldName": "jingFei",
                "boCode": null
            },
            {
                "pk": "",
                "name": "lygjxxb",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449733",
                "formId": "657269060697849856",
                "parentId": null,
                "label": "来源稿件信息表",
                "desc": "",
                "fieldType": "table",
                "fieldOptions": "{\"mode\":\"inner\",\"relation\":\"one2many\",\"buttons\":[{\"type\":\"add\",\"label\":\"添加\",\"icon\":\"add\",\"style\":\"primary\"},{\"type\":\"remove\",\"label\":\"删除\",\"icon\":\"remove\",\"style\":\"danger\"}]}",
                "sn": 6,
                "showName": null,
                "dataType": null,
                "fieldName": "lygjxxb",
                "boCode": null
            },
            {
                "pk": "",
                "name": "id",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449734",
                "formId": "657269060697849856",
                "parentId": "657269280869449733",
                "label": "主键",
                "desc": "",
                "fieldType": "hidden",
                "fieldOptions": "{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "id",
                "boCode": null
            },
            {
                "pk": "",
                "name": "parentId",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449735",
                "formId": "657269060697849856",
                "parentId": "657269280869449733",
                "label": "外键",
                "desc": "",
                "fieldType": "hidden",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 2,
                "showName": null,
                "dataType": null,
                "fieldName": "parentId",
                "boCode": null
            },
            {
                "pk": "",
                "name": "laiYuanMuBiao",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449736",
                "formId": "657269060697849856",
                "parentId": "657269280869449733",
                "label": "来源目标",
                "desc": "",
                "fieldType": "text",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 3,
                "showName": null,
                "dataType": null,
                "fieldName": "laiYuanMuBiao",
                "boCode": null
            },
            {
                "pk": "",
                "name": "diZhi",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449737",
                "formId": "657269060697849856",
                "parentId": "657269280869449733",
                "label": "地址",
                "desc": "",
                "fieldType": "text",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 4,
                "showName": null,
                "dataType": null,
                "fieldName": "diZhi",
                "boCode": null
            },
            {
                "pk": "",
                "name": "zuoZhe",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449738",
                "formId": "657269060697849856",
                "parentId": "657269280869449733",
                "label": "作者",
                "desc": "",
                "fieldType": "text",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 5,
                "showName": null,
                "dataType": null,
                "fieldName": "zuoZhe",
                "boCode": null
            },
            {
                "pk": "",
                "name": "shuoMing",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "657269280869449739",
                "formId": "657269060697849856",
                "parentId": "657269280869449733",
                "label": "说明",
                "desc": "",
                "fieldType": "text",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 6,
                "showName": null,
                "dataType": null,
                "fieldName": "shuoMing",
                "boCode": null
            }
        ],
        "data": null
    }
}

返回参数说明:

名称 类型 备注
data FormDefPo 表单定义

构建表单数据JSON

简述:

  • 根据传入id查询和设计模式构建表单数据JSON

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formDefId String 表单实体id
mode String bo 设计模式
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getBuildFormData?formDefId=657269060697849856&mode=bo

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "{\"id\":\"657269060697849856\",\"name\":\"流程实例表单\",\"desc\":\"\",\"key\":\"lcslbdTest\",\"typeId\":\"654758420078919680\",\"mode\":\"bo\",\"attrs\":{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false},\"typeName\":\"流程相关表单\",\"busId\":\"657267294866505728\",\"code\":\"lcslywxxb\",\"fields\":[{\"id\":\"657269280869449728\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"主键\",\"dataType\":\"varchar\",\"field_name\":\"id_\"},{\"id\":\"657269280869449729\",\"name\":\"biaoTi\",\"label\":\"标题\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"标题\",\"dataType\":\"varchar\",\"field_name\":\"biao_ti_\"},{\"id\":\"657269280869449730\",\"name\":\"zuoZhe\",\"label\":\"作者\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"作者\",\"dataType\":\"varchar\",\"field_name\":\"zuo_zhe_\"},{\"id\":\"657269280869449731\",\"name\":\"faBanShiJian\",\"label\":\"发版时间\",\"desc\":\"\",\"field_type\":\"datePicker\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"datefmt\":\"yyyy-MM-dd\",\"datefmt_type\":\"datetime\",\"placeholder\":\"请选择\",\"mobile\":true},\"showName\":\"发版时间\",\"dataType\":\"date\",\"field_name\":\"fa_ban_shi_jian_\"},{\"id\":\"657269280869449732\",\"name\":\"jingFei\",\"label\":\"经费\",\"desc\":\"\",\"field_type\":\"number\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"经费\",\"dataType\":\"number\",\"field_name\":\"jing_fei_\"},{\"id\":\"657269280869449733\",\"name\":\"lygjxxb\",\"label\":\"来源稿件信息表\",\"desc\":\"\",\"field_type\":\"table\",\"field_options\":{\"mode\":\"inner\",\"relation\":\"one2many\",\"buttons\":[{\"type\":\"add\",\"label\":\"添加\",\"icon\":\"add\",\"style\":\"primary\"},{\"type\":\"remove\",\"label\":\"删除\",\"icon\":\"remove\",\"style\":\"danger\"}],\"columns\":[{\"id\":\"657269280869449734\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"主键\",\"dataType\":\"varchar\",\"field_name\":\"id_\"},{\"id\":\"657269280869449735\",\"name\":\"parentId\",\"label\":\"外键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"外键\",\"dataType\":\"varchar\",\"field_name\":\"parent_id_\"},{\"id\":\"657269280869449736\",\"name\":\"laiYuanMuBiao\",\"label\":\"来源目标\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"来源目标\",\"dataType\":\"varchar\",\"field_name\":\"lai_yuan_mu_biao_\"},{\"id\":\"657269280869449737\",\"name\":\"diZhi\",\"label\":\"地址\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"地址\",\"dataType\":\"varchar\",\"field_name\":\"di_zhi_\"},{\"id\":\"657269280869449738\",\"name\":\"zuoZhe\",\"label\":\"作者\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"作者\",\"dataType\":\"varchar\",\"field_name\":\"zuo_zhe_\"},{\"id\":\"657269280869449739\",\"name\":\"shuoMing\",\"label\":\"说明\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"说明\",\"dataType\":\"varchar\",\"field_name\":\"shuo_ming_\"}]},\"showName\":\"来源稿件信息表\",\"dataType\":\"subtable\",\"field_name\":\"t_lygjxxb\"}],\"allFields\":{\"super\":{\"id\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"tenantId\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"ip\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"createBy\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"createTime\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"updateBy\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"updateTime\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"biaoTi\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"zuoZhe\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"faBanShiJian\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"jingFei\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"}},\"lygjxxb\":{\"id\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"parentId\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"tenantId\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"ip\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"createBy\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"createTime\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"updateBy\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"updateTime\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"laiYuanMuBiao\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"diZhi\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"zuoZhe\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"},\"shuoMing\":{\"isNull\":\"Y\",\"defaultValue\":\"\",\"hasDefaultValue\":\"N\"}}}}"
}

返回参数说明:

名称 类型 备注
data String

获取表单字段

简述:

  • 获取表单字段

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formKey String 表单key
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getFields?formKey=lcslbdTest

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "[{\"id\":\"657269280869449728\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"id\"},{\"id\":\"657269280869449729\",\"name\":\"biaoTi\",\"label\":\"标题\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"biaoTi\"},{\"id\":\"657269280869449730\",\"name\":\"zuoZhe\",\"label\":\"作者\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"zuoZhe\"},{\"id\":\"657269280869449731\",\"name\":\"faBanShiJian\",\"label\":\"发版时间\",\"desc\":\"\",\"field_type\":\"datePicker\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"datefmt\":\"yyyy-MM-dd\",\"datefmt_type\":\"datetime\",\"placeholder\":\"请选择\",\"mobile\":true},\"field_name\":\"faBanShiJian\"},{\"id\":\"657269280869449732\",\"name\":\"jingFei\",\"label\":\"经费\",\"desc\":\"\",\"field_type\":\"number\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"jingFei\"},{\"id\":\"657269280869449733\",\"name\":\"lygjxxb\",\"label\":\"来源稿件信息表\",\"desc\":\"\",\"field_type\":\"table\",\"field_options\":{\"mode\":\"inner\",\"relation\":\"one2many\",\"buttons\":[{\"type\":\"add\",\"label\":\"添加\",\"icon\":\"add\",\"style\":\"primary\"},{\"type\":\"remove\",\"label\":\"删除\",\"icon\":\"remove\",\"style\":\"danger\"}],\"columns\":[{\"id\":\"657269280869449734\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"id\"},{\"id\":\"657269280869449735\",\"name\":\"parentId\",\"label\":\"外键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"parentId\"},{\"id\":\"657269280869449736\",\"name\":\"laiYuanMuBiao\",\"label\":\"来源目标\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"laiYuanMuBiao\"},{\"id\":\"657269280869449737\",\"name\":\"diZhi\",\"label\":\"地址\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"diZhi\"},{\"id\":\"657269280869449738\",\"name\":\"zuoZhe\",\"label\":\"作者\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"zuoZhe\"},{\"id\":\"657269280869449739\",\"name\":\"shuoMing\",\"label\":\"说明\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"shuoMing\"}]},\"field_name\":\"t_lygjxxb\"}]"
}

返回参数说明:

名称 类型 备注
data String

根据传入表单Id查询,并返回关联数据

简述:

  • 根据传入表单Id查询,并返回关联数据

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formDefId String 表单实体id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getFormBoByFormId?formDefId=657269060697849856

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "",
        "name": null,
        "ip": null,
        "createBy": null,
        "createTime": null,
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "657269281179828224",
        "formId": "657269060697849856",
        "boId": "657267294866505728",
        "boCode": "lcslywxxb"
    }
}

返回参数说明:

名称 类型 备注
data FormDefPo 表单定义

通过表单key获取表单和bo信息

简述:

  • 通过表单key获取表单和bo信息

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formKey String 表单key
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getFormBoByFormKey?formKey=lcslbdTest

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "",
        "name": null,
        "ip": null,
        "createBy": null,
        "createTime": null,
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "657269281179828224",
        "formId": "657269060697849856",
        "boId": "657267294866505728",
        "boCode": "lcslywxxb"
    }
}

返回参数说明:

名称 类型 备注
data FormDefPo 表单定义

获取表单数据

简述:

  • 获取表单数据

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formKey String formKey
pk String pk
rightsScop String form rightsScope
templateKey String templateKey
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getFormData?formKey=zfj&pk=&rightsScope=form&templateKey=

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "boData": null,
        "form": "{\"id\":\"654625374541447168\",\"name\":\"主附件(id、多选)\",\"desc\":\"\",\"key\":\"zfj\",\"typeId\":\"654695915654742016\",\"mode\":\"bo\",\"attrs\":{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false},\"typeName\":\"正常数据\",\"busId\":\"654625255721009153\",\"code\":\"zfj\",\"fields\":[{\"id\":\"657652942525956096\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"主键\",\"dataType\":\"varchar\",\"field_name\":\"id_\"},{\"id\":\"657652942525956097\",\"name\":\"\",\"label\":\"栅格布局\",\"desc\":\"\",\"field_type\":\"grid\",\"field_options\":{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[{\"id\":\"657652942525956098\",\"name\":\"tuPian\",\"label\":\"图片\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"images\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"图片\",\"dataType\":\"varchar\",\"field_name\":\"tu_pian_\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942525956099\",\"name\":\"wenDang\",\"label\":\"文档\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"docs\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null,\"max_file_size\":\"1\"},\"showName\":\"文档\",\"dataType\":\"varchar\",\"field_name\":\"wen_dang_\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942525956100\",\"name\":\"yinPin\",\"label\":\"音频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"audios\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"音频\",\"dataType\":\"varchar\",\"field_name\":\"yin_pin_\"}]}]},\"dataType\":\"varchar\",\"field_name\":\"\"},{\"id\":\"657652942530150400\",\"name\":\"\",\"label\":\"栅格布局\",\"desc\":\"\",\"field_type\":\"grid\",\"field_options\":{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[{\"id\":\"657652942530150401\",\"name\":\"shiPin\",\"label\":\"视频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"videos\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"视频\",\"dataType\":\"varchar\",\"field_name\":\"shi_pin_\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942530150402\",\"name\":\"yaSuo\",\"label\":\"压缩\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"compress\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"压缩\",\"dataType\":\"varchar\",\"field_name\":\"ya_suo_\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942530150403\",\"name\":\"wuXian\",\"label\":\"无限\",\"desc\":\"\",\"field_type\":\"attachment\",\"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\",\"multiple\":true,\"default_value\":null},\"showName\":\"无限\",\"dataType\":\"varchar\",\"field_name\":\"wu_xian_\"}]}]},\"dataType\":\"varchar\",\"field_name\":\"\"},{\"id\":\"657652942530150404\",\"name\":\"fjz\",\"label\":\"附件子\",\"desc\":\"\",\"field_type\":\"table\",\"field_options\":{\"mode\":\"inner\",\"relation\":\"one2many\",\"buttons\":[{\"type\":\"add\",\"label\":\"添加\",\"icon\":\"add\",\"style\":\"primary\"},{\"type\":\"remove\",\"label\":\"删除\",\"icon\":\"remove\",\"style\":\"danger\"}],\"columns\":[{\"id\":\"657652942534344704\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"主键\",\"dataType\":\"varchar\",\"field_name\":\"id_\"},{\"id\":\"657652942534344705\",\"name\":\"parentId\",\"label\":\"外键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"外键\",\"dataType\":\"varchar\",\"field_name\":\"parent_id_\"},{\"id\":\"657652942534344706\",\"name\":\"tuPian\",\"label\":\"图片\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"images\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"图片\",\"dataType\":\"varchar\",\"field_name\":\"tu_pian_\"},{\"id\":\"657652942534344707\",\"name\":\"wenDang\",\"label\":\"文档\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"docs\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"文档\",\"dataType\":\"varchar\",\"field_name\":\"wen_dang_\"},{\"id\":\"657652942534344708\",\"name\":\"yinPin\",\"label\":\"音频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"audios\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"音频\",\"dataType\":\"varchar\",\"field_name\":\"yin_pin_\"},{\"id\":\"657652942534344709\",\"name\":\"shiPin\",\"label\":\"视频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"videos\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"视频\",\"dataType\":\"varchar\",\"field_name\":\"shi_pin_\"},{\"id\":\"657652942534344710\",\"name\":\"yaSuo\",\"label\":\"压缩\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"compress\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"压缩\",\"dataType\":\"varchar\",\"field_name\":\"ya_suo_\"},{\"id\":\"657652942534344711\",\"name\":\"wuXian\",\"label\":\"无限\",\"desc\":\"\",\"field_type\":\"attachment\",\"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\",\"multiple\":true,\"default_value\":null},\"showName\":\"无限\",\"dataType\":\"varchar\",\"field_name\":\"wu_xian_\"}]},\"showName\":\"附件子\",\"dataType\":\"subtable\",\"field_name\":\"t_fjz\"}],\"allFields\":{\"super\":{\"id\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"tenantId\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"ip\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"createBy\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"createTime\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"updateBy\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"updateTime\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"tuPian\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"wenDang\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"yinPin\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"shiPin\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"yaSuo\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"wuXian\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"}},\"fjz\":{\"id\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"parentId\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"tenantId\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"ip\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"createBy\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"createTime\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"updateBy\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"updateTime\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"tuPian\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"wenDang\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"yinPin\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"shiPin\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"yaSuo\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"wuXian\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"}}}}",
        "permissions": "{\"tables\":{},\"opinions\":{},\"fields\":{}}",
        "version": 0
    }
}

返回参数说明:

名称 类型 备注
data Map<String, Object> 表单定义

获取表单数据

简述:

  • 获取表单数据

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formDefId String 表单实体id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getFormDataByFormDefId?formDefId=654625374541447168

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "{\"id\":\"654625374541447168\",\"name\":\"主附件(id、多选)\",\"desc\":\"\",\"key\":\"zfj\",\"typeId\":\"654695915654742016\",\"mode\":\"bo\",\"attrs\":{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false},\"typeName\":\"正常数据\",\"busId\":\"654625255721009153\",\"code\":\"zfj\",\"fields\":[{\"id\":\"657652942525956096\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"id\"},{\"id\":\"657652942525956097\",\"name\":\"\",\"label\":\"栅格布局\",\"desc\":\"\",\"field_type\":\"grid\",\"field_options\":{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[{\"id\":\"657652942525956098\",\"name\":\"tuPian\",\"label\":\"图片\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"images\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"tuPian\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942525956099\",\"name\":\"wenDang\",\"label\":\"文档\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"docs\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null,\"max_file_size\":\"1\"},\"field_name\":\"wenDang\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942525956100\",\"name\":\"yinPin\",\"label\":\"音频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"audios\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"yinPin\"}]}]},\"field_name\":\"\"},{\"id\":\"657652942530150400\",\"name\":\"\",\"label\":\"栅格布局\",\"desc\":\"\",\"field_type\":\"grid\",\"field_options\":{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[{\"id\":\"657652942530150401\",\"name\":\"shiPin\",\"label\":\"视频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"videos\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"shiPin\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942530150402\",\"name\":\"yaSuo\",\"label\":\"压缩\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"compress\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"yaSuo\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942530150403\",\"name\":\"wuXian\",\"label\":\"无限\",\"desc\":\"\",\"field_type\":\"attachment\",\"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\",\"multiple\":true,\"default_value\":null},\"field_name\":\"wuXian\"}]}]},\"field_name\":\"\"},{\"id\":\"657652942530150404\",\"name\":\"fjz\",\"label\":\"附件子\",\"desc\":\"\",\"field_type\":\"table\",\"field_options\":{\"mode\":\"inner\",\"relation\":\"one2many\",\"buttons\":[{\"type\":\"add\",\"label\":\"添加\",\"icon\":\"add\",\"style\":\"primary\"},{\"type\":\"remove\",\"label\":\"删除\",\"icon\":\"remove\",\"style\":\"danger\"}],\"columns\":[{\"id\":\"657652942534344704\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"id\"},{\"id\":\"657652942534344705\",\"name\":\"parentId\",\"label\":\"外键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"parentId\"},{\"id\":\"657652942534344706\",\"name\":\"tuPian\",\"label\":\"图片\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"images\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"tuPian\"},{\"id\":\"657652942534344707\",\"name\":\"wenDang\",\"label\":\"文档\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"docs\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"wenDang\"},{\"id\":\"657652942534344708\",\"name\":\"yinPin\",\"label\":\"音频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"audios\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"yinPin\"},{\"id\":\"657652942534344709\",\"name\":\"shiPin\",\"label\":\"视频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"videos\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"shiPin\"},{\"id\":\"657652942534344710\",\"name\":\"yaSuo\",\"label\":\"压缩\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"compress\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"yaSuo\"},{\"id\":\"657652942534344711\",\"name\":\"wuXian\",\"label\":\"无限\",\"desc\":\"\",\"field_type\":\"attachment\",\"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\",\"multiple\":true,\"default_value\":null},\"field_name\":\"wuXian\"}]},\"field_name\":\"t_fjz\"}]}"
}

返回参数说明:

名称 类型 备注
data String

获取表单数据

简述:

  • 获取表单数据

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formKey String 表单
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getFormDataByFormKey?formKey=zfj

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "{\"id\":\"654625374541447168\",\"name\":\"主附件(id、多选)\",\"desc\":\"\",\"key\":\"zfj\",\"typeId\":\"654695915654742016\",\"mode\":\"bo\",\"attrs\":{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false},\"typeName\":\"正常数据\",\"busId\":\"654625255721009153\",\"code\":\"zfj\",\"fields\":[{\"id\":\"657652942525956096\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"主键\",\"dataType\":\"varchar\",\"field_name\":\"id_\"},{\"id\":\"657652942525956097\",\"name\":\"\",\"label\":\"栅格布局\",\"desc\":\"\",\"field_type\":\"grid\",\"field_options\":{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[{\"id\":\"657652942525956098\",\"name\":\"tuPian\",\"label\":\"图片\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"images\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"图片\",\"dataType\":\"varchar\",\"field_name\":\"tu_pian_\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942525956099\",\"name\":\"wenDang\",\"label\":\"文档\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"docs\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null,\"max_file_size\":\"1\"},\"showName\":\"文档\",\"dataType\":\"varchar\",\"field_name\":\"wen_dang_\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942525956100\",\"name\":\"yinPin\",\"label\":\"音频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"audios\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"音频\",\"dataType\":\"varchar\",\"field_name\":\"yin_pin_\"}]}]},\"dataType\":\"varchar\",\"field_name\":\"\"},{\"id\":\"657652942530150400\",\"name\":\"\",\"label\":\"栅格布局\",\"desc\":\"\",\"field_type\":\"grid\",\"field_options\":{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[{\"id\":\"657652942530150401\",\"name\":\"shiPin\",\"label\":\"视频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"videos\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"视频\",\"dataType\":\"varchar\",\"field_name\":\"shi_pin_\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942530150402\",\"name\":\"yaSuo\",\"label\":\"压缩\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"compress\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"压缩\",\"dataType\":\"varchar\",\"field_name\":\"ya_suo_\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942530150403\",\"name\":\"wuXian\",\"label\":\"无限\",\"desc\":\"\",\"field_type\":\"attachment\",\"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\",\"multiple\":true,\"default_value\":null},\"showName\":\"无限\",\"dataType\":\"varchar\",\"field_name\":\"wu_xian_\"}]}]},\"dataType\":\"varchar\",\"field_name\":\"\"},{\"id\":\"657652942530150404\",\"name\":\"fjz\",\"label\":\"附件子\",\"desc\":\"\",\"field_type\":\"table\",\"field_options\":{\"mode\":\"inner\",\"relation\":\"one2many\",\"buttons\":[{\"type\":\"add\",\"label\":\"添加\",\"icon\":\"add\",\"style\":\"primary\"},{\"type\":\"remove\",\"label\":\"删除\",\"icon\":\"remove\",\"style\":\"danger\"}],\"columns\":[{\"id\":\"657652942534344704\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"主键\",\"dataType\":\"varchar\",\"field_name\":\"id_\"},{\"id\":\"657652942534344705\",\"name\":\"parentId\",\"label\":\"外键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"showName\":\"外键\",\"dataType\":\"varchar\",\"field_name\":\"parent_id_\"},{\"id\":\"657652942534344706\",\"name\":\"tuPian\",\"label\":\"图片\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"images\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"图片\",\"dataType\":\"varchar\",\"field_name\":\"tu_pian_\"},{\"id\":\"657652942534344707\",\"name\":\"wenDang\",\"label\":\"文档\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"docs\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"文档\",\"dataType\":\"varchar\",\"field_name\":\"wen_dang_\"},{\"id\":\"657652942534344708\",\"name\":\"yinPin\",\"label\":\"音频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"audios\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"音频\",\"dataType\":\"varchar\",\"field_name\":\"yin_pin_\"},{\"id\":\"657652942534344709\",\"name\":\"shiPin\",\"label\":\"视频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"videos\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"视频\",\"dataType\":\"varchar\",\"field_name\":\"shi_pin_\"},{\"id\":\"657652942534344710\",\"name\":\"yaSuo\",\"label\":\"压缩\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"compress\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"showName\":\"压缩\",\"dataType\":\"varchar\",\"field_name\":\"ya_suo_\"},{\"id\":\"657652942534344711\",\"name\":\"wuXian\",\"label\":\"无限\",\"desc\":\"\",\"field_type\":\"attachment\",\"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\",\"multiple\":true,\"default_value\":null},\"showName\":\"无限\",\"dataType\":\"varchar\",\"field_name\":\"wu_xian_\"}]},\"showName\":\"附件子\",\"dataType\":\"subtable\",\"field_name\":\"t_fjz\"}],\"allFields\":{\"super\":{\"id\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"tenantId\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"ip\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"createBy\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"createTime\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"updateBy\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"updateTime\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"tuPian\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"wenDang\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"yinPin\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"shiPin\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"yaSuo\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"wuXian\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"}},\"fjz\":{\"id\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"parentId\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"tenantId\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"ip\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"createBy\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"createTime\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"updateBy\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"updateTime\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"tuPian\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"wenDang\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"yinPin\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"shiPin\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"yaSuo\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"},\"wuXian\":{\"isNull\":\"Y\",\"hasDefaultValue\":\"N\"}}}}"
}

返回参数说明:

名称 类型 备注
data String

根据表单key获取表单对象数据

简述:

  • 根据表单key获取表单对象数据

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formKey String 表单key
isCascade Boolean false 是否级联查询
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getMainByFormKey?formKey=lckj&isCascade=false

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "",
        "name": "流程控件",
        "ip": null,
        "createBy": "1",
        "createTime": "2019-12-13 16:48:55",
        "updateBy": "1",
        "updateTime": "2019-12-14 13:22:00",
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "655088775570915328",
        "key": "lckj",
        "mode": "bo",
        "desc": "",
        "status": "deploy",
        "typeId": "654695915654742016",
        "isMain": "Y",
        "version": 1,
        "formHtml": null,
        "extendAttr": "{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false}",
        "count": 0,
        "formBo": {
            "pk": "",
            "name": null,
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "655399089487216640",
            "formId": "655088775570915328",
            "boId": "655088377594380288",
            "boCode": "lckj"
        },
        "formFieldList": [
            {
                "pk": "",
                "name": "id",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088728047616",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "主键",
                "desc": "",
                "fieldType": "hidden",
                "fieldOptions": "{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "id",
                "boCode": null
            },
            {
                "pk": "",
                "name": "",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088728047617",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "栅格布局",
                "desc": "",
                "fieldType": "grid",
                "fieldOptions": "{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[\"655399088732241920\"]},{\"span\":12,\"fields\":[\"655399088732241921\"]},{\"span\":12,\"fields\":[\"655399088732241922\"]}]}",
                "sn": 2,
                "showName": null,
                "dataType": null,
                "fieldName": "",
                "boCode": null
            },
            {
                "pk": "",
                "name": "miaoShu",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241923",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "描述",
                "desc": "",
                "fieldType": "textarea",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 3,
                "showName": null,
                "dataType": null,
                "fieldName": "miaoShu",
                "boCode": null
            },
            {
                "pk": "",
                "name": "desc_0j0j5fo",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241924",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "请填写意见:",
                "desc": "",
                "fieldType": "desc",
                "fieldOptions": "{\"split_line\":false,\"line_style\":\"dashed\"}",
                "sn": 4,
                "showName": null,
                "dataType": null,
                "fieldName": "desc_0j0j5fo",
                "boCode": null
            },
            {
                "pk": "",
                "name": "approval_opinion_1n5pgrv",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241925",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "审批1意见",
                "desc": "",
                "fieldType": "approval_opinion",
                "fieldOptions": "{\"placeholder\":\"请输入意见\",\"common_statment\":false,\"approval_button\":true,\"arrangement\":\"vertical\",\"options\":[{\"checked\":true,\"value\":\"auditorName\",\"label\":\"审批人\"},{\"checked\":true,\"value\":\"completeTime\",\"label\":\"审批时间\"},{\"checked\":true,\"value\":\"statusName\",\"label\":\"审批状态\"},{\"checked\":true,\"value\":\"opinion\",\"label\":\"审批意见\"}],\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}",
                "sn": 5,
                "showName": null,
                "dataType": null,
                "fieldName": "approval_opinion_1n5pgrv",
                "boCode": null
            },
            {
                "pk": "",
                "name": "approval_opinion_0xivr2o",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241926",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "审批2意见",
                "desc": "",
                "fieldType": "approval_opinion",
                "fieldOptions": "{\"placeholder\":\"请输入意见\",\"common_statment\":true,\"approval_button\":true,\"arrangement\":\"horizontal\",\"options\":[{\"checked\":true,\"value\":\"auditorName\",\"label\":\"审批人\"},{\"checked\":true,\"value\":\"completeTime\",\"label\":\"审批时间\"},{\"checked\":true,\"value\":\"statusName\",\"label\":\"审批状态\"},{\"checked\":true,\"value\":\"opinion\",\"label\":\"审批意见\"}],\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}",
                "sn": 6,
                "showName": null,
                "dataType": null,
                "fieldName": "approval_opinion_0xivr2o",
                "boCode": null
            },
            {
                "pk": "",
                "name": "divider_09zwb45",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241927",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "相关流程信息",
                "desc": "",
                "fieldType": "divider",
                "fieldOptions": "{\"content_position\":\"center\",\"direction\":\"horizontal\"}",
                "sn": 7,
                "showName": null,
                "dataType": null,
                "fieldName": "divider_09zwb45",
                "boCode": null
            },
            {
                "pk": "",
                "name": "flow_diagram_0i9g7jq",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241928",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "流程图",
                "desc": "",
                "fieldType": "flow_diagram",
                "fieldOptions": "",
                "sn": 8,
                "showName": null,
                "dataType": null,
                "fieldName": "flow_diagram_0i9g7jq",
                "boCode": null
            },
            {
                "pk": "",
                "name": "approval_history_1ndi9ph",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241929",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "审批历史",
                "desc": "",
                "fieldType": "approval_history",
                "fieldOptions": "",
                "sn": 9,
                "showName": null,
                "dataType": null,
                "fieldName": "approval_history_1ndi9ph",
                "boCode": null
            },
            {
                "pk": "",
                "name": "xingMing",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241920",
                "formId": "655088775570915328",
                "parentId": "655399088728047617",
                "label": "姓名",
                "desc": "",
                "fieldType": "selector",
                "fieldOptions": "{\"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\"}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "xingMing",
                "boCode": null
            },
            {
                "pk": "",
                "name": "nianLing",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241921",
                "formId": "655088775570915328",
                "parentId": "655399088728047617",
                "label": "年龄",
                "desc": "",
                "fieldType": "number",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "nianLing",
                "boCode": null
            },
            {
                "pk": "",
                "name": "riQi",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241922",
                "formId": "655088775570915328",
                "parentId": "655399088728047617",
                "label": "日期",
                "desc": "",
                "fieldType": "datePicker",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"datefmt\":\"yyyy-MM-dd\",\"datefmt_type\":\"date\",\"placeholder\":\"请选择\",\"mobile\":true}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "riQi",
                "boCode": null
            }
        ],
        "data": null
    }
}

返回参数说明:

名称 类型 备注
data FormDefPo 表单定义

根据传入bo信息查询,并返回bo字段名

简述:

  • 根据传入bo信息查询,并返回bo字段名

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boCode String bo定义CODE
boDefId String bo定义ID
mode String 设计模式 example = “bo/table/codeGen”
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getPk?boCode=fjz&boDefId=654625255721009152&mode=bo

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "id_"
}

返回参数说明:

名称 类型 备注
data String

获取脚本的值

简述:

  • 获取脚本的值

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
scritpRequestVo String 脚本请求vo

请求参数示例:

{
  "script": "return '0'"
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "0"
}

返回参数说明:

名称 类型 备注
data Object

获取表列表

简述:

  • 获取表列表

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
tableName String 表名
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/getTableList?tableName=t_zfj

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": [
        {
            "comment": "主附件",
            "id": "t_zfj",
            "text": "t_zfj"
        }
    ]
}

返回参数说明:

名称 类型 备注
data List<Map<String, String>>

导入表单

简述:

  • 导入表单

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
file file 文件

请求参数示例:

对应的zip文件

返回示例:

{
    "state": 200,
    "request": null,
    "message": "导入成功!",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

查询bo是否绑定表单

简述:

  • 查询bo是否绑定表单

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boId String 业务对象id
boKey String 业务对象标识
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/isBindForm?boId=654625255721009152&boKey=fjz

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": false
}

返回参数说明:

名称 类型 备注
data Boolean

判断key是否存在

简述:

  • 判断key是否存在

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formDefId String 表单实体id
formKey String 表单key
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/isFormKeyExists?formDefId=655088775570915328&formKey=lckj

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": false
}

返回参数说明:

名称 类型 备注
data Boolean

复制前数据请求

简述:

  • 复制前数据请求

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formDefId String 表单实体id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/preCopy?formDefId=655088775570915328

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {
        "bos": [
            {
                "pk": "id",
                "name": "流程控件",
                "ip": null,
                "createBy": "1",
                "createTime": "2019-12-13 16:47:20",
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655088377594380288",
                "code": "lckj",
                "desc": "",
                "dataFormat": "json",
                "version": 1,
                "isMain": "Y",
                "boType": "object",
                "isCreateTable": "Y",
                "status": "actived",
                "state": "exist",
                "dsAlias": "",
                "typeId": "",
                "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
                "saveType": "SAVE",
                "versionCount": 1,
                "isComb": "N",
                "tblName": null,
                "dsName": null,
                "parentId": null,
                "fk": null,
                "fromAttr": null,
                "relation": null,
                "path": null,
                "attrList": [],
                "commonAttrList": [],
                "fkRelAttribute": null,
                "subDefList": [],
                "boDefRelList": [],
                "data": null,
                "pkAttr": null,
                "fkAttr": null,
                "subMap": {}
            }
        ]
    },
    "data": {
        "pk": "",
        "name": "流程控件",
        "ip": null,
        "createBy": "1",
        "createTime": "2019-12-13 16:48:55",
        "updateBy": "1",
        "updateTime": "2019-12-14 13:22:00",
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "655088775570915328",
        "key": "lckj",
        "mode": "bo",
        "desc": "",
        "status": "deploy",
        "typeId": "654695915654742016",
        "isMain": "Y",
        "version": 1,
        "formHtml": null,
        "extendAttr": "{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false}",
        "count": 0,
        "formBo": {
            "pk": "",
            "name": null,
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "655399089487216640",
            "formId": "655088775570915328",
            "boId": "655088377594380288",
            "boCode": "lckj"
        },
        "formFieldList": [
            {
                "pk": "",
                "name": "id",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088728047616",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "主键",
                "desc": "",
                "fieldType": "hidden",
                "fieldOptions": "{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "id",
                "boCode": null
            },
            {
                "pk": "",
                "name": "",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088728047617",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "栅格布局",
                "desc": "",
                "fieldType": "grid",
                "fieldOptions": "{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[\"655399088732241920\"]},{\"span\":12,\"fields\":[\"655399088732241921\"]},{\"span\":12,\"fields\":[\"655399088732241922\"]}]}",
                "sn": 2,
                "showName": null,
                "dataType": null,
                "fieldName": "",
                "boCode": null
            },
            {
                "pk": "",
                "name": "miaoShu",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241923",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "描述",
                "desc": "",
                "fieldType": "textarea",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 3,
                "showName": null,
                "dataType": null,
                "fieldName": "miaoShu",
                "boCode": null
            },
            {
                "pk": "",
                "name": "desc_0j0j5fo",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241924",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "请填写意见:",
                "desc": "",
                "fieldType": "desc",
                "fieldOptions": "{\"split_line\":false,\"line_style\":\"dashed\"}",
                "sn": 4,
                "showName": null,
                "dataType": null,
                "fieldName": "desc_0j0j5fo",
                "boCode": null
            },
            {
                "pk": "",
                "name": "approval_opinion_1n5pgrv",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241925",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "审批1意见",
                "desc": "",
                "fieldType": "approval_opinion",
                "fieldOptions": "{\"placeholder\":\"请输入意见\",\"common_statment\":false,\"approval_button\":true,\"arrangement\":\"vertical\",\"options\":[{\"checked\":true,\"value\":\"auditorName\",\"label\":\"审批人\"},{\"checked\":true,\"value\":\"completeTime\",\"label\":\"审批时间\"},{\"checked\":true,\"value\":\"statusName\",\"label\":\"审批状态\"},{\"checked\":true,\"value\":\"opinion\",\"label\":\"审批意见\"}],\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}",
                "sn": 5,
                "showName": null,
                "dataType": null,
                "fieldName": "approval_opinion_1n5pgrv",
                "boCode": null
            },
            {
                "pk": "",
                "name": "approval_opinion_0xivr2o",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241926",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "审批2意见",
                "desc": "",
                "fieldType": "approval_opinion",
                "fieldOptions": "{\"placeholder\":\"请输入意见\",\"common_statment\":true,\"approval_button\":true,\"arrangement\":\"horizontal\",\"options\":[{\"checked\":true,\"value\":\"auditorName\",\"label\":\"审批人\"},{\"checked\":true,\"value\":\"completeTime\",\"label\":\"审批时间\"},{\"checked\":true,\"value\":\"statusName\",\"label\":\"审批状态\"},{\"checked\":true,\"value\":\"opinion\",\"label\":\"审批意见\"}],\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"}",
                "sn": 6,
                "showName": null,
                "dataType": null,
                "fieldName": "approval_opinion_0xivr2o",
                "boCode": null
            },
            {
                "pk": "",
                "name": "divider_09zwb45",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241927",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "相关流程信息",
                "desc": "",
                "fieldType": "divider",
                "fieldOptions": "{\"content_position\":\"center\",\"direction\":\"horizontal\"}",
                "sn": 7,
                "showName": null,
                "dataType": null,
                "fieldName": "divider_09zwb45",
                "boCode": null
            },
            {
                "pk": "",
                "name": "flow_diagram_0i9g7jq",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241928",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "流程图",
                "desc": "",
                "fieldType": "flow_diagram",
                "fieldOptions": "",
                "sn": 8,
                "showName": null,
                "dataType": null,
                "fieldName": "flow_diagram_0i9g7jq",
                "boCode": null
            },
            {
                "pk": "",
                "name": "approval_history_1ndi9ph",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241929",
                "formId": "655088775570915328",
                "parentId": null,
                "label": "审批历史",
                "desc": "",
                "fieldType": "approval_history",
                "fieldOptions": "",
                "sn": 9,
                "showName": null,
                "dataType": null,
                "fieldName": "approval_history_1ndi9ph",
                "boCode": null
            },
            {
                "pk": "",
                "name": "xingMing",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241920",
                "formId": "655088775570915328",
                "parentId": "655399088728047617",
                "label": "姓名",
                "desc": "",
                "fieldType": "selector",
                "fieldOptions": "{\"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\"}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "xingMing",
                "boCode": null
            },
            {
                "pk": "",
                "name": "nianLing",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241921",
                "formId": "655088775570915328",
                "parentId": "655399088728047617",
                "label": "年龄",
                "desc": "",
                "fieldType": "number",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "nianLing",
                "boCode": null
            },
            {
                "pk": "",
                "name": "riQi",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "655399088732241922",
                "formId": "655088775570915328",
                "parentId": "655399088728047617",
                "label": "日期",
                "desc": "",
                "fieldType": "datePicker",
                "fieldOptions": "{\"default_value_type\":\"fixed\",\"required\":false,\"datefmt\":\"yyyy-MM-dd\",\"datefmt_type\":\"date\",\"placeholder\":\"请选择\",\"mobile\":true}",
                "sn": 1,
                "showName": null,
                "dataType": null,
                "fieldName": "riQi",
                "boCode": null
            }
        ],
        "data": null
    }
}

返回参数说明:

名称 类型 备注
data FormDefPo 表单定义

表单管理列表(分页条件查询)数据

简述:

  • 表单管理列表(分页条件查询)数据

请求URL:

请求方式:

  • 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": "关联数据(查询)s",
                "ip": null,
                "createBy": "1",
                "createTime": "2020-02-08 14:07:49",
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "675704343051108352",
                "key": "glsjcxs",
                "mode": "bo",
                "desc": "",
                "status": "deploy",
                "typeId": "654695834704674816",
                "isMain": "Y",
                "version": 1,
                "formHtml": null,
                "extendAttr": "{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false}",
                "count": 0,
                "formBo": null,
                "formFieldList": null,
                "data": null
            },
            {
                "pk": "",
                "name": "ugyu",
                "ip": null,
                "createBy": "1",
                "createTime": "2020-02-04 11:11:44",
                "updateBy": "654384477392338944",
                "updateTime": "2020-02-10 09:58:41",
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674210475617026048",
                "key": "ugyu",
                "mode": "bo",
                "desc": "",
                "status": "deploy",
                "typeId": "",
                "isMain": "Y",
                "version": 1,
                "formHtml": null,
                "extendAttr": "{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false}",
                "count": 0,
                "formBo": null,
                "formFieldList": null,
                "data": null
            },
            {
                "pk": "",
                "name": "请假申请表单",
                "ip": null,
                "createBy": "1",
                "createTime": "2020-02-04 09:46:54",
                "updateBy": "1",
                "updateTime": "2020-02-04 09:53:44",
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674189130069966848",
                "key": "qjsqbd",
                "mode": "bo",
                "desc": "",
                "status": "deploy",
                "typeId": "654695915654742016",
                "isMain": "Y",
                "version": 1,
                "formHtml": null,
                "extendAttr": "{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false}",
                "count": 0,
                "formBo": null,
                "formFieldList": null,
                "data": null
            }
        ],
        "pageResult": {
            "limit": 3,
            "page": 1,
            "totalCount": 108,
            "totalPages": 36
        }
    }
}

返回参数说明:

名称 类型 备注
data APIPageList< FormDefPo > 表单定义

删除(批量)

简述:

  • 删除表单定义数据

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
formDefIds String[] 表单实体id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/remove?formDefIds=675704343051108352

返回示例:

{
    "state": 200,
    "request": null,
    "message": "删除表单定义成功",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

保存表单数据

简述:

  • 保存表单数据

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:

FormDefRequestVo 对象信息

名称 类型 是否必须 默认值 备注
data String 表单json

请求参数示例:

{
    "data": "{\"id\":\"654625374541447168\",\"name\":\"主附件(id、多选)\",\"desc\":\"\",\"key\":\"zfj\",\"typeId\":\"654695915654742016\",\"mode\":\"bo\",\"attrs\":{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false},\"typeName\":\"正常数据\",\"busId\":\"654625255721009153\",\"code\":\"zfj\",\"fields\":[{\"id\":\"657652942525956096\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"id\"},{\"id\":\"657652942525956097\",\"name\":\"\",\"label\":\"栅格布局\",\"desc\":\"\",\"field_type\":\"grid\",\"field_options\":{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[{\"id\":\"657652942525956098\",\"name\":\"tuPian\",\"label\":\"图片\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"images\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"tuPian\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942525956099\",\"name\":\"wenDang\",\"label\":\"文档\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"docs\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null,\"max_file_size\":\"1\"},\"field_name\":\"wenDang\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942525956100\",\"name\":\"yinPin\",\"label\":\"音频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"audios\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"yinPin\"}]}]},\"field_name\":\"\"},{\"id\":\"657652942530150400\",\"name\":\"\",\"label\":\"栅格布局\",\"desc\":\"\",\"field_type\":\"grid\",\"field_options\":{\"gutter\":0,\"justify\":\"start\",\"align\":\"top\",\"columns\":[{\"span\":12,\"fields\":[{\"id\":\"657652942530150401\",\"name\":\"shiPin\",\"label\":\"视频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"videos\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"shiPin\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942530150402\",\"name\":\"yaSuo\",\"label\":\"压缩\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"compress\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"yaSuo\"}]},{\"span\":12,\"fields\":[{\"id\":\"657652942530150403\",\"name\":\"wuXian\",\"label\":\"无限\",\"desc\":\"\",\"field_type\":\"attachment\",\"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\",\"multiple\":true,\"default_value\":null},\"field_name\":\"wuXian\"}]}]},\"field_name\":\"\"},{\"id\":\"657652942530150404\",\"name\":\"fjz\",\"label\":\"附件子\",\"desc\":\"\",\"field_type\":\"table\",\"field_options\":{\"mode\":\"inner\",\"relation\":\"one2many\",\"buttons\":[{\"type\":\"add\",\"label\":\"添加\",\"icon\":\"add\",\"style\":\"primary\"},{\"type\":\"remove\",\"label\":\"删除\",\"icon\":\"remove\",\"style\":\"danger\"}],\"columns\":[{\"id\":\"657652942534344704\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"id\"},{\"id\":\"657652942534344705\",\"name\":\"parentId\",\"label\":\"外键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"parentId\"},{\"id\":\"657652942534344706\",\"name\":\"tuPian\",\"label\":\"图片\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"images\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"tuPian\"},{\"id\":\"657652942534344707\",\"name\":\"wenDang\",\"label\":\"文档\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"docs\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"wenDang\"},{\"id\":\"657652942534344708\",\"name\":\"yinPin\",\"label\":\"音频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"audios\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"yinPin\"},{\"id\":\"657652942534344709\",\"name\":\"shiPin\",\"label\":\"视频\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"videos\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"shiPin\"},{\"id\":\"657652942534344710\",\"name\":\"yaSuo\",\"label\":\"压缩\",\"desc\":\"\",\"field_type\":\"attachment\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请选择\",\"uploadType\":\"attachment\",\"media_type\":\"compress\",\"download\":true,\"store\":\"id\",\"required\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\",\"multiple\":true,\"default_value\":null},\"field_name\":\"yaSuo\"},{\"id\":\"657652942534344711\",\"name\":\"wuXian\",\"label\":\"无限\",\"desc\":\"\",\"field_type\":\"attachment\",\"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\",\"multiple\":true,\"default_value\":null},\"field_name\":\"wuXian\"}]},\"field_name\":\"t_fjz\"}]}"
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "保存表单定义成功",
    "cause": "",
    "variables": {
        "id": "654625374541447168"
    },
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

选择表模版

简述:

  • 选择表模版

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boCode String bo定义code
mode String bo 设计模式
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/form/def/selectTableTemplate?boCode=fjz&mode=bo

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "subTableTemplates": [
            {
                "name": "表内编辑",
                "alias": "inner"
            },
            {
                "name": "块模式",
                "alias": "block"
            },
            {
                "name": "弹窗模式",
                "alias": "dialog"
            }
        ],
        "subTables": [],
        "tableVo": {
            "tableName": "fjz",
            "tableComment": "附件子",
            "relation": null,
            "subTableList": []
        },
        "mainTableTemplates": [
            {
                "name": "单列",
                "alias": "one"
            },
            {
                "name": "两列",
                "alias": "two"
            },
            {
                "name": "三列",
                "alias": "three"
            },
            {
                "name": "四列",
                "alias": "four"
            }
        ]
    }
}

返回参数说明:

名称 类型 备注
data Map<String, Object>

备注

文档更新时间: 2020-03-04 17:33   作者:朱业成