项目人员信息档案新增、导入补充:机构划分、组织单元、人员分类、员工子组、备注信息
This commit is contained in:
@@ -97,7 +97,7 @@ namespace FineUIPro.Web.CQMS.Solution
|
||||
txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||
visaApplicationFinalId = Request.Params["visaApplicationFinalId"];
|
||||
this.State = "1";
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_TCC && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_XJYJ && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
{
|
||||
drpUnit.Enabled = false;
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace FineUIPro.Web.CQMS.Solution
|
||||
txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||
WorkOrderFinalId = Request.Params["WorkOrderFinalId"];
|
||||
this.State = "1";
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_TCC && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_XJYJ && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
{
|
||||
drpUnit.Enabled = false;
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@ namespace FineUIPro.Web.CQMS.Information
|
||||
Panel2.Enabled = false;
|
||||
VisaApplicationService.Init(drpHandleType, Const.VisaApplication_Audit6, false);
|
||||
var userList = from x in Funs.DB.Sys_User
|
||||
where x.UnitId == BLL.Const.UnitId_TCC && x.IsOffice == true
|
||||
where x.UnitId == BLL.Const.UnitId_XJYJ && x.IsOffice == true
|
||||
select x;
|
||||
drpHandleMan.DataValueField = "UserId";
|
||||
drpHandleMan.DataTextField = "UserName";
|
||||
@@ -305,7 +305,7 @@ namespace FineUIPro.Web.CQMS.Information
|
||||
Panel2.Enabled = false;
|
||||
VisaApplicationService.Init(drpHandleType, Const.VisaApplication_Audit7, false);
|
||||
var userList = from x in Funs.DB.Sys_User
|
||||
where x.UnitId == BLL.Const.UnitId_TCC && x.IsOffice == true
|
||||
where x.UnitId == BLL.Const.UnitId_XJYJ && x.IsOffice == true
|
||||
select x;
|
||||
drpHandleMan.DataValueField = "UserId";
|
||||
drpHandleMan.DataTextField = "UserName";
|
||||
@@ -1561,7 +1561,7 @@ namespace FineUIPro.Web.CQMS.Information
|
||||
else if (this.drpHandleType.SelectedValue == BLL.Const.VisaApplication_Audit7 || this.drpHandleType.SelectedValue == BLL.Const.VisaApplication_Audit8)
|
||||
{
|
||||
var userList = from x in Funs.DB.Sys_User
|
||||
where x.UnitId == BLL.Const.UnitId_TCC && x.IsOffice == true
|
||||
where x.UnitId == BLL.Const.UnitId_XJYJ && x.IsOffice == true
|
||||
select x;
|
||||
drpHandleMan.DataValueField = "UserId";
|
||||
drpHandleMan.DataTextField = "UserName";
|
||||
@@ -1638,7 +1638,7 @@ namespace FineUIPro.Web.CQMS.Information
|
||||
else if (this.drpHandleType.SelectedValue == BLL.Const.VisaApplication_Audit7 || this.drpHandleType.SelectedValue == BLL.Const.VisaApplication_Audit8)
|
||||
{
|
||||
var userList = from x in Funs.DB.Sys_User
|
||||
where x.UnitId == BLL.Const.UnitId_TCC && x.IsOffice == true
|
||||
where x.UnitId == BLL.Const.UnitId_XJYJ && x.IsOffice == true
|
||||
select x;
|
||||
drpHandleMan.DataValueField = "UserId";
|
||||
drpHandleMan.DataTextField = "UserName";
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace FineUIPro.Web.CQMS.Information
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpProposeUnit, CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);
|
||||
|
||||
btnNew.OnClientClick = Window1.GetShowReference("EditVisaApplicationFinal.aspx") + "return false;";
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_TCC && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_XJYJ && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
{
|
||||
this.drpProposeUnit.Hidden = true;
|
||||
}
|
||||
@@ -88,7 +88,7 @@ namespace FineUIPro.Web.CQMS.Information
|
||||
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", CurrUser.LoginProjectId));
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_TCC && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_XJYJ && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
{
|
||||
strSql += " AND solution.UnitId='" + this.CurrUser.UnitId+"'";
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace FineUIPro.Web.CQMS.Information
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpProposeUnit, CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);
|
||||
|
||||
btnNew.OnClientClick = Window1.GetShowReference("EditWorkOrderFinal.aspx") + "return false;";
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_TCC && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_XJYJ && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
{
|
||||
this.drpProposeUnit.Hidden = true;
|
||||
}
|
||||
@@ -89,7 +89,7 @@ namespace FineUIPro.Web.CQMS.Information
|
||||
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", CurrUser.LoginProjectId));
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_TCC && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
if (this.CurrUser.UnitId != null && this.CurrUser.UnitId != Const.UnitId_XJYJ && this.CurrUser.UnitId != Const.hfnbdId)
|
||||
{
|
||||
strSql += " AND solution.UnitId='" + this.CurrUser.UnitId+"'";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user