项目人员信息档案新增、导入补充:机构划分、组织单元、人员分类、员工子组、备注信息
This commit is contained in:
@@ -24,7 +24,7 @@ namespace FineUIPro.Web.ZHGL.Person
|
||||
Funs.DropDownPageSize(this.ddlPageSize);
|
||||
BLL.UnitService.InitNoThisAllUnitDownList(this.drpUnit, false);
|
||||
Funs.FineUIPleaseSelect(drpUnit, "按单位查询");
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != BLL.Const.UnitId_TCC)
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != BLL.Const.UnitId_XJYJ)
|
||||
{
|
||||
this.drpUnit.Enabled = false;
|
||||
this.drpUnit.SelectedValue = this.CurrUser.UnitId;
|
||||
@@ -63,7 +63,7 @@ namespace FineUIPro.Web.ZHGL.Person
|
||||
listStr.Add(new SqlParameter("@PersonName", "%" + this.txtPersonName.Text.Trim() + "%"));
|
||||
}
|
||||
strSql += " AND CompanyBranchPerson.UnitId != @UnitId2";
|
||||
listStr.Add(new SqlParameter("@UnitId2", BLL.Const.UnitId_TCC));
|
||||
listStr.Add(new SqlParameter("@UnitId2", BLL.Const.UnitId_XJYJ));
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace FineUIPro.Web.ZHGL.Person
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
string type = Request.Params["type"];
|
||||
BLL.UnitService.InitNoThisAllUnitDownList(this.drpUnit, true);
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != BLL.Const.UnitId_TCC)
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != BLL.Const.UnitId_XJYJ)
|
||||
{
|
||||
this.drpUnit.Enabled = false;
|
||||
this.drpUnit.SelectedValue = this.CurrUser.UnitId;
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace FineUIPro.Web.ZHGL.Person
|
||||
listStr.Add(new SqlParameter("@PersonName", "%" + this.txtPersonName.Text.Trim() + "%"));
|
||||
}
|
||||
strSql += " AND CompanyBranchPerson.UnitId = @UnitId";
|
||||
listStr.Add(new SqlParameter("@UnitId", BLL.Const.UnitId_TCC));
|
||||
listStr.Add(new SqlParameter("@UnitId", BLL.Const.UnitId_XJYJ));
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ namespace FineUIPro.Web.ZHGL.Person
|
||||
{
|
||||
newCompanyBranchPerson.WorkPostId = this.drpWorkPost.SelectedValue;
|
||||
}
|
||||
newCompanyBranchPerson.UnitId = BLL.Const.UnitId_TCC;
|
||||
newCompanyBranchPerson.UnitId = BLL.Const.UnitId_XJYJ;
|
||||
if (string.IsNullOrEmpty(this.CompanyBranchPersonId))
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.hdCompanyBranchPersonId.Text))
|
||||
|
||||
@@ -351,7 +351,7 @@ namespace FineUIPro.Web.ZHGL.Person
|
||||
{
|
||||
Model.Person_CompanyBranchPerson companyBranchPerson = new Model.Person_CompanyBranchPerson();
|
||||
companyBranchPerson.CompanyBranchPersonId = Guid.NewGuid().ToString();
|
||||
companyBranchPerson.UnitId = BLL.Const.UnitId_TCC;
|
||||
companyBranchPerson.UnitId = BLL.Const.UnitId_XJYJ;
|
||||
companyBranchPerson.PersonName = row[0].ToString().Trim();
|
||||
companyBranchPerson.Sex = row[1].ToString().Trim() == "男" ? "1" : "2";
|
||||
companyBranchPerson.IdentityCard = row[2].ToString();
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace FineUIPro.Web.ZHGL.Person
|
||||
{
|
||||
this.drpProject.SelectedValue = this.CurrUser.LoginProjectId;
|
||||
this.drpProject.Readonly = true;
|
||||
if (this.CurrUser.UnitId != BLL.Const.UnitId_TCC && !string.IsNullOrEmpty(this.CurrUser.UnitId))
|
||||
if (this.CurrUser.UnitId != BLL.Const.UnitId_XJYJ && !string.IsNullOrEmpty(this.CurrUser.UnitId))
|
||||
{
|
||||
UnitService.InitUnitDropDownList(this.drpUnit, this.drpProject.SelectedValue, false);
|
||||
Funs.FineUIPleaseSelect(drpUnit, "按单位查询");
|
||||
|
||||
Reference in New Issue
Block a user