111
This commit is contained in:
@@ -54,6 +54,53 @@
|
||||
name = UserService.GetUserNameByUserId(getFireWork.FireWatchManId);
|
||||
}
|
||||
this.txtFireWatchManName.Text = name;
|
||||
if (!string.IsNullOrEmpty(getFireWork.FireMan))
|
||||
{
|
||||
txtFireMan.Text = getFireWork.FireMan;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.AnalysisData))
|
||||
{
|
||||
txtAnalysisData.Text = getFireWork.AnalysisData;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.WorkLeaderId))
|
||||
{
|
||||
this.txtWorkLeader.Text = UserService.GetUserNameByUserId(getFireWork.WorkLeaderId);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.WorkLeaderTel))
|
||||
{
|
||||
this.txtWorkLeaderTel.Text = getFireWork.WorkLeaderTel;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.WorkType))
|
||||
{
|
||||
cbWorkType1.SelectedValueArray = getFireWork.WorkType.Split(',');
|
||||
cbWorkType2.SelectedValueArray = getFireWork.WorkType.Split(',');
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.PossibleHazards))
|
||||
{
|
||||
cbPossibleHazards1.SelectedValueArray = getFireWork.PossibleHazards.Split(',');
|
||||
cbPossibleHazards2.SelectedValueArray = getFireWork.PossibleHazards.Split(',');
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.NeedGasDetection))
|
||||
{
|
||||
txtNeedGasDetection.Text = getFireWork.NeedGasDetection;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.DetectionFrequency))
|
||||
{
|
||||
txtDetectionFrequency.Text = getFireWork.DetectionFrequency;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.HasSpecialProgramme))
|
||||
{
|
||||
this.txtHasSpecialProgramme.Text = getFireWork.HasSpecialProgramme;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.OtherAttach))
|
||||
{
|
||||
txtOtherAttach.Text = getFireWork.OtherAttach;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getFireWork.GasDetectionAttach))
|
||||
{
|
||||
GasDetectionAttach = getFireWork.GasDetectionAttach;
|
||||
}
|
||||
|
||||
if (getFireWork.ValidityStartTime.HasValue)
|
||||
{
|
||||
this.txtWorkDate.Text = getFireWork.ValidityStartTime.Value.ToString("f") + " 至 ";
|
||||
@@ -91,9 +138,11 @@
|
||||
#endregion
|
||||
|
||||
#region 获取审核记录信息
|
||||
public string GasDetectionAttach;
|
||||
public string FlowOperateId1;
|
||||
public string FlowOperateId2;
|
||||
public string FlowOperateId3;
|
||||
public string FlowOperateId4;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
@@ -190,6 +239,8 @@
|
||||
var getF4 = getFlows.FirstOrDefault(x => x.SortIndex == 4);
|
||||
if (getF4 != null)
|
||||
{
|
||||
FlowOperateId4 = getF4.FlowOperateId;
|
||||
|
||||
this.txtForm4.Title = getF4.AuditFlowName + ":";
|
||||
if (getF4.OperaterTime.HasValue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user