修改培训人员添加以及增加培训记录页面

This commit is contained in:
2024-04-03 11:12:45 +08:00
parent 0b081ea38f
commit 9235b5e078
23 changed files with 1656 additions and 585 deletions
@@ -61,7 +61,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
hdCompileMan.Text = q.CompileMan;
if (q.LearningTime.HasValue)
{
txtLearningTime.Text = q.LearningTime.Value.ToString();
txtLearningTime.Text = (q.LearningTime.Value/60).ToString();
}
if (q.CompileDate != null)
{
@@ -99,7 +99,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
};
if (!string.IsNullOrEmpty(txtLearningTime.Text))
{
newCompanyTrainItem.LearningTime = int.Parse(txtLearningTime.Text);
newCompanyTrainItem.LearningTime = int.Parse(txtLearningTime.Text)*60;
}
if (!string.IsNullOrEmpty(txtCompileDate.Text.Trim()))
{