From 3d00bb7a94460db2cead78957c71fd1cbe363997 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Mon, 1 Dec 2025 19:54:54 +0800 Subject: [PATCH] 1 --- SGGL/BLL/Common/Const.cs | 59 +++-- SGGL/FineUIPro.Web/index.aspx | 66 +++--- SGGL/FineUIPro.Web/index.aspx.cs | 93 ++++---- SGGL/FineUIPro.Web/index.aspx.designer.cs | 62 +++--- SGGL/FineUIPro.Web/indexProject.aspx | 204 +++++++++--------- SGGL/FineUIPro.Web/indexProject.aspx.cs | 65 ++++-- .../indexProject.aspx.designer.cs | 40 +++- 7 files changed, 329 insertions(+), 260 deletions(-) diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs index ee354b0..55ca84e 100644 --- a/SGGL/BLL/Common/Const.cs +++ b/SGGL/BLL/Common/Const.cs @@ -1308,6 +1308,27 @@ namespace BLL #region 菜单模块类型常量 /*本部*/ + /// + /// 安全管理 + /// + public const string Menu_S_HSSE = "Menu_S_HSSE"; + /// + /// 质量管理 + /// + public const string Menu_S_CQMS = "Menu_S_CQMS"; + /// + /// 资料库 + /// + public const string Menu_DigData = "Menu_DigData"; + /// + /// 报表管理 + /// + public const string Menu_S_Report = "Menu_S_Report"; + + + + + /// /// 系统设置菜单 /// @@ -1337,10 +1358,6 @@ namespace BLL /// public const string Menu_Contract = "Menu_HTGL"; /// - /// 大数据 - /// - public const string Menu_DigData = "Menu_DigData"; - /// /// 综合管理菜单 /// public const string Menu_ZHGL = "Menu_ZHGL"; @@ -1351,21 +1368,34 @@ namespace BLL /*项目*/ /// - /// 员工 + /// 安全 /// - public const string Menu_Staff = "Menu_Staff"; - /// - /// 项目设置 - /// - public const string Menu_ProjectSet = "Menu_ProjectSet"; + public const string Menu_HSSE = "Menu_HSSE"; /// /// 质量 /// public const string Menu_CQMS = "Menu_CQMS"; /// - /// 安全 + /// 报表 /// - public const string Menu_HSSE = "Menu_HSSE"; + public const string Menu_Report = "Menu_Report"; + + /// + /// 五星管理 + /// + public const string Menu_FiveStarts = "Menu_FiveStarts"; + /// + /// 项目设置 + /// + public const string Menu_ProjectSet = "Menu_ProjectSet"; + + + + + /// + /// 员工 + /// + public const string Menu_Staff = "Menu_Staff"; /// /// 进度 /// @@ -1403,11 +1433,6 @@ namespace BLL /// public const string Menu_SubPackMage = "Menu_SubPackManage"; - /// - /// 五星管理 - /// - public const string Menu_FiveStarts = "Menu_FiveStarts"; - #endregion #endregion diff --git a/SGGL/FineUIPro.Web/index.aspx b/SGGL/FineUIPro.Web/index.aspx index 17ad5fe..d36b65d 100644 --- a/SGGL/FineUIPro.Web/index.aspx +++ b/SGGL/FineUIPro.Web/index.aspx @@ -152,11 +152,12 @@ #Panel1_leftPanel_treeMenu .f-state-hover { background: #99e7ff !important; } - - #t-main #form1 .f-tabstrip-body .f-panel-bodyct { - background-color: #263849; - } - #t-main>.f-panel-bodyct { + + #t-main #form1 .f-tabstrip-body .f-panel-bodyct { + background-color: #263849; + } + + #t-main > .f-panel-bodyct { background-color: #263746; } @@ -172,62 +173,47 @@
- <%--
- - -
--%> - <%--
+
-
--%> +
+
+ + +
+
+ + +
+
+
安全数据采集平台(公司)
+
- - -
-
-
安全数据采集平台
-
-
- +
- +
- <%--
- - -
--%>
- <%--
- - -
--%>
-
- - -
全屏
@@ -352,7 +338,6 @@ EnableMaximize="true" EnableResize="false"> - @@ -367,7 +352,6 @@ var leftPanelClientID = '<%= leftPanel.ClientID %>'; var leftPanelToolGearClientID = '<%= leftPanelToolGear.ClientID %>'; var leftPanelToolCollapseClientID = '<%= leftPanelToolCollapse.ClientID %>'; - var btnChangeHomePageClientID = '<%= btnChangeHomePage.ClientID %>'; var btnHomeClientID = '<%= btnHome.ClientID %>'; var tab1ClientID = '<%= Tab1.ClientID %>'; // 展开左侧面板 diff --git a/SGGL/FineUIPro.Web/index.aspx.cs b/SGGL/FineUIPro.Web/index.aspx.cs index f5da286..f5387d5 100644 --- a/SGGL/FineUIPro.Web/index.aspx.cs +++ b/SGGL/FineUIPro.Web/index.aspx.cs @@ -441,56 +441,71 @@ namespace FineUIPro.Web this.MenuSwitchMethod(string.Empty); } } - - protected void btnPerson_Click(object sender, EventArgs e) + /// + /// 安全管理 + /// + /// + /// + protected void btnHSSE_Click(object sender, EventArgs e) { - this.MenuSwitchMethod(Const.Menu_Person); + this.MenuSwitchMethod(Const.Menu_S_HSSE); } - - protected void btnNotice_Click(object sender, EventArgs e) + /// + /// 质量管理 + /// + /// + /// + protected void btnCQMS_Click(object sender, EventArgs e) { - this.MenuSwitchMethod(Const.Menu_Notice); + this.MenuSwitchMethod(Const.Menu_S_CQMS); } - - protected void btnProject_Click(object sender, EventArgs e) + /// + /// 报表管理 + /// + /// + /// + protected void btnReport_Click(object sender, EventArgs e) { - this.MenuSwitchMethod(Const.Menu_Project); + this.MenuSwitchMethod(Const.Menu_S_Report); } - - protected void btnServer_Click(object sender, EventArgs e) - { - this.MenuSwitchMethod(Const.Menu_Server); - } - - protected void btnContract_Click(object sender, EventArgs e) - { - this.MenuSwitchMethod(Const.Menu_Contract); - } - + /// + /// 资源库 + /// + /// + /// protected void btnDigData_Click(object sender, EventArgs e) { this.MenuSwitchMethod(Const.Menu_DigData); } - - protected void btnZHGL_Click(object sender, EventArgs e) + /// + /// 项目清单 + /// + /// + /// + protected void btnProject_Click(object sender, EventArgs e) { - this.MenuSwitchMethod(Const.Menu_ZHGL); - } - - protected void btnParty_Click(object sender, EventArgs e) - { - this.MenuSwitchMethod(Const.Menu_Party); + this.MenuSwitchMethod(Const.Menu_Project); + } + /// + /// 系统设置 + /// + /// + /// + protected void btnSysSet_Click(object sender, EventArgs e) + { + this.MenuSwitchMethod(Const.Menu_SysSet); } + /// + /// 用户信息 + /// + /// + /// protected void btnPersonal_Click(object sender, EventArgs e) { this.MenuSwitchMethod(Const.Menu_Personal); } - protected void btnSysSet_Click(object sender, EventArgs e) - { - this.MenuSwitchMethod(Const.Menu_SysSet); - } /// /// 重新生成系统菜单 @@ -504,19 +519,5 @@ namespace FineUIPro.Web MenuSwitchMethod(string.Empty); ShowNotify("菜单刷新完成!", MessageBoxIcon.Success); } - - protected void btnChangeHomePage_Click(object sender, EventArgs e) - { - if (this.hdHomePage.Text == "1") - { - this.hdHomePage.Text = "2"; - this.Tab1.IFrameUrl = "~/common/main2.aspx"; - } - else - { - this.hdHomePage.Text = "1"; - this.Tab1.IFrameUrl = "~/common/main3.aspx"; - } - } } } diff --git a/SGGL/FineUIPro.Web/index.aspx.designer.cs b/SGGL/FineUIPro.Web/index.aspx.designer.cs index b333399..a6ec90d 100644 --- a/SGGL/FineUIPro.Web/index.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/index.aspx.designer.cs @@ -59,6 +59,33 @@ namespace FineUIPro.Web /// protected global::FineUIPro.ContentPanel ContentPanel1; + /// + /// btnHSSE 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnHSSE; + + /// + /// btnCQMS 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnCQMS; + + /// + /// btnReport 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnReport; + /// /// btnDigData 控件。 /// @@ -69,31 +96,22 @@ namespace FineUIPro.Web protected global::FineUIPro.Button btnDigData; /// - /// btnServer 控件。 + /// btnProject 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.Button btnServer; + protected global::FineUIPro.Button btnProject; /// - /// btnNotice 控件。 + /// btnSysSet 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.Button btnNotice; - - /// - /// btnPerson 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Button btnPerson; + protected global::FineUIPro.Button btnSysSet; /// /// btnPersonal 控件。 @@ -104,15 +122,6 @@ namespace FineUIPro.Web /// protected global::FineUIPro.Button btnPersonal; - /// - /// Button7 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Button Button7; - /// /// btnRetweet 控件。 /// @@ -329,15 +338,6 @@ namespace FineUIPro.Web /// protected global::FineUIPro.HiddenField hdHomePage; - /// - /// btnChangeHomePage 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.Button btnChangeHomePage; - /// /// XmlDataSource1 控件。 /// diff --git a/SGGL/FineUIPro.Web/indexProject.aspx b/SGGL/FineUIPro.Web/indexProject.aspx index 26393c5..01c2a16 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx +++ b/SGGL/FineUIPro.Web/indexProject.aspx @@ -28,20 +28,22 @@ height: 35px; } - .project-select .f-field-dropdownlist-wrap>.f-field-body-cell>.f-field-body-cell-inner>.f-widget-content{ - background-color: #273847; - color: #ffffff; - } - #index-project>.f-field-dropdownlist-pop{ - width: 300px; - border-radius: 0; - width: auto !important; - background-color: rgba(26, 81, 117, 0.20); - color: #ffffff; - } - #index-project>.f-field-dropdownlist-pop::-webkit-scrollbar{ - display: none; - } + .project-select .f-field-dropdownlist-wrap > .f-field-body-cell > .f-field-body-cell-inner > .f-widget-content { + background-color: #273847; + color: #ffffff; + } + + #index-project > .f-field-dropdownlist-pop { + width: 300px; + border-radius: 0; + width: auto !important; + background-color: rgba(26, 81, 117, 0.20); + color: #ffffff; + } + + #index-project > .f-field-dropdownlist-pop::-webkit-scrollbar { + display: none; + } .up-wrap { height: 55px; @@ -233,36 +235,40 @@ background-color: transparent !important; } - - .f-widget-content{ - border: 0; - } - .project-select .f-field-dropdownlist-wrap>.f-field-body-cell>.f-field-body-cell-inner>.f-widget-content{ - background-color: #273847; - color: #ffffff; - } + .f-widget-content { + border: 0; + } - #index-project>.f-field-dropdownlist-pop>.f-state-active,#index-project>.f-field-dropdownlist-pop>.f-state-hover{ - background-color: #39658F; - color: #ffffff; - } - .project-select .f-field-dropdownlist-wrap>.f-field-body-cell>.f-field-body-cell-inner>.f-field-triggerbox-icons>.f-icon { - color: #ffffff; - } - .project-select .f-field-dropdownlist-wrap>.f-field-body-cell>.f-field-body-cell-inner> .f-corner-all{ - background-color: rgba(0,0,0,0); - } - #index-project>.f-field-dropdownlist-pop{ - border-radius: 0; - min-width: 120px !important; - width: auto !important; + .project-select .f-field-dropdownlist-wrap > .f-field-body-cell > .f-field-body-cell-inner > .f-widget-content { + background-color: #273847; + color: #ffffff; + } + + #index-project > .f-field-dropdownlist-pop > .f-state-active, #index-project > .f-field-dropdownlist-pop > .f-state-hover { + background-color: #39658F; + color: #ffffff; + } + + .project-select .f-field-dropdownlist-wrap > .f-field-body-cell > .f-field-body-cell-inner > .f-field-triggerbox-icons > .f-icon { + color: #ffffff; + } + + .project-select .f-field-dropdownlist-wrap > .f-field-body-cell > .f-field-body-cell-inner > .f-corner-all { + background-color: rgba(0,0,0,0); + } + + #index-project > .f-field-dropdownlist-pop { + border-radius: 0; + min-width: 120px !important; + width: auto !important; background-color: #214B72; color: #ffffff; - } - #index-project>.f-field-dropdownlist-pop::-webkit-scrollbar{ - display: none; - } + } + + #index-project > .f-field-dropdownlist-pop::-webkit-scrollbar { + display: none; + } @@ -275,61 +281,65 @@ <%--头部 开始--%> -
-