自主管理加分项

This commit is contained in:
2025-03-04 18:12:07 +08:00
parent 6b48da4eff
commit 5d3273f119
92 changed files with 3646 additions and 4595 deletions
@@ -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);