You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
797 B
Plaintext
34 lines
797 B
Plaintext
using System;
|
|
|
|
namespace BP.WF.HttpHandler
|
|
{
|
|
/// <summary>
|
|
/// 页面功能实体
|
|
/// </summary>
|
|
public class WF_WorkOpt_StartGuide : BP.WF.HttpHandler.DirectoryPageBase
|
|
{
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
public WF_WorkOpt_StartGuide()
|
|
{
|
|
|
|
}
|
|
|
|
//执行启动,并设置父子关系.
|
|
public string ParentFlowModel_StartIt()
|
|
{
|
|
Int64 pworkid = this.GetRequestValInt64("PWorkID");
|
|
GenerWorkFlow gwfP = new GenerWorkFlow(pworkid);
|
|
|
|
Flow fl = new Flow(this.FlowNo);
|
|
Work wk=fl.NewWork();
|
|
|
|
BP.WF.Dev2Interface.SetParentInfo(this.FlowNo,this.WorkID,pworkid,null,gwfP.NodeID,false);
|
|
return wk.OID.ToString();
|
|
}
|
|
|
|
|
|
}
|
|
}
|