增加数据穿透界面

This commit is contained in:
2023-06-07 18:55:33 +08:00
parent e66750312e
commit b592ccfe5e
358 changed files with 30974 additions and 2388 deletions
@@ -23,6 +23,7 @@ namespace FineUIPro.Web.BaseInfo
////权限按钮方法
this.GetButtonPower();
Funs.DropDownPageSize(this.ddlPageSize);
Funs.FineUIPleaseSelect(this.drpCertificateType);
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
// 绑定表格
BindGrid();
@@ -181,6 +182,14 @@ namespace FineUIPro.Web.BaseInfo
{
this.txtCertificateCode.Text = certificate.CertificateCode;
this.txtCertificateName.Text = certificate.CertificateName;
if (!string.IsNullOrEmpty(certificate.CertificateType))
{
this.drpCertificateType.SelectedValue = certificate.CertificateType;
}
if (certificate.IsRegisterHSSE == true)
{
this.ckbIsRegisterHSSE.Checked = true;
}
this.txtRemark.Text = certificate.Remark;
hfFormID.Text = Id;
this.btnDelete.Enabled = true;
@@ -201,8 +210,13 @@ namespace FineUIPro.Web.BaseInfo
{
CertificateCode = this.txtCertificateCode.Text.Trim(),
CertificateName = this.txtCertificateName.Text.Trim(),
IsRegisterHSSE = Convert.ToBoolean(this.ckbIsRegisterHSSE.Checked),
Remark = txtRemark.Text.Trim()
};
if (this.drpCertificateType.SelectedValue != BLL.Const._Null)
{
certificate.CertificateType = this.drpCertificateType.SelectedValue;
}
if (string.IsNullOrEmpty(strRowID))
{
certificate.CertificateId = SQLHelper.GetNewID(typeof(Model.Base_Certificate));