代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
using BLL;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using AspNet = System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.DigData
|
||||
{
|
||||
public partial class ShowProjectWBSPackage : PageBase
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
@@ -91,7 +89,7 @@ namespace FineUIPro.Web.DigData
|
||||
if (e.Node.CommandName == "ProjectType") //展开工程类型
|
||||
{
|
||||
var trUnitWork = from x in Funs.DB.WBS_UnitWork
|
||||
where x.ProjectId == this.ProjectId && x.SuperUnitWork == null && x.ProjectType == e.Node.NodeID
|
||||
where x.ProjectId == this.ProjectId && x.SuperUnitWork == null && x.ProjectType == e.Node.NodeID
|
||||
select x;
|
||||
trUnitWork = trUnitWork.OrderBy(x => x.UnitWorkCode);
|
||||
if (trUnitWork.Count() > 0)
|
||||
@@ -181,7 +179,7 @@ namespace FineUIPro.Web.DigData
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region Tree点击事件
|
||||
/// <summary>
|
||||
/// Tree点击事件
|
||||
@@ -235,7 +233,7 @@ namespace FineUIPro.Web.DigData
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
@@ -259,7 +257,7 @@ namespace FineUIPro.Web.DigData
|
||||
var getC = Funs.DB.WBS_ControlItemAndCycle.FirstOrDefault(x => x.ControlItemAndCycleId == this.Grid1.SelectedRowID);
|
||||
if (getC != null)
|
||||
{
|
||||
selectValues = getSelectIds(this.trWBS.SelectedNode, this.trWBS.SelectedNodeID + this.trWBS.SelectedNode.ToolTip) + "&" + getSelectNames(this.trWBS.SelectedNode, this.trWBS.SelectedNode.Text) + getC .ControlItemContent+ "$" + this.Grid1.SelectedRowID;
|
||||
selectValues = getSelectIds(this.trWBS.SelectedNode, this.trWBS.SelectedNodeID + this.trWBS.SelectedNode.ToolTip) + "&" + getSelectNames(this.trWBS.SelectedNode, this.trWBS.SelectedNode.Text) + getC.ControlItemContent + "$" + this.Grid1.SelectedRowID;
|
||||
}
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(selectValues) + ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user