1
This commit is contained in:
@@ -101,9 +101,14 @@ namespace FineUIPro.Web.HSSE.Solution
|
||||
{
|
||||
this.txtTrainPersonNum.Text = largerHazard.TrainPersonNum.ToString();
|
||||
}
|
||||
if (largerHazard.OperativesNum != null)
|
||||
{
|
||||
this.txtOperativesNum.Text = largerHazard.OperativesNum.ToString();
|
||||
}
|
||||
this.drpStates.SelectedValue = largerHazard.States;
|
||||
this.txtRemark.Text = HttpUtility.HtmlDecode(largerHazard.Remark);
|
||||
this.txtDescriptions.Text = largerHazard.Descriptions;
|
||||
this.txtHazardName.Text = largerHazard.HazardName;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -193,11 +198,13 @@ namespace FineUIPro.Web.HSSE.Solution
|
||||
IsArgument = Convert.ToBoolean(this.rblIsArgument.SelectedValue),
|
||||
IsSuperLargerHazard = Convert.ToBoolean(this.rblIsSuperLargerHazard.SelectedValue),
|
||||
TrainPersonNum = Funs.GetNewIntOrZero(this.txtTrainPersonNum.Text.Trim()),
|
||||
OperativesNum = Funs.GetNewIntOrZero(this.txtOperativesNum.Text.Trim()),
|
||||
Remark = HttpUtility.HtmlEncode(this.txtRemark.Text.Trim()),
|
||||
Descriptions = this.txtDescriptions.Text.Trim(),
|
||||
RecordTime = Funs.GetNewDateTime(this.txtRecordTime.Text.Trim()),
|
||||
ProjectId = this.ProjectId,
|
||||
States = this.drpStates.SelectedValue,
|
||||
HazardName = txtHazardName.Text.Trim()
|
||||
};
|
||||
if (!string.IsNullOrEmpty(this.HazardId))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user