20220908 人员列表修改
This commit is contained in:
@@ -76,6 +76,7 @@ namespace FineUIPro.Web.Person
|
||||
this.txtPersonName.Text = person.PersonName;
|
||||
this.txtJobNum.Text = person.JobNum;
|
||||
this.drpUnit.SelectedValue = person.UnitId;
|
||||
this.ckIsPost.Checked = person.IsPost.Value;
|
||||
if (!string.IsNullOrEmpty(person.DepartId))
|
||||
{
|
||||
this.drpDepart.SelectedValue = person.DepartId;
|
||||
@@ -504,7 +505,7 @@ namespace FineUIPro.Web.Person
|
||||
RelativeTel = this.txtRelativeTel.Text.Trim(),
|
||||
Address = this.txtAddress.Text.Trim(),
|
||||
SignatureUrl = this.SignatureUrl,
|
||||
IsPost = true,
|
||||
IsPost = this.ckIsPost.Checked,
|
||||
};
|
||||
|
||||
newPerson.RoleIds = Funs.GetStringByArray(this.drpRole.SelectedValueArray);
|
||||
@@ -1049,6 +1050,20 @@ namespace FineUIPro.Web.Person
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ckIsPost_CheckedChanged(object sender, CheckedEventArgs e)
|
||||
{
|
||||
if (!this.ckIsPost.Checked)
|
||||
{
|
||||
Alert.ShowInParent("人员不在职,则当前人所在的所有项目都将离场!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user