移交管理新增添加功能

This commit is contained in:
2024-07-31 17:38:02 +08:00
parent 9e4e28fda2
commit b308165d8c
38 changed files with 2646 additions and 31 deletions
@@ -40,9 +40,30 @@ namespace FineUIPro.Web.Transfer
}
GetButtonPower();
BindGrid();
btnNew.OnClientClick = Window1.GetShowReference("LHCSystemListEdit.aspx?Type="+Type) + "return false;";
}
}
#region
/// <summary>
/// 右键编辑事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnMenuModify_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
return;
}
string id = Grid1.SelectedRowID;
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("LHCSystemListEdit.aspx?Id={0}&Type={1}", id,Type, "编辑 - ")));
}
#endregion
/// <summary>
/// 数据绑定
/// </summary>
@@ -155,21 +176,6 @@ namespace FineUIPro.Web.Transfer
#endregion
#region
/// <summary>
/// 右键编辑
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnMenuModify_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
return;
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InspectionEquipmentEdit.aspx?InspectionEquipmentId={0}", Grid1.SelectedRowID, "编辑 - ")));
}
/// <summary>
/// Grid行双击事件
/// </summary>