修改集团展示
This commit is contained in:
parent
fd0642cb92
commit
849fd41dcd
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"];
|
||||
|
|
Loading…
Reference in New Issue