人员管理补充公司级树

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
@@ -33,11 +33,11 @@ namespace FineUIPro.Web.Door
{
this.ProjectId = Request.Params["projectId"];
}
this.InitDropDownList();
this.ucTree.UnitId = this.CurrUser.UnitId;
this.ucTree.ProjectId = this.ProjectId;
Funs.DropDownPageSize(this.ddlPageSize);
UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, true);
this.txtStartDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
@@ -49,11 +49,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.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
WorkPostService.InitWorkPostDropDownList(this.drpWorkPost, true);
this.InitDropDownList();
this.GetPersonStatistic();
}
/// <summary>