%@ Page Language="C#" %>
<%@ Import Namespace ="eMIS" %>
<%@ Import Namespace ="System.Data" %>
<%
if (Session["userid"] == null)
{
Response.Write("回话丢失!");
Response.End();
}
flowId = Request.QueryString["fid"].ToString();
nodeId = Request.QueryString["nid"].ToString();
recordId = Request.QueryString["rid"].ToString();
qtid = (Request.QueryString["eid"] != null ? Request.QueryString["eid"].ToString() : "");
endorseId = qtid;
currUserId = Session["userid"].ToString();
FlowManager fm = new FlowManager(flowId, dm);
fm.CurrentNodeID = nodeId;
string param = fm.GetNodeProperty(nodeId, "PARAM");
string endorseEdit = StringHelper.GetParamValue(param, "endorseedit");
string impbutton = StringHelper.GetParamValue(param, "impbutton");
string menuid = StringHelper.GetParamValue(param, "menuid");
string allowContinue = StringHelper.GetParamValue(param, "continue");
string url;
string menuId = GetName();
if (endorseEdit == "1" || endorseEdit == "2")
{
string taskId = dm.ExecuteScalar("select id from xt_lcrw where qtid='" + endorseId + "'").ToString();
url = "Kernel.ashx?taskid=" + taskId + "&editmini=1&=" + t;
}
else if (menuid == "")
{
url = "CustomPageDisplay.ashx?toolbar=0&proid=" + menuId + "&recid=" + recordId + "&=" + t;
}
else
{
url = "Kernel.ashx?menuid=" + menuid + "&page=0&varSign=" + recordId + "&anzid=8&" + t;
}
fromId = GetFromId();
GetEndorseId();
string wwwroot = Request.ApplicationPath;
if (wwwroot == "/") wwwroot = "";
%>
流程加签