加载表单流程按钮和字段控制信息

 简要描述:如果功能绑定流程,调用接口,会返回流程按钮和表单控制信息
  • 加载表单流程按钮和字段控制接口

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 于春辉 2022-08-17 2022-08-17

请求URL:

  • /je/workflow/processInfo/getInfo

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明
Content-Type string 请求类型: application/json
authorization string 请求内容签名

请求参数:

参数名 是否必须 类型 说明
funcCode String 功能code
tableCode String 表code
beanId string pkValue
prod string 产品标识

返回示例:

正确时返回:

{
    code: "1000"
   data: [
    0:{
     buttonList: [
     0:{
          appListeners: null
         appVersion: null
         backendListeners: ""
         code: "passBtn"
         customizeComments: ""
         displayExpression: null
         icon: "fal fa-thumbs-up"
         id: "passBtn"
         name: "通过"
         operationId: "taskPassOperator"
         pcListeners: null
         pdid: "sKiBsswZtbsPS9nQkLu:1:857419e5-1c3b-11ed-8b8e-0242f87b94e8"
         piid: "60453c39-1e15-11ed-84d5-0242f87b94e8"
         taskId: "c02dd938-1e15-11ed-84d5-0242f87b94e8"
        },
     1: {
         appListeners: null
         appVersion: null
         backendListeners: ""
         code: "vetoBtn"
         customizeComments: ""
         displayExpression: null
         icon: "fal fa-thumbs-down"
         id: "vetoBtn"
         name: "否决"
         operationId: "taskVetoOperator"
         pcListeners: null
         pdid: "sKiBsswZtbsPS9nQkLu:1:857419e5-1c3b-11ed-8b8e-0242f87b94e8"
         piid: "60453c39-1e15-11ed-84d5-0242f87b94e8"
         taskId: "c02dd938-1e15-11ed-84d5-0242f87b94e8"
         },
      2: {
         appListeners: null
         appVersion: null
         backendListeners: ""
         code: "abstainBtn"
         customizeComments: ""
         displayExpression: null
         icon: "fal fa-meh"
         id: "abstainBtn"
         name: "弃权"
         operationId: "taskAbstainOperator"
         pcListeners: null
         pdid: "sKiBsswZtbsPS9nQkLu:1:857419e5-1c3b-11ed-8b8e-0242f87b94e8"
         piid: "60453c39-1e15-11ed-84d5-0242f87b94e8"
         taskId: "c02dd938-1e15-11ed-84d5-0242f87b94e8"
         }]
     formConfig: {
         appVersion: null
         formButtonList: []
         formChildFuncs: []
         formEditable: true
         formFieldList: []
         listSynchronization: false
         workflowConfig: {currentNodeId: "countersign6ngHZuRWlyWbufCLfp0", currentNodeName: "会签",…}
         appVersion: null
         asynTree: "0"
         audFlag: "WAIT"
         audFlagName: "审批中"
         currentNodeId: "countersign6ngHZuRWlyWbufCLfp0"
         currentNodeName: "会签"
         currentTarget: "lineUILD3fswOsTXc1HiJxC"
         listSynchronization: "0"
         multiple: null
         personnelAdjustments: "1"
         selectAll: "0"
         sequential: "0"
         showSequentialConfig: "1"
         simpleApproval: "0"
         type: null
         }
     workflowConfig: {
         appVersion: null
         asynTree: "0"
         audFlag: "WAIT"
         audFlagName: "审批中"
         currentNodeId: "countersign6ngHZuRWlyWbufCLfp0"
         currentNodeName: "会签"
         currentTarget: "lineUILD3fswOsTXc1HiJxC"
         listSynchronization: "0"
         multiple: null
         personnelAdjustments: "1"
         selectAll: "0"
         sequential: "0"
         showSequentialConfig: "1"
         simpleApproval: "0"
         type: null
         }
     }
   }]
   message: "操作成功"
   rows: null
   success: true
   totalCount: null
}

错误时返回:

{
"errcode": 500,
"errmsg": "invalid appid"
}

返回参数说明:

参数名 类型 说明
buttonList JSONArayy 按钮信息
formConfig JSONOBJECT 表单配置信息
workflowConfig JSONOBJECT 流程信息

备注:

  • 更多返回错误代码请看首页的错误代码描述
最后编辑: 于春辉  文档更新时间: 2024-08-08 13:51   作者:于春辉