SGGL_SGY/SUBQHSE/FineUIPro.Web/HJGL/BaseInfo/DefectView.aspx.cs

32 lines
1018 B
C#
Raw Normal View History

2025-02-19 15:58:42 +08:00
using System;
namespace FineUIPro.Web.HJGL.BaseInfo
{
2025-05-08 14:26:36 +08:00
public partial class DefectView : PageBase
2025-02-19 15:58:42 +08:00
{
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
2025-05-08 14:26:36 +08:00
string DefectId = Request.Params["DefectId"];
if (!string.IsNullOrEmpty(DefectId))
2025-02-19 15:58:42 +08:00
{
2025-05-08 14:26:36 +08:00
Model.Base_Defect getDefect = BLL.Base_DefectService.GetDefectByDefectId(DefectId);
if (getDefect != null)
2025-02-19 15:58:42 +08:00
{
2025-05-08 14:26:36 +08:00
this.txtDefectName.Text = getDefect.DefectName;
this.txtDefectEngName.Text = getDefect.DefectEngName;
2025-02-19 15:58:42 +08:00
}
}
}
}
#endregion
}
}