焊工 入场 离场 日报导入 装置排序

This commit is contained in:
2025-08-14 17:26:23 +08:00
parent 2e0c97e981
commit bead4c1d76
18 changed files with 597 additions and 258 deletions
@@ -77,6 +77,8 @@ namespace FineUIPro.Web.HJGL.PersonManage
this.txtWED_Name.Text = welder.WED_Name;
this.txtWED_Code.Text = welder.WED_Code;
this.txtBirthday.Text = welder.WED_Birthday.HasValue ? string.Format("{0:yyyy-MM-dd}", welder.WED_Birthday) : "";
this.txtTimeIn.Text = welder.InTime.HasValue ? string.Format("{0:yyyy-MM-dd}", welder.InTime) : "";
this.txtTimeOut.Text = welder.OutTime.HasValue ? string.Format("{0:yyyy-MM-dd}", welder.OutTime) : "";
if (!string.IsNullOrEmpty(welder.WED_TYPE))
{
this.rbtype.SelectedValue = welder.WED_TYPE;
@@ -116,6 +118,10 @@ namespace FineUIPro.Web.HJGL.PersonManage
this.drpSteType.Values = welder.Steels.Split(',');
}
}
}
}
@@ -184,6 +190,14 @@ namespace FineUIPro.Web.HJGL.PersonManage
welder.WED_TYPE = this.rbtype.SelectedValue;
welder.WED_Birthday = Funs.GetNewDateTime(this.txtBirthday.Text.Trim());
welder.LimitDate = Funs.GetNewDateTime(this.txtLimitDate.Text.Trim());
if (!string.IsNullOrEmpty(txtTimeIn.Text))
{
welder.InTime = Funs.GetNewDateTime(this.txtTimeIn.Text.Trim());
}
if (!string.IsNullOrEmpty(txtTimeOut.Text))
{
welder.OutTime = Funs.GetNewDateTime(this.txtTimeOut.Text.Trim());
}
welder.WED_WorkCode = this.txtWorkCode.Text.Trim();
welder.WED_Class = this.txtClass.Text.Trim();
if (this.cbIfOnGuard.Checked)
@@ -232,6 +246,8 @@ namespace FineUIPro.Web.HJGL.PersonManage
}
}
BLL.WelderService.UpdateBSWelder(welder);
}
else
{
@@ -260,6 +276,8 @@ namespace FineUIPro.Web.HJGL.PersonManage
person.PersonId = welder.WED_ID;
person.IdentityCard = welder.IdentityCard;
person.PhotoUrl = welder.AttachUrl;
///上传人脸库
if (!string.IsNullOrEmpty(person.PhotoUrl))
{
@@ -295,7 +313,10 @@ namespace FineUIPro.Web.HJGL.PersonManage
}
}
}
ShowNotify("保存成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}