This commit is contained in:
2025-06-13 21:17:50 +08:00
parent d3da07c131
commit 8c1756587d
28 changed files with 1052 additions and 14 deletions
@@ -36,9 +36,7 @@ namespace FineUIPro.Web.HSSE.TowerCrane
if (!IsPostBack)
{
////权限按钮方法
this.GetButtonPower();
this.GetButtonPower();
this.TowerCraneId = Request.Params["TowerCraneId"];
if (!string.IsNullOrEmpty(this.TowerCraneId))
{
@@ -47,6 +45,8 @@ namespace FineUIPro.Web.HSSE.TowerCrane
{
this.txtTowerCraneName.Text = rectify.TowerCraneName;
this.txtTowerCraneCode.Text = rectify.TowerCraneCode;
this.txtVideoAccount.Text = rectify.VideoAccount;
this.txtVideoPassword.Text = rectify.VideoPassword;
if (rectify.MaxHoist.HasValue)
{
this.txtMaxHoist.Text = rectify.MaxHoist.Value.ToString("#.##");
@@ -111,6 +111,8 @@ namespace FineUIPro.Web.HSSE.TowerCrane
}
towerCrane.TowerCraneCode = this.txtTowerCraneCode.Text.Trim();
towerCrane.TowerCraneName = this.txtTowerCraneName.Text.Trim();
towerCrane.VideoAccount = this.txtVideoAccount.Text.Trim();
towerCrane.VideoPassword = this.txtVideoPassword.Text.Trim();
if (!string.IsNullOrEmpty(this.txtMaxHoist.Text))
{
@@ -141,9 +143,7 @@ namespace FineUIPro.Web.HSSE.TowerCrane
towerCrane.TowerCap = "否";
}
towerCrane.Remark = this.txtRemark.Text.Trim();
Funs.DB.SubmitChanges();
Funs.DB.SubmitChanges();
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
#endregion