人员管理补充公司级树
This commit is contained in:
@@ -35,11 +35,10 @@ 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);
|
||||
this.txtStartDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||
this.txtEndDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||
if (this.CurrUser != null && this.CurrUser.PageSize.HasValue)
|
||||
@@ -57,9 +56,14 @@ namespace FineUIPro.Web.Door
|
||||
protected void changeTree(object sender, EventArgs e)
|
||||
{
|
||||
this.ProjectId = this.ucTree.ProjectId;
|
||||
this.InitDropDownList();
|
||||
this.GetPersonStatistic();
|
||||
}
|
||||
|
||||
private void InitDropDownList()
|
||||
{
|
||||
UnitService.InitUnitDropDownList(this.drpUnit, this.ProjectId, true);
|
||||
}
|
||||
|
||||
#region 删除
|
||||
/// <summary>
|
||||
@@ -240,7 +244,7 @@ namespace FineUIPro.Web.Door
|
||||
{
|
||||
if (registrationId != null)
|
||||
{
|
||||
var registration = (from x in Funs.DB.T_d_facerecord where x.NewID == registrationId select x).FirstOrDefault();
|
||||
var registration = (from x in Funs.DB.T_d_facerecord where x.NewID == registrationId.ToString() select x).FirstOrDefault();
|
||||
// registration.Des1 = "FileUpload/Registration/20247/2024-07/638556302997373049_QQ截图20220817171229_-_副本.png";
|
||||
if (registration != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user