审批流程—-启动

接口说明:
URL:/app/stratTask2
参数:
ywType:xxx//业务类型(必须)
bussniesSid:xxx//业务SID(必须)

prossId:xxx//选择的流程ID,没有流程则不需要传
taskPid:-1 默认值
jingbanPerson 经办人SID
jingbanPersonName 经办人名称

nibanremak 拟办意见 | | 返回值: |

流程审批—-同意

接口说明:
URL:/app/projectTaskApproval
参数:
businessKey 业务sid
businessType 表名(p_pro_problem_amendment)_assigneeOrRole 审批人CODE
assigneeOrRoleName 审批人名称
description 审批意见
ccHumanCode 抄送人CODE多个逗号分隔
ccHumanCodeName 抄送人姓名多个逗号分隔

state: 1
nodeOrder: 0
返回值:

任务审批—驳回

接口说明:
URL:/app/projectTaskTurnDown
参数:
businessKey:xxx 业务sid
businessType:xxx 表名(p_pro_problem_amendment)
assigneeOrRole:xxx 审批人CODE
assigneeOrRoleName:xxx 审批人名称
description:xxx 审批意见
ccHumanCode:xxx 抄送人CODE多个逗号分隔
ccHumanCodeName:xxx 抄送人姓名多个逗号分隔
state: 2
nodeOrder: 0
返回值:

获取审批记录

接口说明:
URL:/app/getHistoryTask
参数说明:
ywSid:xxx,
ywType:xxx/
返回值:

获取流程列表

接口说明:
URL:/app/taskFlow/queryProcessList
参数:
bussniesSid:xxx//业务SID
ywType:xxx//
projectSid:xxx//

ywType:
工程变更单p_engineering_change_form
工程联系单p_engineering_contact_form
工程签证单p_engineering_vise_form

//变更单流程列表
https://localhost/app/taskFlow/queryProcessList?ywType=p_engineering_contact_form&bussniesSid=05a501c5-830a-4bf1-be08-4e6f34596d51&projectSid=f16ac8d8a42e423fa7a46e86b6084cbd
返回值:
{
- data:[
- {
- custom_pro_id: “4e47c49ff29c40068fcf9b3a3fc5cdde”,
  1. - **custom_pro_name**: "工程联系单"
  • }
    - ],
    - errorCode: “”,
  • errorMsg: “”,

  • msg: “”,

  • success: true

} |

审批中节点指定范围人或启动节点人

接口说明:
URL:/app/taskFlow/getApproveHumanByParm
参数:
isStar:xxx
nodeid:xxx
返回值:

移交

接口说明:移交按钮,当前的任务移交给其它人办理
URL:/app/WorkFlowApproval/insteadApprove
参数:
business:xxx //json格式的字符串如下:
{
todoSid:xxx,
businessKey:xxx,
businessType:xxx,
assigneeOrRole:xxx,
assigneeOrRoleName:xxx,
IsHaveSignature:xxx,
description:xxx
}
返回值: