|
|
@@ -32,6 +32,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
Get["/processinfo"] = GetProcessDetails; |
|
|
|
|
|
|
|
Post["/create"] = Create; |
|
|
|
Post["/createnoform"] = CreateNoForm; |
|
|
|
Post["/againcreate"] = AgainCreateFlow; |
|
|
|
Post["/childcreate"] = CreateChildFlow; |
|
|
|
|
|
|
@@ -215,7 +216,19 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
nWFProcessIBLL.CreateFlow(parameter.code, parameter.processId, parameter.title, parameter.level, parameter.auditors, userInfo); |
|
|
|
return this.Success("创建成功"); |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|
/// 无表单提交,针对app H5 |
|
|
|
/// </summary> |
|
|
|
/// <param name="_"></param> |
|
|
|
/// <returns></returns> |
|
|
|
private Response CreateNoForm(dynamic _) |
|
|
|
{ |
|
|
|
flowParam parameter = this.GetReqData<flowParam>(); |
|
|
|
|
|
|
|
|
|
|
|
nWFProcessIBLL.CreateFlow(parameter.code, parameter.processId, parameter.title, parameter.level, parameter.auditors, userInfo); |
|
|
|
return this.Success("创建成功"); |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|
/// 重新创建流程 |
|
|
|
/// </summary> |
|
|
|