自主管理加分项
This commit is contained in:
@@ -62,6 +62,8 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
txtCompanyTrainingItemName.Text = model.CompanyTrainingItemName;
|
||||
txtCompileMan.Text = model.CompileMan;
|
||||
hdCompileMan.Text = model.CompileMan;
|
||||
if (model.Outcome!=null)
|
||||
drpOutcome.SelectedValue = model.Outcome.ToString();
|
||||
if (!string.IsNullOrEmpty(model.TestTrainingIds))
|
||||
{
|
||||
ddTestTraining.Values = model.TestTrainingIds.Split(',');
|
||||
@@ -104,8 +106,6 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,6 +116,8 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
RadioButtonList1.DataValueField = "WorkPostId";
|
||||
RadioButtonList1.DataSource = workPostList;
|
||||
RadioButtonList1.DataBind();
|
||||
|
||||
Enums.InitOutcomeDropDownList(drpOutcome, false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
@@ -169,6 +171,8 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
CompanyTrainingItemName = this.txtCompanyTrainingItemName.Text.Trim(),
|
||||
CompileMan = hdCompileMan.Text.Trim()
|
||||
};
|
||||
|
||||
newModel.Outcome = int.Parse(drpOutcome.SelectedValue);
|
||||
if (!string.IsNullOrEmpty(DropDownBox1.Text))
|
||||
{
|
||||
newModel.WorkPostIds = String.Join(",", DropDownBox1.Values);
|
||||
|
||||
Reference in New Issue
Block a user