文档
测试

查看审批详情

POST
http://58.48.161.2:17201/approval/approval/getApprovalInfo

请求参数

参数名
类型
描述
必填
approvalId
String
审批id
必填
type
String
查询类型 01.待审批 02已审批 03抄送 04发起的
必填

响应参数

参数名
类型
描述
必填
approvalId
string
示例:344177 审批id
必填
templateNo
object
示例:null 审批模板编号
必填
approvalName
string
示例:高雯预付款申请审批 审批名
必填
userName
string
示例:高雯 用户
必填
state
string
示例:01 审批结果 00审批中 01完成 02拒绝 03撤回
必填
result
string
示例:审批完成 审批结果
必填
type
string
示例:04 查询类型 01.待审批 02已审批 03抄送 04发起的
必填
revokeState
string
示例:0 撤销状态 0否 1是
必填
attrList
array
属性列表
必填
id
string
示例:0000000000034363 主键id
必填
taskId
string
示例:0000000000004423 任务id
必填
attribute
string
示例:taskId 属性
必填
attributeName
string
示例:任务ID 属性中文名
必填
value
string
示例:1237996251620962305 属性值
必填
isShow
string
示例:0 是否展示 0否 1是
必填
isList
string
示例:0 是否为列表 0是 1否
必填
isClick
string
示例:1 是否点击 0否 1是
必填
attrType
string
示例:08 属性类型00输入框 01文本 02日期 03单选下拉框 04单选框 05附件 06头类型 07多选框
必填
attributeId
string
示例:363 模板属性id 外建
必填
sort
int
示例:1
必填
createTime
int
示例:1584070055
必填
isFlowType
object
示例:null
必填
flowApprovalList
array
流程审批人列表
必填
userName
string
示例:高雯 用户名
必填
userId
string
示例:17 用户id
必填
nodeName
string
示例:发起人 节点名
必填
icon
string
示例:http://118.178.132.220/oa/file/test/30_20201204181947_314167.png
必填
state
string
示例:04 审批状态 00审批中 01完成 02拒绝 03其它 04发起人
必填
type
int
示例:0 类型 0审批 1评论
必填
commentContent
String
示例:null 评论内容
必填
commentFileList
array
示例:null 评论附件
必填
approvalContent
String
示例:null 审批内容
必填
approvalFileList
array
示例:null 审批附件
必填
createTime
int
示例:1584070055
必填
pictureList
array
图片列表
必填
flowRecipientsList
array
数据列表
必填
userName
string
示例:高雯
必填
userId
string
示例:17
必填
nodeName
object
示例:null
必填
icon
string
示例:http://118.178.132.220/oa/file/test/30_20201204181947_314167.png
必填
state
object
示例:null
必填
type
int
示例:0
必填
commentContent
object
示例:null
必填
commentFileList
object
示例:null
必填
approvalContent
object
示例:null
必填
approvalFileList
object
示例:null
必填
createTime
int
示例:0
必填
flowCommentList
array
评论列表
必填

说明 / 示例

``` { "code": 1000, "message": null, "data": { "approvalId": "344177", "templateNo": null, "approvalName": "高雯预付款申请审批", "userName": "高雯", "state": "01", "result": "审批完成", "type": "04", "revokeState": "0", "attrList": [ { "id": "0000000000034363", "taskId": "0000000000004423", "attribute": "taskId", "attributeName": "任务ID", "value": "1237996251620962305", "isShow": "0", "isList": "0", "isClick": "1", "attrType": "08", "attributeId": "363", "sort": 1, "createTime": 1584070055, "isFlowType": null }, { "id": "0000000000034364", "taskId": "0000000000004423", "attribute": "taskName", "attributeName": "任务名称", "value": "黑龙江中石油财务协同", "isShow": "1", "isList": "0", "isClick": "1", "attrType": "08", "attributeId": "364", "sort": 2, "createTime": 1584070055, "isFlowType": null }, { "id": "0000000000034365", "taskId": "0000000000004423", "attribute": "comment", "attributeName": "申请事由", "value": "黑龙江中石油结算", "isShow": "1", "isList": "0", "isClick": "0", "attrType": "01", "attributeId": "27", "sort": 3, "createTime": 1584070055, "isFlowType": null }, { "id": "0000000000034366", "taskId": "0000000000004423", "attribute": "item", "attributeName": "项目名称", "value": "黑龙江中石油", "isShow": "1", "isList": "0", "isClick": "0", "attrType": "00", "attributeId": "28", "sort": 4, "createTime": 1584070055, "isFlowType": null }, { "id": "0000000000034367", "taskId": "0000000000004423", "attribute": "deliveryDate", "attributeName": "期望交付日期", "value": "2020.03.13 11:26", "isShow": "0", "isList": "0", "isClick": "0", "attrType": "02", "attributeId": "29", "sort": 5, "createTime": 1584070055, "isFlowType": null }, { "id": "0000000000034368", "taskId": "0000000000004423", "attribute": "totalPrice", "attributeName": "预付款金额", "value": "397000", "isShow": "1", "isList": "0", "isClick": "0", "attrType": "00", "attributeId": "30", "sort": 6, "createTime": 1584070055, "isFlowType": null }, { "id": "0000000000034369", "taskId": "0000000000004423", "attribute": "account", "attributeName": "收款账户信息", "value": "黑龙江中石油和包充值", "isShow": "0", "isList": "0", "isClick": "0", "attrType": "01", "attributeId": "31", "sort": 7, "createTime": 1584070055, "isFlowType": null }, { "id": "0000000000034370", "taskId": "0000000000004423", "attribute": "accessoryFile", "attributeName": "合同附件", "value": null, "isShow": "0", "isList": "0", "isClick": "0", "attrType": "05", "attributeId": "32", "sort": 8, "createTime": 1584070055, "isFlowType": null }, { "id": "999990089", "taskId": "0000000000004423", "attribute": "isPyment", "attributeName": "是否付款", "value": "已付款", "isShow": "0", "isList": "0", "isClick": "0", "attrType": "08", "attributeId": "905", "sort": 20, "createTime": 1584115200, "isFlowType": null } ], "flowApprovalList": [ { "userName": "高雯", "userId": "17", "nodeName": "发起人", "icon": "http://118.178.132.220/oa/file/test/30_20201204181947_314167.png", "state": "04", "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": null, "approvalFileList": null, "createTime": 1584070055 }, { "userName": "朱腾飞", "userId": "15", "nodeName": "直接主管", "icon": null, "state": "01", "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": "", "approvalFileList": [], "createTime": 1584087795 }, { "userName": "向倩芸", "userId": "19", "nodeName": "审批人", "icon": null, "state": "01", "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": null, "approvalFileList": [], "createTime": 1584087815 }, { "userName": "朱腾飞", "userId": "15", "nodeName": "审批人", "icon": null, "state": "01", "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": "", "approvalFileList": [], "createTime": 1584087815 }, { "userName": "许正阳", "userId": "2", "nodeName": "审批人", "icon": "http://118.178.132.220/oa/file/test/2_20201113154850_689028.png", "state": "01", "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": "", "approvalFileList": [], "createTime": 1584108963 }, { "userName": "郑孟桐", "userId": "1", "nodeName": "审批人", "icon": null, "state": "01", "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": null, "approvalFileList": [], "createTime": 1584108980 } ], "flowRecipientsList": [ { "userName": "高雯", "userId": "17", "nodeName": null, "icon": "http://118.178.132.220/oa/file/test/30_20201204181947_314167.png", "state": null, "type": 0, "commentContent": null, "commentFileList": null, "approvalContent": null, "approvalFileList": null, "createTime": 0 } ], "flowCommentList": [] } } ```