20221019 人员派遣功能实现

This commit is contained in:
2022-10-19 10:25:17 +08:00
parent 6e363ef6ae
commit 7b44a17117
15 changed files with 533 additions and 6438 deletions
+23 -1
View File
@@ -39,6 +39,20 @@ namespace FineUIPro.Web.Person
ViewState["SignatureUrl"] = value;
}
}
/// <summary>
/// 人员分配类型 P-派遣 Shunt-分流
/// </summary>
public string Type
{
get
{
return (string)ViewState["Type"];
}
set
{
ViewState["Type"] = value;
}
}
#endregion
#region
@@ -51,6 +65,7 @@ namespace FineUIPro.Web.Person
{
if (!IsPostBack)
{
this.Type = Request.Params["Type"];
btnClose.OnClientClick = ActiveWindow.GetHideReference();
this.PersonId = Request.Params["PersonId"];
@@ -198,6 +213,13 @@ namespace FineUIPro.Web.Person
this.btnInOutNew.Hidden = false;
}
}
else
{
if (this.Type == "Shunt")
{
this.ckIsPost.Checked = false;
}
}
getInitGridCertificate();
getInitGridTrain();
@@ -552,7 +574,7 @@ namespace FineUIPro.Web.Person
newPerson.IDCardBackUrl = null;
}
string info = Person_PersonsService.ValidPersonInfo(newPerson);
if (string.IsNullOrEmpty(info))
if (string.IsNullOrEmpty(info) || this.Type == "Shunt")
{
if (!string.IsNullOrEmpty(newPerson.PersonId))
{