人员管理补充公司级树

This commit is contained in:
2025-04-08 18:30:09 +08:00
parent 5a6796f656
commit a37909b608
14 changed files with 312 additions and 149 deletions
@@ -35,9 +35,10 @@ namespace FineUIPro.Web.Door
{
this.ProjectId = Request.Params["projectId"];
}
this.InitDropDownList();
WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, false);
this.ucTree.UnitId = this.CurrUser.UnitId;
this.ucTree.ProjectId = this.ProjectId;
UnitService.InitUnitDownList(this.drpUnit, this.ProjectId, true);
this.txtDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
Search();
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
@@ -47,11 +48,14 @@ namespace FineUIPro.Web.Door
}
}
}
private void InitDropDownList()
{
UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
}
protected void changeTree(object sender, EventArgs e)
{
this.ProjectId = this.ucTree.ProjectId;
UnitService.InitUnitDownList(this.drpUnit, this.ProjectId, false);
WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, false);
this.InitDropDownList();
}
#region