提交代码
This commit is contained in:
@@ -132,6 +132,7 @@ namespace FineUIPro.Web.JDGL.Check
|
||||
{
|
||||
errorInfos = string.Empty;
|
||||
string Id = Request.Params["Id"];
|
||||
UnitWorkService.InitUnitWorkDownList(drpUnitWork, this.CurrUser.LoginProjectId, true);
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
@@ -143,7 +144,7 @@ namespace FineUIPro.Web.JDGL.Check
|
||||
|
||||
private void BindGrid()
|
||||
{
|
||||
DataTable table = BLL.WorkPackageService.GetAllTreeDataTable(this.CurrUser.LoginProjectId, string.Empty, null, null, "0");
|
||||
DataTable table = BLL.WorkPackageService.GetAllTreeDataTable(this.CurrUser.LoginProjectId, string.Empty, null, null, "0", this.drpUnitWork.SelectedValue);
|
||||
Grid1.RecordCount = table.Rows.Count;
|
||||
var table2 = this.GetPagedDataTable(Grid1, table);
|
||||
Grid1.DataSource = table2;
|
||||
@@ -368,6 +369,12 @@ namespace FineUIPro.Web.JDGL.Check
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
protected void drpUnitWork_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user