WebMvc/Views/WorkFlowRun/Execute.cshtml
(开头部分) 13KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
WebMvc.Common.Tools.CheckLogin(false);
string params1 = Request.Form["params"];
string issign = Request.Form["issign"];
string comment = Request.Form["comment"];
string flowid = Request.QueryString["flowid"];
string instanceid = Request.QueryString["instanceid"];
string taskid = Request.QueryString["taskid"];
string stepid = Request.QueryString["stepid"];
string groupid = Request.QueryString["groupid"];
if(params1.IsNullOrEmpty())
{
Response.Write("参数为空!");
Response.End();
}
var opationJSON = LitJson.JsonMapper.ToObject(params1);
string opation = opationJSON["type"].ToString().ToLower();
Business.Platform.WorkFlow bworkFlow = new Business.Platform.WorkFlow();
Business.Platform.WorkFlowTask btask = new Business.Platform.WorkFlowTask();
Business.Platform.WorkFlowDelegation bworkFlowDelegation = new Business.Platform.WorkFlowDelegation();
Business.Platform.Organize borganize = new Business.Platform.Organize();
Business.Platform.Users busers = new Business.Platform.Users();
var wfInstalled=bworkFlow.GetWorkFlowRunModel(flowid);
if(wfInstalled==null)
{
Response.Write("未找到流程运行时实体,请确认流程是否已安装!");
Response.End();
}
//流程标题
string titleField = Request.Form["Form_TitleField"];
string title = Request.Form[titleField];
Data.Model.WorkFlowExecute.Execute execute = new Data.Model.WorkFlowExecute.Execute();
execute.Comment = comment.IsNullOrEmpty() ? "" : comment.Trim();
switch(opation)
{
case "submit":
execute.ExecuteType = Data.Model.WorkFlowExecute.EnumType.ExecuteType.Submit;
break;
case "save":
execute.ExecuteType = Data.Model.WorkFlowExecute.EnumType.ExecuteType.Save;
break;
case "back":
execute.ExecuteType = Data.Model.WorkFlowExecute.EnumType.ExecuteType.Back;
break;
case "completed":
execute.ExecuteType = Data.Model.WorkFlowExecute.EnumType.ExecuteType.Completed;
break;
case "redirect":
execute.ExecuteType = Data.Model.WorkFlowExecute.EnumType.ExecuteType.Redirect;
break;
}
后面还有 247 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
