20210829
This commit is contained in:
@@ -120,11 +120,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
if (person != null)
|
||||
{
|
||||
idCards += person.IdentityCard + ",";
|
||||
workAreaIds += person.WorkAreaId;
|
||||
if (!string.IsNullOrEmpty(person.WorkAreaId))
|
||||
{
|
||||
workAreaNames += BLL.UnitWorkService.getUnitWorkByUnitWorkId(person.WorkAreaId).UnitWorkName + ",";
|
||||
}
|
||||
workAreaIds += person.WorkAreaId;
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(idCards))
|
||||
@@ -134,11 +130,8 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
if (!string.IsNullOrEmpty(workAreaIds))
|
||||
{
|
||||
this.drpWorkArea.SelectedValueArray = workAreaIds.Split(',');
|
||||
}
|
||||
if (!string.IsNullOrEmpty(workAreaNames))
|
||||
{
|
||||
this.txtWorkArea.Text = workAreaNames.Substring(0, workAreaNames.LastIndexOf(','));
|
||||
}
|
||||
this.txtWorkArea.Text = UnitWorkService.GetUnitWorkName(workAreaIds);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -258,7 +251,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
if (!string.IsNullOrEmpty(person.WorkAreaId))
|
||||
{
|
||||
personInfo.WorkAreaId = person.WorkAreaId;
|
||||
personInfo.WorkAreaName = BLL.UnitWorkService.getUnitWorkByUnitWorkId(person.WorkAreaId).UnitWorkName;
|
||||
personInfo.WorkAreaName = BLL.UnitWorkService.GetUnitWorkName(person.WorkAreaId);
|
||||
}
|
||||
}
|
||||
personInfo.Address = this.txtAddress.Text.Trim();
|
||||
|
||||
Reference in New Issue
Block a user