47 lines
1.7 KiB
C#
47 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using SuperMap.RealEstate.WorkFlow.Instance.Business;
|
|
|
|
namespace Personnel.WebSite.Modules.Employ
|
|
{
|
|
public partial class Main : SuperMap.RealEstate.Web.UI.PageValid
|
|
{
|
|
#region 方法 -> 页面加载
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (IsPostBack)
|
|
return;
|
|
//获取标签页地址
|
|
string Url = GetUrlString(Request["PROINST_ID"].ToString());
|
|
if (Url != "")
|
|
{
|
|
|
|
}
|
|
//添加流程审批标签页
|
|
string ExString = "ProInst_ID=" + Request["PROINST_ID"].ToString() + "&Passport_Guid=" + this.PassportInfo.Guid +
|
|
"&PopDialogPageName=F_R_GridPageEx1&PopDialogName=NowActInstPage";
|
|
this.Master_TabSheet.Add("流程审批", "/WorkFlow/Transact/Common/ProcessList.aspx?" + ExString);
|
|
}
|
|
#endregion
|
|
|
|
#region 方法 -> 办理流程 办结结果呈现
|
|
private string GetUrlString(string proinst_id)
|
|
{
|
|
string RetString = "";
|
|
using (ProInst _ProInst = new ProInst(this.Transaction))
|
|
{
|
|
_ProInst.ProInst_ID = long.Parse(proinst_id.ToDecrypt());
|
|
if (_ProInst.Select())
|
|
{
|
|
this.Master_TabSheet.Add("流程信息", "/Personnel/Modules/Employ/EMPLOYPage.aspx" + this.Request.Url.Query);
|
|
this.Master_TabSheet.Add("附件信息", "/Personnel/Modules/Employ/EMPLOYAttachment.aspx" + this.Request.Url.Query);
|
|
}
|
|
}
|
|
return RetString;
|
|
}
|
|
#endregion
|
|
}
|
|
} |