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.Train { public partial class Main : SuperMap.RealEstate.Web.UI.PageValid { 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); } #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/Train/TRAINPage.aspx" + this.Request.Url.Query); } } return RetString; } #endregion } }