58 lines
2.4 KiB
C#
58 lines
2.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace SuperMap.RealEstate.Finance.Modules.Statistics
|
|
{
|
|
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 (SuperMap.RealEstate.WorkFlow.Instance.Business.ProInst _ProInst = new WorkFlow.Instance.Business.ProInst(this.Transaction))
|
|
{
|
|
_ProInst.ProInst_ID = long.Parse(proinst_id.ToDecrypt());
|
|
if (_ProInst.Select())
|
|
{
|
|
switch (_ProInst.Operation_Type.Value)
|
|
{
|
|
#region 合同审批
|
|
case Enums.Operation_Type.CompactInsert:
|
|
this.Master_TabSheet.Add("流程信息", "CompactSearch/Default.aspx" + this.Request.Url.Query);
|
|
this.Master_TabSheet.Add("附件信息", "CompactSearch/uploadData/Default.aspx" + this.Request.Url.Query);
|
|
break;
|
|
|
|
#endregion
|
|
|
|
#region 财务报销
|
|
case Enums.Operation_Type.ExpenseBill:
|
|
//this.Master_TabSheet.Add("报销信息", "ExpenseBill/Default.aspx" + this.Request.Url.Query);
|
|
this.Master_TabSheet.Add("报销表单", "ExpenseBill/Bill/Default.aspx" + this.Request.Url.Query);
|
|
this.Master_TabSheet.Add("审批信息", "ExpenseBill/ApproveList.aspx" + this.Request.Url.Query);
|
|
break;
|
|
#endregion
|
|
}
|
|
}
|
|
}
|
|
return RetString;
|
|
}
|
|
#endregion
|
|
}
|
|
} |