20221019 人员派遣功能实现
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user