修改培训人员添加以及增加培训记录页面
This commit is contained in:
@@ -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()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user