20220315 代码初始化上传
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
|
||||
namespace FineUIPro.Web.HJGL.BaseInfo
|
||||
{
|
||||
public partial class TestMediumView : PageBase
|
||||
{
|
||||
#region 加载
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
|
||||
string testMediumId = Request.Params["MediumId"];
|
||||
if (!string.IsNullOrEmpty(testMediumId))
|
||||
{
|
||||
Model.Base_TestMedium Medium = BLL.Base_TestMediumService.GetTestMediumById(testMediumId);
|
||||
if (Medium != null)
|
||||
{
|
||||
this.txtMediumCode.Text = Medium.MediumCode;
|
||||
this.txtMediumName.Text = Medium.MediumName;
|
||||
//drpTestType.SelectedValue = Medium.TestType;
|
||||
this.txtRemark.Text = Medium.Remark;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user