获取代办、告知信息

 简要描述:首页流程代办、审批告知信息加载
  • 流程代办信息加载接口

接口版本:

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

请求URL:

  • /je/workflow/currentUserTask/getTask

请求方式:

  • POST

请求头:

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

请求参数:

参数名 是否必须 类型 说明
type String PI_PREAPPROV(“待我审批”),PI_APPROVED(“已办理”),PI_OWNER(“我的流程”),PI_DELAY(“延时处理”),PI_INFORMIEREN(“审批告知”); 查询类型
userName String 关键人
startTime String 开始日期
endTime String 结束日期
end boolean 1已完结,0未完结 是否完结
page String 分页信息
start String 分页信息
limit String 分页信息
sort String 流程分类

返回示例:

正确时返回:

{
    code: "1000"
    data: {
    badges{
        PI_APPROVED: 6
        PI_DELAY: 0
        PI_INFORMIEREN: 39
        PI_OWNER: 5
        PI_PREAPPROV: 21
    }
    data: {
        rows: [{id: "ef6ec28e06fc4dd4b6a6bd678676e2ad", title: "王金爽(今天)发起【数据流程】",…},…]
        0: {id: "ef6ec28e06fc4dd4b6a6bd678676e2ad", title: "王金爽(今天)发起【数据流程】",…}
        collect: "0"
        context: "2022-08-23 14:37:18,由我【<span class=\"flow-remark\">驳回给我</span>】,意见:同意"
        delay: "0"
        funcCode: "JE_LCSP_JBSQ"
        id: "ef6ec28e06fc4dd4b6a6bd678676e2ad"
        piid: "fff5f935-22ad-11ed-96f7-0242f87b94e8"
        pkValue: "d422b9fc4c054298b3e17a07ac88f5fb"
        submitTime: "2022-08-23 14:58:23"
        submitUserId: null
        submitUserName: "王金爽"
        submitUserPhoto: "njctojmq6cVVUkfXrti"
        tableCode: "JE_LCSP_JBSQ"
        title: "王金爽(今天)发起【数据流程】"
        1: {id: "019838c4c3614fe48efa3e1a972cda18", title: "王金爽(今天)发起【员工入职申请】",…}
        2: {id: "3dc578ecb5cb477ca4db54e39e0e02cd", title: "王金爽(今天)发起【员工入职申请】",…}
        3: {id: "3fa0f1e1f9af452381c101f434fe71b6", title: "王金爽(今天)发起【员工入职申请】",…}
        4: {id: "dcd730bfa41a43faa7df7067a3dd921e", title: "王金爽(今天)启动【普通_多人_加班审批】",…}
        5: {id: "6a7b79881d0e460bba1d147358276781", title: "王金爽(今天)发起【数据流程】",…}
        6: {id: "1dd0d76801da46fcb3ec1212bd426203", title: "王金爽(今天)发起【数据流程】",…}
        7: {id: "ae7d1fc13b3a4c76b17d757500cf7c17", title: "王超(昨天)发起【数据流程】",…}
        8: {id: "c3ba640fb6d3469a965262385c26c0b9", title: "李飞(2022-08-10)发起【数据流程】",…}
        9: {id: "4029a90575764772a92566c60964dafe", title: "庞峰(2022-08-05)启动【流转申请】",…}
        10: {id: "7562c274eaac4d7b8ab08174f1d2d11b", title: "庞峰(2022-08-05)启动【流转申请】",…}
        11: {id: "d235663a00244a28a52967b930f715b9", title: "庞峰(2022-08-05)启动【流转申请】",…}
        12: {id: "64c48362884b49aabf5ade6ba64b8f9a", title: "陆琪琪(2022-08-05)发起【员工入职申请】",…}
        13: {id: "1449bd42e6e4451e9f42c8731a071943", title: "王金爽(2022-08-01)发起【员工入职申请】",…}
        14: {id: "cc7c1525a80a4a8683c99f7a0724e94e", title: "王金爽(2022-08-01)发起【员工入职申请】",…}
        15: {id: "5f260e8a5bd749f0b7a893a352ffce2d", title: "陆琪琪(2022-07-20)发起【员工入职申请】",…}
        16: {id: "62fd2f19a5714c5d89304b17bed27844", title: "王金爽(2022-07-12)启动【员工入职申请】",…}
        17: {id: "55b22e31c6b84998a69d7d31cbc40aeb", title: "王金爽(2022-07-05)启动【员工入职申请】",…}
        18: {id: "b041e6f201bd42ca9ee0ede47b1833e1", title: "陆琪琪(2022-07-04)启动【员工入职申请】",…}
        19: {id: "177ab58f14224577ba05e67db883d92b", title: "王金爽(2022-06-30)启动【员工入职申请】",…}
        20: {id: "7e8e5c3aa49b4244a879ce64b25ca2e9", title: "王金爽(2022-06-30)启动【员工入职申请】",…}
        totalCount: 21
    }
    message: "操作成功"
    rows: null
    success: true
    totalCount: null
}

错误时返回:

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

返回参数说明:

参数名 类型 说明
badges json 各分类总数
data String 该分类信息

备注:

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