提交代码

This commit is contained in:
2023-12-13 16:47:03 +08:00
parent 4e3d979993
commit 61a2d7c518
7 changed files with 100 additions and 27 deletions
@@ -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();
}
}
}