111
This commit is contained in:
@@ -49,8 +49,26 @@
|
||||
this.txtApplyManName.Text = UserService.GetUserNameByUserId(getBreakGround.ApplyManId);
|
||||
this.txtWorkPalce.Text = getBreakGround.WorkPalce;
|
||||
this.txtWatchMan.Text = getBreakGround.WatchMan;
|
||||
this.txtWorkMan.Text = getBreakGround.WorkMan;
|
||||
this.txtIdNum.Text = getBreakGround.IdNum;
|
||||
if (!string.IsNullOrEmpty(getBreakGround.WorkLeaderId))
|
||||
{
|
||||
this.txtWorkLeader.Text = UserService.GetUserNameByUserId(getBreakGround.WorkLeaderId);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getBreakGround.HasSpecialProgramme))
|
||||
{
|
||||
this.txtHasSpecialProgramme.Text = getBreakGround.HasSpecialProgramme;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getBreakGround.OtherAttach))
|
||||
{
|
||||
txtOtherAttach.Text = getBreakGround.OtherAttach;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getBreakGround.HasDrawing))
|
||||
{
|
||||
txtHasDrawing.Text = getBreakGround.HasDrawing;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getBreakGround.DrawingDes))
|
||||
{
|
||||
txtDrawingDes.Text = getBreakGround.DrawingDes;
|
||||
}
|
||||
if (getBreakGround.ValidityStartTime.HasValue)
|
||||
{
|
||||
this.txtWorkDate.Text = getBreakGround.ValidityStartTime.Value.ToString("f") + " 至 ";
|
||||
@@ -92,8 +110,7 @@
|
||||
public string FlowOperateId2;
|
||||
public string FlowOperateId3;
|
||||
public string FlowOperateId4;
|
||||
public string FlowOperateId5;
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private void SetFlow()
|
||||
@@ -213,53 +230,7 @@
|
||||
this.txtTime4.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
|
||||
}
|
||||
}
|
||||
var getF5 = getFlows.FirstOrDefault(x => x.SortIndex == 5);
|
||||
if (getF5 != null)
|
||||
{
|
||||
FlowOperateId5 = getF5.FlowOperateId;
|
||||
this.txtForm5.Title = getF5.AuditFlowName + ":";
|
||||
if (getF5.OperaterTime.HasValue)
|
||||
{
|
||||
if (getF5.IsAgree == true)
|
||||
{
|
||||
this.txtOpinion5.Text = "同意。";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtOpinion5.Text = getF5.Opinion;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(getF5.SignatureUrl))
|
||||
{
|
||||
this.Image5.ImageUrl = "~/" + getF5.SignatureUrl;
|
||||
}
|
||||
var signUser5= UserService.GetUserByUserId(getF5.OperaterId);
|
||||
if (signUser5 != null)
|
||||
{
|
||||
this.txtName5.Text = signUser5.UserName;
|
||||
|
||||
}
|
||||
this.txtTime5.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF5.OperaterTime);
|
||||
}
|
||||
}
|
||||
var getF6 = getFlows.FirstOrDefault(x => x.SortIndex == 6);
|
||||
if (getF6 != null)
|
||||
{
|
||||
this.txtForm6.Title = getF6.AuditFlowName + ":";
|
||||
if (getF6.OperaterTime.HasValue)
|
||||
{
|
||||
if (getF6.IsAgree == true)
|
||||
{
|
||||
// this.txtOpinion4.Text = "同意。";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtOpinion6.Text = getF6.Opinion;
|
||||
}
|
||||
this.txtName6.Text = UserService.GetUserNameByUserId(getF4.OperaterId);
|
||||
this.txtTime6.Text = string.Format("{0:yyyy-MM-dd HH:mm}", getF4.OperaterTime);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user