修改集团展示

This commit is contained in:
高飞 2023-03-28 17:41:09 +08:00
parent fd0642cb92
commit 849fd41dcd
4 changed files with 12 additions and 9 deletions

View File

@ -95,7 +95,7 @@
<f:Menu ID="Menu1" runat="server">
<Items>
<f:MenuButton ID="btnView" EnablePostBack="true" runat="server"
Text="查看" Icon="Find" OnClick="btnView_Click">
Text="查看" Icon="Find" OnClick="btnView_Click" Hidden="true">
</f:MenuButton>
</Items>
</f:Menu>

View File

@ -130,13 +130,13 @@ namespace FineUIPro.Web.DataShow
/// </summary>
private void EditData()
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
return;
}
//if (Grid1.SelectedRowIndexArray.Length == 0)
//{
// Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
// return;
//}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../HJGL/PersonManage/PersonManageView.aspx?welderId={0}", Grid1.SelectedRowID, "查看 - ")));
//PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../HJGL/PersonManage/PersonManageView.aspx?welderId={0}", Grid1.SelectedRowID, "查看 - ")));
}
#endregion

View File

@ -163,7 +163,7 @@ namespace FineUIPro.Web.DataShow
return;
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../HSSE/SitePerson/PersonListEdit.aspx?PersonId={0}", Grid1.SelectedRowID, "查看 - ")));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../HSSE/SitePerson/PersonListEdit.aspx?PersonId={0}&type=show", Grid1.SelectedRowID, "查看 - ")));
}
#endregion

View File

@ -81,7 +81,10 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
btnClose.OnClientClick = ActiveWindow.GetHideReference();
////权限按钮方法
this.GetButtonPower();
if (string.IsNullOrEmpty(Request.Params["type"]))
{
this.GetButtonPower();
}
this.ProjectId = Request.Params["ProjectId"];
this.UnitId = Request.Params["UnitId"];
this.PersonId = Request.Params["PersonId"];