This commit is contained in:
2025-03-27 22:24:48 +08:00
parent cd8148326c
commit 954c0a3a6a
15 changed files with 1413 additions and 77 deletions
@@ -32,8 +32,14 @@
<f:TextBox ID="txtIdentityCard" runat="server" Label="身份证号" MaxLength="50" ShowRedStar="true" Required="true"
LabelWidth="90px" RegexPattern="IDENTITY_CARD">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtTelephone" runat="server" Label="手机号码" MaxLength="50" LabelWidth="90px">
</f:TextBox>
<f:TextBox ID="txtEmail" runat="server" Label="邮箱" RegexPattern="EMAIL" MaxLength="50" LabelWidth="90px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow runat="server" ID="trServer">
@@ -110,6 +110,7 @@ namespace FineUIPro.Web.SysManage
this.drpIsPost.SelectedValue = Convert.ToString(user.IsPost);
}
this.txtTelephone.Text = user.Telephone;
this.txtEmail.Text = user.Email;
if (user.IsOffice == true)
{
this.drpIsOffice.SelectedValue = "True";
@@ -199,6 +200,7 @@ namespace FineUIPro.Web.SysManage
Account = this.txtAccount.Text.Trim(),
IdentityCard = this.txtIdentityCard.Text.Trim(),
Telephone = this.txtTelephone.Text.Trim(),
Email = this.txtEmail.Text.Trim(),
};
if (this.drpUnit.SelectedValue != Const._Null)
{
@@ -95,6 +95,15 @@ namespace FineUIPro.Web.SysManage
/// </remarks>
protected global::FineUIPro.TextBox txtTelephone;
/// <summary>
/// txtEmail 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtEmail;
/// <summary>
/// trServer 控件。
/// </summary>