/// <summary> /// 获取阶段环节的审批记录 /// </summary> /// <param name="context"></param> //private void OpenHistoryList(HttpContext context) //{ // string instanceID = context.Request.QueryString["instanceID"]; // string modelID = context.Request.QueryString["modelID"]; // string step = context.Request.QueryString["step"]; // if (instanceID != "" && modelID != "" && step != "") // { // int iStep = Convert.ToInt32(step); // List<View_WorkflowNodeBusi> workflowBusiList = new View_WorkflowNodeBusiBLL().FindWhere(" WorkflowNodeBusi_TasksInstanceID='" + instanceID + "' and WorkflowNodeBusi_ModuleID='" + modelID + "' and WorkflowNodeBusi_Setp=" + iStep + ""); // string HtmlString = "<table width=\"550\" class=\"tab\" align=\"center\" border=\"0\" cellpadding=\"10\" cellspacing=\"1\">"; // HtmlString += "<tr>"; // HtmlString += "<th style=\"width:100\">"; // HtmlString += "经办人"; // HtmlString += "</th>"; // HtmlString += "<th style=\"width:200\">"; // HtmlString += "经办意见"; // HtmlString += "</th>"; // HtmlString += "<th style=\"width:100\">"; // HtmlString += "经办时间"; // HtmlString += "</th>"; // HtmlString += "<th style=\"width:100\">"; // HtmlString += "动作描述"; // HtmlString += "</th>"; // HtmlString += "</tr>"; // foreach (View_WorkflowNodeBusi flow in workflowBusiList) // { // if (!string.IsNullOrEmpty(flow.WorkflowNodeBusi_AuditUserID)) // { // HtmlString += "<tr>"; // HtmlString += "<td style=\"word-break :break-all;word-wrap:break-word;text-align:center;\">" + flow.UserInfo_FullName + "</td>"; // HtmlString += "<td style=\"word-break :break-all;word-wrap:break-word;text-align:left;\">" + flow.WorkflowNodeBusi_AuditOpinion + "</td>"; // HtmlString += "<td style=\"text-align:center;\">" + flow.WorkflowNodeBusi_AuditTime + "</td>"; // HtmlString += "<td style=\"text-align:center;\">" + flow.WorkflowNodeBusi_Status + "</td>"; // HtmlString += "</tr>"; // } // } // HtmlString += " </table>"; // context.Response.Write(HtmlString); // } //} private void getSortData(HttpContext context) { string id = context.Request.QueryString["id"]; entityList = bll.GetList(p => p.NodeConfigEx_TasksInstanceID == id).OrderBy(p => p.NodeConfigEx_Setp).OrderBy (p => p.NodeConfigEx_UpdateTime).ToList(); int?sort = 1; if (entityList.Count > 0) { sort = entityList.Last().NodeConfigEx_Setp + 1; } context.Response.Write("{\"sort\":\"" + sort + "\"}"); }
private void BingWfConfigNodeID() { Workflow_NodeConfigExBLL workflowNodeConfigExBLL = new Workflow_NodeConfigExBLL(); List <Workflow_NodeConfigEx> nodeConfigExList = workflowNodeConfigExBLL.GetList(p => p.NodeConfigEx_TasksInstanceID == this.ddlworkflowTasksEx.SelectedValue).ToList(); this.ddlWfConfigNodeID.DataSource = nodeConfigExList; this.ddlWfConfigNodeID.DataTextField = "NodeConfigEx_Name"; this.ddlWfConfigNodeID.DataValueField = "NodeConfigExID"; this.ddlWfConfigNodeID.DataBind(); this.ddlNextStep.DataSource = nodeConfigExList; this.ddlNextStep.DataTextField = "NodeConfigEx_Name"; this.ddlNextStep.DataValueField = "NodeConfigExID"; this.ddlNextStep.DataBind(); }