diff --git a/DataBase/版本日志/SGGLDB_V2026-3-07-lc.sql b/DataBase/版本日志/SGGLDB_V2026-3-07-lc.sql index 70b7c13..3669bf0 100644 --- a/DataBase/版本日志/SGGLDB_V2026-3-07-lc.sql +++ b/DataBase/版本日志/SGGLDB_V2026-3-07-lc.sql @@ -1,10 +1,24 @@ - INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) VALUES (N'43763381-A158-4FC9-8A20-0499D8F8BD8B', N'安全环保预算表', NULL, N'/ReportManage/SafeEnvBudget/SafeEnvBudget.aspx', '10', N'0D988FA5-352F-460B-927A-C4EE5AD81B1E', N'Menu_Report', '0', '1', '1'); -INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) VALUES (N'FBBA0E65-105E-42FA-BD77-5FA7B1E00BE7', N'安全环保预算表', NULL, N'/ReportManage/SafeEnvBudget/SafeEnvBudgetTotal.aspx', '10', N'224F8F8B-C5E7-4763-AEE1-1C54909F0C1A', N'Menu_S_Report', '1', '1', '1'); - +INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) +VALUES (N'43763381-A158-4FC9-8A20-0499D8F8BD8B', N'安全环保预算表', NULL, N'/ReportManage/SafeEnvBudget/SafeEnvBudget.aspx', '10', N'0D988FA5-352F-460B-927A-C4EE5AD81B1E', N'Menu_Report', '0', '1', '1'); +INSERT INTO [dbo].[Sys_Menu] ([MenuId], [MenuName], [Icon], [Url], [SortIndex], [SuperMenu], [MenuType], [IsOffice], [IsEnd], [IsUsed]) +VALUES (N'FBBA0E65-105E-42FA-BD77-5FA7B1E00BE7', N'安全环保预算表', NULL, N'/ReportManage/SafeEnvBudget/SafeEnvBudgetTotal.aspx', '10', N'224F8F8B-C5E7-4763-AEE1-1C54909F0C1A', N'Menu_S_Report', '1', '1', '1'); +go INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'44B69065-8E5C-4F31-9724-D63F88466B7E', N'43763381-A158-4FC9-8A20-0499D8F8BD8B', N'删除', '3'); INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'4E18C10B-949B-4E6A-BA27-63E29EDF513A', N'43763381-A158-4FC9-8A20-0499D8F8BD8B', N'增加', '1'); INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'848341D1-CA09-4F4A-82FE-E78FCB8C5744', N'43763381-A158-4FC9-8A20-0499D8F8BD8B', N'保存', '4'); INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex]) VALUES (N'C5ECFC86-EC2B-4C97-A542-AC5070B40CCA', N'43763381-A158-4FC9-8A20-0499D8F8BD8B', N'修改', '2'); +go + + +update [Sys_Menu] +set [Url]='ReportManage/SafeEnvBudget/SafeEnvBudget.aspx' +where [MenuId]='43763381-A158-4FC9-8A20-0499D8F8BD8B' +go + +update [Sys_Menu] +set [Url]='ReportManage/SafeEnvBudget/SafeEnvBudgetTotal.aspx' +where [MenuId]='FBBA0E65-105E-42FA-BD77-5FA7B1E00BE7' +go CREATE TABLE [dbo].[SafeEnvBudget]( diff --git a/SGGL/FineUIPro.Web/indexProject.aspx.cs b/SGGL/FineUIPro.Web/indexProject.aspx.cs index 40aa342..6d0bd72 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx.cs +++ b/SGGL/FineUIPro.Web/indexProject.aspx.cs @@ -706,7 +706,15 @@ namespace FineUIPro.Web { this.Tab1.IFrameUrl = ""; } - if (type == Const.Menu_PZHGL) + else if (type == Const.Menu_Report) + { + this.Tab1.IFrameUrl = ""; + } + else if (type == Const.Menu_CQMS) + { + this.Tab1.IFrameUrl = ""; + } + else if (type == Const.Menu_PZHGL) { this.Tab1.IFrameUrl = "~/PZHGL/InformationProject/ConstructionPlan.aspx"; this.Tab1.Title = "总承包商施工计划";