1记分
This commit is contained in:
@@ -47,6 +47,11 @@ namespace FineUIPro.Web.HSSE.Examine
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
var thisProjectId = Request.Params["ProjectId"];
|
||||
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId)
|
||||
{
|
||||
this.ProjectId = Request.Params["projectId"];
|
||||
}
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
this.InitDropDownList();
|
||||
|
||||
@@ -68,6 +73,7 @@ namespace FineUIPro.Web.HSSE.Examine
|
||||
if (!string.IsNullOrEmpty(model.PersonId))
|
||||
{
|
||||
this.drpPerson.SelectedValue = model.PersonId;
|
||||
this.drpPerson.Readonly = true;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(model.BonusScoreTypeId))
|
||||
{
|
||||
@@ -82,8 +88,7 @@ namespace FineUIPro.Web.HSSE.Examine
|
||||
else
|
||||
{
|
||||
////自动生成编码
|
||||
this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Examine_BonusScoreSelfManagement", "Code", CurrUser.LoginProjectId);
|
||||
//////自动生成编码
|
||||
this.txtCode.Text = SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Examine_BonusScoreSelfManagement", "Code", this.ProjectId);
|
||||
//this.txtCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.BonusScoreSelfManagementMenuId, this.ProjectId, this.CurrUser.UnitId);
|
||||
//this.drpPerson.SelectedValue = this.CurrUser.UserId;
|
||||
//this.txtDateTime.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||
@@ -97,7 +102,7 @@ namespace FineUIPro.Web.HSSE.Examine
|
||||
private void InitDropDownList()
|
||||
{
|
||||
BonusScoreTypeService.InitBonusScoreTypeDropDownList(this.drpBonusScoreType, false);
|
||||
PersonService.InitPersonByProjectUnitDropDownList(this.drpPerson, this.CurrUser.LoginProjectId, "", false);
|
||||
PersonService.InitPersonByProjectUnitDropDownList(this.drpPerson, this.ProjectId, "", false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user