From f45fed15aab5c7cb30a923885ab3c3ee22e340b8 Mon Sep 17 00:00:00 2001 From: yhw0507 Date: Wed, 6 Sep 2023 16:25:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=85=AC=E5=8F=B8=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=BA=A7=E9=A1=B9=E7=9B=AE=E7=BB=B4=E5=BA=A6=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DataBase/版本日志/SGGLDB_V2023-09-06.sql | 24 ++ .../0-2大数据中心(Menu_DigData).sql | 25 +- .../1-10大数据中心(Menu_PDigData).sql | 16 +- SGGL/BLL/BLL.csproj | 4 + SGGL/BLL/DigData/CQMSDataDWService .cs | 68 +++ SGGL/BLL/DigData/HSEDataDWService.cs | 68 +++ SGGL/BLL/DigData/HTGLDataDWService.cs | 78 ++++ SGGL/BLL/DigData/JDGLDataDWService.cs | 65 +++ SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx | 90 ++++ SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx.cs | 116 ++++++ .../DigData/CQMSDataDW.aspx.designer.cs | 161 ++++++++ SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx | 91 +++++ SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx.cs | 141 +++++++ .../DigData/HSEDataDW.aspx.designer.cs | 161 ++++++++ SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx | 121 ++++++ SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx.cs | 141 +++++++ .../DigData/HTGLDataDW.aspx.designer.cs | 161 ++++++++ SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx | 81 ++++ SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx.cs | 116 ++++++ .../DigData/JDGLDataDW.aspx.designer.cs | 161 ++++++++ SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx | 189 +++++++++ .../DigData/ProjectDataDW.aspx.cs | 187 +++++++++ .../DigData/ProjectDataDW.aspx.designer.cs | 386 ++++++++++++++++++ SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 40 ++ SGGL/FineUIPro.Web/common/Menu_DigData.xml | 12 +- SGGL/FineUIPro.Web/common/Menu_PDigData.xml | 6 +- SGGL/SGGL.sln | 4 +- 27 files changed, 2685 insertions(+), 28 deletions(-) create mode 100644 DataBase/版本日志/SGGLDB_V2023-09-06.sql create mode 100644 SGGL/BLL/DigData/CQMSDataDWService .cs create mode 100644 SGGL/BLL/DigData/HSEDataDWService.cs create mode 100644 SGGL/BLL/DigData/HTGLDataDWService.cs create mode 100644 SGGL/BLL/DigData/JDGLDataDWService.cs create mode 100644 SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx create mode 100644 SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx.cs create mode 100644 SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx.designer.cs create mode 100644 SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx create mode 100644 SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx.cs create mode 100644 SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx.designer.cs create mode 100644 SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx create mode 100644 SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx.cs create mode 100644 SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx.designer.cs create mode 100644 SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx create mode 100644 SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx.cs create mode 100644 SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx.designer.cs create mode 100644 SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx create mode 100644 SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx.cs create mode 100644 SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx.designer.cs diff --git a/DataBase/版本日志/SGGLDB_V2023-09-06.sql b/DataBase/版本日志/SGGLDB_V2023-09-06.sql new file mode 100644 index 00000000..4d5b69f6 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2023-09-06.sql @@ -0,0 +1,24 @@ +DELETE FROM Sys_Menu WHERE MenuId IN +('4911D344-3182-4B46-B01F-B10DB058E550','4F7C556C-DAC1-4BC4-BCF6-1B401F771204','D01D3916-743A-4F97-9ADB-815712A89FAC','0443E704-45F4-40BE-8069-13E5554F5700') +GO +UPDATE Sys_Menu SET Url='DigData/ProjectDataDW.aspx',IsEnd=1 WHERE MenuId='775A5D3C-CB1C-4EC8-A7E1-F4FCD77E85DC' +GO + +--ȫݿ +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('E1ABD1B1-1563-433A-972B-555076A96D06','ȫݿ','DigData/HSEDataDW.aspx',5,'AA670914-6EAA-4CFA-8BD6-E0648F8FD21C','Menu_DigData',1,1,1) +GO +--ݿ +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('15D01AB6-F959-4ABD-B861-C5C2EE6FA906','ݿ','DigData/CQMSDataDW.aspx',10,'7EC74F30-B2F7-454E-B0AE-8E993211F763','Menu_DigData',1,1,1) +GO + +--ݿ +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('44D51E89-267D-4D72-AB6D-1F4CA4E7D19D','ݿ','DigData/JDGLDataDW.aspx',10,'E7F7BC38-7357-49C0-9242-68289031F618','Menu_DigData',1,1,1) +GO + +--ͬݿ +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('ABC4323E-2F6F-4147-AA7A-8726131D7044','ͬݿ','DigData/JDGLDataDW.aspx',10,'381A4608-2CDE-42AF-BC4D-FF554785B9F8','Menu_DigData',1,1,1) +GO \ No newline at end of file diff --git a/DataBase/菜单初始化脚本/0-2大数据中心(Menu_DigData).sql b/DataBase/菜单初始化脚本/0-2大数据中心(Menu_DigData).sql index 42fbcd01..6529578c 100644 --- a/DataBase/菜单初始化脚本/0-2大数据中心(Menu_DigData).sql +++ b/DataBase/菜单初始化脚本/0-2大数据中心(Menu_DigData).sql @@ -14,7 +14,11 @@ GO GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('AA670914-6EAA-4CFA-8BD6-E0648F8FD21C','ȫݿ','',10,'92B50285-30BD-4B62-9E23-A0D6B4BA1577','Menu_DigData',1,0,1) - GO + GO + --ȫݿ + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) + VALUES('E1ABD1B1-1563-433A-972B-555076A96D06','ȫݿ','DigData/HSEDataDW.aspx',5,'AA670914-6EAA-4CFA-8BD6-E0648F8FD21C','Menu_DigData',1,1,1) + GO --ȫճ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('04B182E4-D31E-449F-9803-322F3F380D89','HSEճ','DigData/DailyProblemAnalysis.aspx',10,'AA670914-6EAA-4CFA-8BD6-E0648F8FD21C','Menu_DigData',1,1,1) @@ -29,13 +33,28 @@ GO GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('7EC74F30-B2F7-454E-B0AE-8E993211F763','ݿ','',20,'92B50285-30BD-4B62-9E23-A0D6B4BA1577','Menu_DigData',1,0,1) - GO + GO + --ݿ + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) + VALUES('15D01AB6-F959-4ABD-B861-C5C2EE6FA906','ݿ','DigData/CQMSDataDW.aspx',10,'7EC74F30-B2F7-454E-B0AE-8E993211F763','Menu_DigData',1,1,1) + GO + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('E7F7BC38-7357-49C0-9242-68289031F618','ݿ','',30,'92B50285-30BD-4B62-9E23-A0D6B4BA1577','Menu_DigData',1,0,1) - GO + GO + --ݿ + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) + VALUES('44D51E89-267D-4D72-AB6D-1F4CA4E7D19D','ݿ','DigData/JDGLDataDW.aspx',10,'E7F7BC38-7357-49C0-9242-68289031F618','Menu_DigData',1,1,1) + GO + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('381A4608-2CDE-42AF-BC4D-FF554785B9F8','ͬݿ','',40,'92B50285-30BD-4B62-9E23-A0D6B4BA1577','Menu_DigData',1,0,1) GO + --ͬݿ + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) + VALUES('ABC4323E-2F6F-4147-AA7A-8726131D7044','ͬݿ','DigData/HTGLDataDW.aspx',10,'381A4608-2CDE-42AF-BC4D-FF554785B9F8','Menu_DigData',1,1,1) + GO + --INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) --VALUES('5BE7F83B-C02D-4481-815F-153279B44C39','ݿ','',50,'92B50285-30BD-4B62-9E23-A0D6B4BA1577','Menu_DigData',1,0,1) --GO diff --git a/DataBase/菜单初始化脚本/1-10大数据中心(Menu_PDigData).sql b/DataBase/菜单初始化脚本/1-10大数据中心(Menu_PDigData).sql index 1f1e3f6e..e9c1c558 100644 --- a/DataBase/菜单初始化脚本/1-10大数据中心(Menu_PDigData).sql +++ b/DataBase/菜单初始化脚本/1-10大数据中心(Menu_PDigData).sql @@ -7,20 +7,8 @@ VALUES('5704B651-2172-45D3-8206-448612C5BA11','WBS GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('775A5D3C-CB1C-4EC8-A7E1-F4FCD77E85DC','Ŀݲֿ','',20,'0','Menu_PDigData',1,0,1) -GO - INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) - VALUES('4911D344-3182-4B46-B01F-B10DB058E550','ȫ','',10,'775A5D3C-CB1C-4EC8-A7E1-F4FCD77E85DC','Menu_PDigData',1,0,1) - GO - INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) - VALUES('4F7C556C-DAC1-4BC4-BCF6-1B401F771204','','',20,'775A5D3C-CB1C-4EC8-A7E1-F4FCD77E85DC','Menu_PDigData',1,0,1) - GO - INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) - VALUES('D01D3916-743A-4F97-9ADB-815712A89FAC','','',30,'775A5D3C-CB1C-4EC8-A7E1-F4FCD77E85DC','Menu_PDigData',1,0,1) - GO - INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) - VALUES('0443E704-45F4-40BE-8069-13E5554F5700','ͬ','',40,'775A5D3C-CB1C-4EC8-A7E1-F4FCD77E85DC','Menu_PDigData',1,0,1) - GO +VALUES('775A5D3C-CB1C-4EC8-A7E1-F4FCD77E85DC','Ŀݲֿ','DigData/ProjectDataDW.aspx',20,'0','Menu_PDigData',1,1,1) +GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('D9252E0B-3956-473A-8ECC-12C0933469C3','ݷ','',30,'0','Menu_PDigData',1,0,1) diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index 6037c38e..6b379922 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -339,6 +339,10 @@ + + + + diff --git a/SGGL/BLL/DigData/CQMSDataDWService .cs b/SGGL/BLL/DigData/CQMSDataDWService .cs new file mode 100644 index 00000000..1c2127c5 --- /dev/null +++ b/SGGL/BLL/DigData/CQMSDataDWService .cs @@ -0,0 +1,68 @@ +using FineUIPro; +using System; +using System.Collections; +using System.Linq; + +namespace BLL +{ + /// + /// 质量数据仓库 + /// + public static class CQMSDataDWService + { + public static Model.SGGLDB db = Funs.DB; + + #region 质量数据仓库 + /// + /// 记录数 + /// + public static int count + { + get; + set; + } + + /// + /// 定义变量 + /// + private static IQueryable getDataLists = from x in db.Base_Project + select x; + + /// + /// 质量数据仓库 + /// + /// + /// + /// + /// + /// + public static IEnumerable getDataDWList( string projectId, DateTime? startTime, DateTime? endTime, Grid Grid1) + { + var getDataList = from x in Funs.DB.Base_Project select x; + if (!string.IsNullOrEmpty(projectId) && projectId != Const._Null) + { + getDataList = getDataList.Where(x => x.ProjectId == projectId); + } + + count = getDataList.Count(); + if (count == 0) + { + return null; + } + getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); + return from x in getDataList + select new + { + x.ProjectId, + x.ProjectName, + x.ProjectCode, + Rate1 = "0%", //质量验收问题整改率 + Rate2 = "0%", //控制点完成率 + Rate3 = "0%", //质量检查问题整改率 + Rate4 = "0%", //管道焊接一次合格率 + }; + } + #endregion + + } +} \ No newline at end of file diff --git a/SGGL/BLL/DigData/HSEDataDWService.cs b/SGGL/BLL/DigData/HSEDataDWService.cs new file mode 100644 index 00000000..3805288c --- /dev/null +++ b/SGGL/BLL/DigData/HSEDataDWService.cs @@ -0,0 +1,68 @@ +using FineUIPro; +using System; +using System.Collections; +using System.Linq; + +namespace BLL +{ + /// + /// 安全数据仓库 + /// + public static class HSEDataDWService + { + public static Model.SGGLDB db = Funs.DB; + + #region 安全数据仓库 + /// + /// 记录数 + /// + public static int count + { + get; + set; + } + + /// + /// 定义变量 + /// + private static IQueryable getDataLists = from x in db.Base_Project + select x; + + /// + /// 安全数据仓库 + /// + /// + /// + /// + /// + /// + public static IEnumerable getDataDWList( string projectId, DateTime? startTime, DateTime? endTime, Grid Grid1) + { + var getDataList = from x in Funs.DB.Base_Project select x; + if (!string.IsNullOrEmpty(projectId) && projectId != Const._Null) + { + getDataList = getDataList.Where(x => x.ProjectId == projectId); + } + + count = getDataList.Count(); + if (count == 0) + { + return null; + } + getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); + return from x in getDataList + select new + { + x.ProjectId, + x.ProjectName, + x.ProjectCode, + Count1=0, //人员数量 + Count2 =0, //安全人工时 + Count3 =0, //安全培训次数 + ProblemRate = "0%", //安全巡检整改率 + }; + } + #endregion + + } +} \ No newline at end of file diff --git a/SGGL/BLL/DigData/HTGLDataDWService.cs b/SGGL/BLL/DigData/HTGLDataDWService.cs new file mode 100644 index 00000000..e646a5c2 --- /dev/null +++ b/SGGL/BLL/DigData/HTGLDataDWService.cs @@ -0,0 +1,78 @@ +using FineUIPro; +using System; +using System.Collections; +using System.Linq; + +namespace BLL +{ + /// + /// 合同管理数据仓库 + /// + public static class HTGLDataDWService + { + public static Model.SGGLDB db = Funs.DB; + + #region 合同管理数据仓库 + /// + /// 记录数 + /// + public static int count + { + get; + set; + } + + /// + /// 定义变量 + /// + private static IQueryable getDataLists = from x in db.Base_Project + select x; + + /// + /// 合同管理数据仓库 + /// + /// + /// + /// + /// + /// + public static IEnumerable getDataDWList( string projectId, DateTime? startTime, DateTime? endTime, Grid Grid1) + { + var getDataList = from x in Funs.DB.Base_Project select x; + if (!string.IsNullOrEmpty(projectId) && projectId != Const._Null) + { + getDataList = getDataList.Where(x => x.ProjectId == projectId); + } + + count = getDataList.Count(); + if (count == 0) + { + return null; + } + getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); + return from x in getDataList + select new + { + x.ProjectId, + x.ProjectName, + x.ProjectCode, + Count1=0, + Count2 =0, + Count3 =0, + Count4 = 0, + Count5 = 0, + Count6 = 0, + Count7 = 0, + Count8 = 0, + Count9 = 0, + Count10 = 0, + Count11 = 0, + Count12 = 0, + Count13 = 0, + Count14 = 0, + }; + } + #endregion + + } +} \ No newline at end of file diff --git a/SGGL/BLL/DigData/JDGLDataDWService.cs b/SGGL/BLL/DigData/JDGLDataDWService.cs new file mode 100644 index 00000000..be372d94 --- /dev/null +++ b/SGGL/BLL/DigData/JDGLDataDWService.cs @@ -0,0 +1,65 @@ +using FineUIPro; +using System; +using System.Collections; +using System.Linq; + +namespace BLL +{ + /// + /// 进度数据仓库 + /// + public static class JDGLDataDWService + { + public static Model.SGGLDB db = Funs.DB; + + #region 进度数据仓库 + /// + /// 记录数 + /// + public static int count + { + get; + set; + } + + /// + /// 定义变量 + /// + private static IQueryable getDataLists = from x in db.Base_Project + select x; + + /// + /// 进度数据仓库 + /// + /// + /// + /// + /// + /// + public static IEnumerable getDataDWList( string projectId, DateTime? startTime, DateTime? endTime, Grid Grid1) + { + var getDataList = from x in Funs.DB.Base_Project select x; + if (!string.IsNullOrEmpty(projectId) && projectId != Const._Null) + { + getDataList = getDataList.Where(x => x.ProjectId == projectId); + } + + count = getDataList.Count(); + if (count == 0) + { + return null; + } + getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize); + return from x in getDataList + select new + { + x.ProjectId, + x.ProjectName, + x.ProjectCode, + JDRate = "0%", //项目进度完成百分比 + }; + } + #endregion + + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx b/SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx new file mode 100644 index 00000000..2450ad19 --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx @@ -0,0 +1,90 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CQMSDataDW.aspx.cs" + Inherits="FineUIPro.Web.DigData.CQMSDataDW" %> + + + + + + 质量数据库 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- --%> + + + + + diff --git a/SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx.cs b/SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx.cs new file mode 100644 index 00000000..b0661adb --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx.cs @@ -0,0 +1,116 @@ +using BLL; +using Newtonsoft.Json.Linq; +using System; +using System.Linq; +using System.Text; + +namespace FineUIPro.Web.DigData +{ + public partial class CQMSDataDW : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + Funs.DropDownPageSize(this.ddlPageSize); + ProjectService.InitProjectDropDownList(this.drpProject, false); + Funs.FineUIPleaseSelect(drpProject, "请选择项目"); + // 绑定表格 + this.BindGrid(); + } + } + #endregion + + #region 绑定数据Grid1 + /// + /// 绑定数据Grid1 + /// + private void BindGrid() + { + var getData =CQMSDataDWService.getDataDWList( this.drpProject.SelectedValue, + Funs.GetNewDateTime(this.txtStartTime.Text), Funs.GetNewDateTime(this.txtEndTime.Text),this.Grid1); + Grid1.RecordCount = CQMSDataDWService.count; + Grid1.DataSource = getData; + Grid1.DataBind(); + } + + /// + /// 改变索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页下拉选择事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 查询 + /// + /// 查询 + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + /// + /// 查询 + /// + /// + /// + protected void btSearch_Click(object sender, EventArgs e) + { + this.BindGrid(); + } + + #region 导出按钮 + /// 导出按钮 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("质量数据仓库" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = Encoding.UTF8; + this.Grid1.PageSize = this.Grid1.RecordCount; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx.designer.cs b/SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx.designer.cs new file mode 100644 index 00000000..ed635b97 --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/CQMSDataDW.aspx.designer.cs @@ -0,0 +1,161 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.DigData +{ + + + public partial class CQMSDataDW + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// drpProject 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpProject; + + /// + /// txtStartTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtStartTime; + + /// + /// txtEndTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtEndTime; + + /// + /// ToolbarFill2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill2; + + /// + /// btSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btSearch; + + /// + /// btnOut 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnOut; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// labNumber 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label labNumber; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Menu1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Menu Menu1; + } +} diff --git a/SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx b/SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx new file mode 100644 index 00000000..a8bdfc9c --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx @@ -0,0 +1,91 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HSEDataDW.aspx.cs" + Inherits="FineUIPro.Web.DigData.HSEDataDW" %> + + + + + + HSE数据库 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- --%> + + + + + diff --git a/SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx.cs b/SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx.cs new file mode 100644 index 00000000..4acf6af5 --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx.cs @@ -0,0 +1,141 @@ +using BLL; +using Newtonsoft.Json.Linq; +using System; +using System.Linq; +using System.Text; + +namespace FineUIPro.Web.DigData +{ + public partial class HSEDataDW : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + Funs.DropDownPageSize(this.ddlPageSize); + ProjectService.InitProjectDropDownList(this.drpProject, false); + Funs.FineUIPleaseSelect(drpProject, "请选择项目"); + // 绑定表格 + this.BindGrid(); + } + } + #endregion + + #region 绑定数据Grid1 + /// + /// 绑定数据Grid1 + /// + private void BindGrid() + { + var getData = HSEDataDWService.getDataDWList( this.drpProject.SelectedValue, + Funs.GetNewDateTime(this.txtStartTime.Text), Funs.GetNewDateTime(this.txtEndTime.Text),this.Grid1); + Grid1.RecordCount = HSEDataDWService.count; + Grid1.DataSource = getData; + Grid1.DataBind(); + this.OutputSummaryData(); ///取合计值 + } + + /// + /// 计算合计 + /// + private void OutputSummaryData( ) + { + int aCount1 = 0, aCount2 = 0, aCount3 = 0; + for (int i = 0; i < Grid1.Rows.Count(); i++) + { + aCount1 += Funs.GetNewIntOrZero(Grid1.Rows[i].Values[3].ToString()); + aCount2 += Funs.GetNewIntOrZero(Grid1.Rows[i].Values[4].ToString()); + aCount3 += Funs.GetNewIntOrZero(Grid1.Rows[i].Values[5].ToString()); + } + + JObject summary = new JObject + { + { "ProjectName", "合计" }, + { "Count1", aCount1.ToString() }, + { "Count2", aCount2.ToString() }, + { "Count3", aCount3.ToString() }, + }; + Grid1.SummaryData = summary; + } + + + /// + /// 改变索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页下拉选择事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 查询 + /// + /// 查询 + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + /// + /// 查询 + /// + /// + /// + protected void btSearch_Click(object sender, EventArgs e) + { + this.BindGrid(); + } + + #region 导出按钮 + /// 导出按钮 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("HSE数据仓库" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = Encoding.UTF8; + this.Grid1.PageSize = this.Grid1.RecordCount; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx.designer.cs b/SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx.designer.cs new file mode 100644 index 00000000..6a5c5055 --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/HSEDataDW.aspx.designer.cs @@ -0,0 +1,161 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.DigData +{ + + + public partial class HSEDataDW + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// drpProject 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpProject; + + /// + /// txtStartTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtStartTime; + + /// + /// txtEndTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtEndTime; + + /// + /// ToolbarFill2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill2; + + /// + /// btSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btSearch; + + /// + /// btnOut 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnOut; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// labNumber 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label labNumber; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Menu1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Menu Menu1; + } +} diff --git a/SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx b/SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx new file mode 100644 index 00000000..a00b65f1 --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx @@ -0,0 +1,121 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HTGLDataDW.aspx.cs" + Inherits="FineUIPro.Web.DigData.HTGLDataDW" %> + + + + + + 合同数据库 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- --%> + + + + + diff --git a/SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx.cs b/SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx.cs new file mode 100644 index 00000000..b151d5dc --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx.cs @@ -0,0 +1,141 @@ +using BLL; +using Newtonsoft.Json.Linq; +using System; +using System.Linq; +using System.Text; + +namespace FineUIPro.Web.DigData +{ + public partial class HTGLDataDW : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + Funs.DropDownPageSize(this.ddlPageSize); + ProjectService.InitProjectDropDownList(this.drpProject, false); + Funs.FineUIPleaseSelect(drpProject, "请选择项目"); + // 绑定表格 + this.BindGrid(); + } + } + #endregion + + #region 绑定数据Grid1 + /// + /// 绑定数据Grid1 + /// + private void BindGrid() + { + var getData = HTGLDataDWService.getDataDWList( this.drpProject.SelectedValue, + Funs.GetNewDateTime(this.txtStartTime.Text), Funs.GetNewDateTime(this.txtEndTime.Text),this.Grid1); + Grid1.RecordCount = HTGLDataDWService.count; + Grid1.DataSource = getData; + Grid1.DataBind(); + this.OutputSummaryData(); ///取合计值 + } + + /// + /// 计算合计 + /// + private void OutputSummaryData( ) + { + int aCount1 = 0, aCount2 = 0, aCount3 = 0; + for (int i = 0; i < Grid1.Rows.Count(); i++) + { + aCount1 += Funs.GetNewIntOrZero(Grid1.Rows[i].Values[3].ToString()); + aCount2 += Funs.GetNewIntOrZero(Grid1.Rows[i].Values[4].ToString()); + aCount3 += Funs.GetNewIntOrZero(Grid1.Rows[i].Values[5].ToString()); + } + + JObject summary = new JObject + { + { "ProjectName", "合计" }, + { "Count1", aCount1.ToString() }, + { "Count2", aCount2.ToString() }, + { "Count3", aCount3.ToString() }, + }; + Grid1.SummaryData = summary; + } + + + /// + /// 改变索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页下拉选择事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 查询 + /// + /// 查询 + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + /// + /// 查询 + /// + /// + /// + protected void btSearch_Click(object sender, EventArgs e) + { + this.BindGrid(); + } + + #region 导出按钮 + /// 导出按钮 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("合同数据仓库" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = Encoding.UTF8; + this.Grid1.PageSize = this.Grid1.RecordCount; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx.designer.cs b/SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx.designer.cs new file mode 100644 index 00000000..83094669 --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/HTGLDataDW.aspx.designer.cs @@ -0,0 +1,161 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.DigData +{ + + + public partial class HTGLDataDW + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// drpProject 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpProject; + + /// + /// txtStartTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtStartTime; + + /// + /// txtEndTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtEndTime; + + /// + /// ToolbarFill2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill2; + + /// + /// btSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btSearch; + + /// + /// btnOut 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnOut; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// labNumber 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label labNumber; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Menu1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Menu Menu1; + } +} diff --git a/SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx b/SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx new file mode 100644 index 00000000..5c77240f --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx @@ -0,0 +1,81 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JDGLDataDW.aspx.cs" + Inherits="FineUIPro.Web.DigData.JDGLDataDW" %> + + + + + + 进度数据库 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- --%> + + + + + diff --git a/SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx.cs b/SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx.cs new file mode 100644 index 00000000..65f5c7a7 --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx.cs @@ -0,0 +1,116 @@ +using BLL; +using Newtonsoft.Json.Linq; +using System; +using System.Linq; +using System.Text; + +namespace FineUIPro.Web.DigData +{ + public partial class JDGLDataDW : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + Funs.DropDownPageSize(this.ddlPageSize); + ProjectService.InitProjectDropDownList(this.drpProject, false); + Funs.FineUIPleaseSelect(drpProject, "请选择项目"); + // 绑定表格 + this.BindGrid(); + } + } + #endregion + + #region 绑定数据Grid1 + /// + /// 绑定数据Grid1 + /// + private void BindGrid() + { + var getData = JDGLDataDWService.getDataDWList( this.drpProject.SelectedValue, + Funs.GetNewDateTime(this.txtStartTime.Text), Funs.GetNewDateTime(this.txtEndTime.Text),this.Grid1); + Grid1.RecordCount = JDGLDataDWService.count; + Grid1.DataSource = getData; + Grid1.DataBind(); + } + + /// + /// 改变索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页下拉选择事件 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + this.BindGrid(); + } + #endregion + + #region 查询 + /// + /// 查询 + /// + /// + /// + protected void TextBox_TextChanged(object sender, EventArgs e) + { + this.BindGrid(); + } + #endregion + + /// + /// 查询 + /// + /// + /// + protected void btSearch_Click(object sender, EventArgs e) + { + this.BindGrid(); + } + + #region 导出按钮 + /// 导出按钮 + /// + /// + /// + protected void btnOut_Click(object sender, EventArgs e) + { + Response.ClearContent(); + string filename = Funs.GetNewFileName(); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("进度数据仓库" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.ContentType = "application/excel"; + Response.ContentEncoding = Encoding.UTF8; + this.Grid1.PageSize = this.Grid1.RecordCount; + this.BindGrid(); + Response.Write(GetGridTableHtml(Grid1)); + Response.End(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx.designer.cs b/SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx.designer.cs new file mode 100644 index 00000000..c320aeb8 --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/JDGLDataDW.aspx.designer.cs @@ -0,0 +1,161 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.DigData +{ + + + public partial class JDGLDataDW + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// drpProject 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpProject; + + /// + /// txtStartTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtStartTime; + + /// + /// txtEndTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtEndTime; + + /// + /// ToolbarFill2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill2; + + /// + /// btSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btSearch; + + /// + /// btnOut 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnOut; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// labNumber 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label labNumber; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Menu1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Menu Menu1; + } +} diff --git a/SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx b/SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx new file mode 100644 index 00000000..aac4ef7d --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx @@ -0,0 +1,189 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProjectDataDW.aspx.cs" Inherits="FineUIPro.Web.DigData.ProjectDataDW" %> + + + + + + 项目WBS数据仓库 + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx.cs b/SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx.cs new file mode 100644 index 00000000..3972dcb0 --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx.cs @@ -0,0 +1,187 @@ +using BLL; +using System; +using System.Data; +using System.Linq; + +namespace FineUIPro.Web.DigData +{ + public partial class ProjectDataDW : PageBase + { + /// + /// 项目ID + /// + public string ProjectId + { + get + { + return (string)ViewState["ProjectId"]; + } + set + { + ViewState["ProjectId"] = value; + } + } + + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.ProjectId = this.CurrUser.LoginProjectId; + } + } + + + /// + /// + /// + /// + /// + protected void ckType_SelectedIndexChanged(object sender, EventArgs e) + { + this.gpHSSE.Hidden = true; + this.gpCQMS.Hidden = true; + this.gpJDGL.Hidden = true; + this.gpHTGL.Hidden = true; + this.gpLW.Hidden = true; + SetData(); + } + + /// + /// 数据展示 + /// + private void SetData() + { + if (!string.IsNullOrEmpty(this.ProjectId)) + { + foreach (var item in this.ckType.SelectedValueArray) + { + if (item == "HSSE") + { + this.gpHSSE.Hidden = false; + this.lbExpertArgument.Text = (from x in Funs.DB.Solution_LargerHazardListItem + join y in Funs.DB.Solution_LargerHazardList on x.LargerHazardListId equals y.LargerHazardListId + where y.ProjectId == this.ProjectId + && y.States == Const.State_1 + + select x).Count().ToString(); + this.lbAccident.Text = (from x in Funs.DB.Accident_AccidentPersonRecord + where x.ProjectId == this.ProjectId + && x.States == Const.State_2 + + select x).Count().ToString(); + } + if (item == "CQMS") + { + this.gpCQMS.Hidden = false; + //// 实体验收 资料验收 + var getSpotCheckDetail = from x in Funs.DB.Check_SpotCheckDetail + join y in Funs.DB.Check_SpotCheck on x.SpotCheckCode equals y.SpotCheckCode + where y.ProjectId == this.ProjectId + && y.State == "8" + select x; + int all = getSpotCheckDetail.Count(); + // this.lbSpotCheck1.Text = all.ToString(); + int onesOKCount = getSpotCheckDetail.Where(x => x.IsOnesOK == true).Count(); //一次合格 + // this.lbSpotCheck2.Text= okCount.ToString(); + + this.lbSpotCheckRate.Text= all > 0 ? Math.Round(onesOKCount * 100.0 / (all * 1.0)).ToString()+"%" : "0%"; + + /// 资料验收合格项目 + var getOKSpotCheckDetail = getSpotCheckDetail.Where(x => x.IsOK == true); + int okYSCount = getOKSpotCheckDetail.Count(); //验收合格 + int okDateCount = getSpotCheckDetail.Where(x => x.IsDataOK == "1").Count(); //资料合格 + this.lbSpotCheckDataRate.Text = okYSCount > 0 ? Math.Round(okDateCount * 100.0 / (okYSCount * 1.0)).ToString() + "%" : "0%"; + + ///实体质量问题整改率 + //int allNoOk = all - onesOKCount; ///问题数 + //int oKCount = getSpotCheckDetail.Where(x => x.IsOK == true).Count(); //合格数 + //int zgCount = oKCount - onesOKCount; ///整改数 + //this.lbSpotCheckOkRate.Text = allNoOk > 0 ? Math.Round(zgCount * 100.0 / (allNoOk * 1.0)).ToString() + "%" : "0%"; + + ////控制点 + //var getControlItemAndCycle=from x in Funs.DB.WBS_ControlItemAndCycle + // where x.ProjectId == this.ProjectId && x.WorkPackageId.Contains(workPackageId) + // && (controlItemAndCycleId == null || x.WorkPackageId.Contains(controlItemAndCycleId)) + // && x.ControlPoint.Contains("A") && x.CheckNum >0 + // select x; + /////A级控制点总量 + //int allControlItemCount = getControlItemAndCycle.Count(); + /////已完成A级控制点数 + //var getOKSpotCheckDetailCheckNum = from x in getOKSpotCheckDetail + // group x by x.ControlItemAndCycleId + // into g select new { g.First().ControlItemAndCycleId, num = g.Count() }; + + //var getOKControlItemAndCycle = from x in getControlItemAndCycle + // join y in getOKSpotCheckDetailCheckNum on x.ControlItemAndCycleId equals y.ControlItemAndCycleId + // where x.CheckNum == y.num + // select x; + //int okControlItemCount= getOKControlItemAndCycle.Count(); + //this.lbControlItemRate.Text = allControlItemCount > 0 ? Math.Round(okControlItemCount * 100.0 / (allControlItemCount * 1.0)).ToString() + "%" : "0%"; + } + if (item == "JDGL") + { + this.gpJDGL.Hidden = false; + + //double totalSJCost = 0; ////累计实际费用 + //decimal totalPlanCost = 0; ////计划费用 + //var getWorkPackageDetail = Funs.DB.WBS_WorkPackageDetail.FirstOrDefault(x => x.WorkPackageId == workPackageId); + //if (getWorkPackageDetail != null) + //{ + // ///末级节点 + // var getMaxSJCost = Funs.DB.View_WBS_WorkPackageDetail.Where(x => x.WorkPackageId == workPackageId).OrderByDescending(x => x.Months).FirstOrDefault(); + // if (getMaxSJCost != null) + // { + // totalSJCost = getMaxSJCost.TotalThisValue ?? 0; + // totalPlanCost = getMaxSJCost.PlanCost ?? 0; + // } + //} + //else + //{ + // ///非末级节点 + // var getMaxSJCost = Funs.DB.View_WBS_WorkPackageParentDetail.Where(x =>x.ProjectId == this.ProjectId + // && x.ParentId == workPackageId).OrderByDescending(x => x.Months).FirstOrDefault(); + // if (getMaxSJCost != null) + // { + // totalSJCost = getMaxSJCost.TotalThisValue ?? 0; + // totalPlanCost = getMaxSJCost.PlanCost ?? 0; + // } + //} + ////// 根 节点 建筑工程 安装工程 + //if (workPackageId == "1" || workPackageId == "2") + //{ + // var getUnitWorkByType = from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.ProjectId && x.ProjectType == workPackageId select x; + // if (getUnitWorkByType.Count() > 0) + // { + // totalPlanCost = getUnitWorkByType.Sum(x => x.PlanCost ?? 0); + // } + //} + + //var getUnitWork = Funs.DB.WBS_UnitWork.FirstOrDefault(x => x.ProjectId == this.ProjectId && x.UnitWorkId == workPackageId); + //if (getUnitWork != null) + //{ + // totalPlanCost= getUnitWork.PlanCost ?? 0; + //} + + /////项目进度完成百分比 + //decimal s = Convert.ToDecimal(totalSJCost); + //this.lbJDRate.Text = totalPlanCost > 0 ? Math.Round(s / totalPlanCost).ToString() + "%" : "0%"; + + } + if (item == "HTGL") + { + this.gpHTGL.Hidden = false; + } + if (item == "LW") + { + this.gpLW.Hidden = false; + } + } + } + } + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx.designer.cs b/SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx.designer.cs new file mode 100644 index 00000000..25d324cd --- /dev/null +++ b/SGGL/FineUIPro.Web/DigData/ProjectDataDW.aspx.designer.cs @@ -0,0 +1,386 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.DigData +{ + + + public partial class ProjectDataDW + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// panelCenterRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelCenterRegion; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// ckType 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.CheckBoxList ckType; + + /// + /// gpHSSE 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.GroupPanel gpHSSE; + + /// + /// SimpleForm1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// lbExpertArgument 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lbExpertArgument; + + /// + /// lbAccident 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lbAccident; + + /// + /// Label3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label3; + + /// + /// Label7 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label7; + + /// + /// Label8 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label8; + + /// + /// Label9 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label9; + + /// + /// gpCQMS 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.GroupPanel gpCQMS; + + /// + /// Form2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form2; + + /// + /// lbSpotCheckRate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lbSpotCheckRate; + + /// + /// lbSpotCheckDataRate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lbSpotCheckDataRate; + + /// + /// Label2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label2; + + /// + /// Label10 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label10; + + /// + /// gpJDGL 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.GroupPanel gpJDGL; + + /// + /// Form3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form3; + + /// + /// lbJDRate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lbJDRate; + + /// + /// gpHTGL 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.GroupPanel gpHTGL; + + /// + /// Form4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form4; + + /// + /// Label4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label4; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label1; + + /// + /// Label11 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label11; + + /// + /// Label6 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label6; + + /// + /// Label12 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label12; + + /// + /// Label13 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label13; + + /// + /// Label14 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label14; + + /// + /// Label15 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label15; + + /// + /// Label16 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label16; + + /// + /// Label17 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label17; + + /// + /// Label18 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label18; + + /// + /// Label19 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label19; + + /// + /// gpLW 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.GroupPanel gpLW; + + /// + /// Form5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form5; + + /// + /// Label5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label5; + + /// + /// Window1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window1; + } +} diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 40fcdd75..03dc5e8f 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -525,6 +525,11 @@ + + + + + @@ -7603,6 +7608,41 @@ WorkingHoursItem.aspx + + CQMSDataDW.aspx + ASPXCodeBehind + + + CQMSDataDW.aspx + + + HSEDataDW.aspx + ASPXCodeBehind + + + HSEDataDW.aspx + + + HTGLDataDW.aspx + ASPXCodeBehind + + + HTGLDataDW.aspx + + + JDGLDataDW.aspx + ASPXCodeBehind + + + JDGLDataDW.aspx + + + ProjectDataDW.aspx + ASPXCodeBehind + + + ProjectDataDW.aspx + ShowProjectWBS.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/common/Menu_DigData.xml b/SGGL/FineUIPro.Web/common/Menu_DigData.xml index bf060031..3ac7eb46 100644 --- a/SGGL/FineUIPro.Web/common/Menu_DigData.xml +++ b/SGGL/FineUIPro.Web/common/Menu_DigData.xml @@ -3,13 +3,17 @@ - + + - - - + + + + + + diff --git a/SGGL/FineUIPro.Web/common/Menu_PDigData.xml b/SGGL/FineUIPro.Web/common/Menu_PDigData.xml index f1829be3..e9c0d7fc 100644 --- a/SGGL/FineUIPro.Web/common/Menu_PDigData.xml +++ b/SGGL/FineUIPro.Web/common/Menu_PDigData.xml @@ -2,11 +2,7 @@ - - - - - + \ No newline at end of file diff --git a/SGGL/SGGL.sln b/SGGL/SGGL.sln index 721038cf..e128e1ef 100644 --- a/SGGL/SGGL.sln +++ b/SGGL/SGGL.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28307.2017 +# Visual Studio Version 17 +VisualStudioVersion = 17.6.33927.249 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FineUIPro.Web", "FineUIPro.Web\FineUIPro.Web.csproj", "{C88D3156-2D56-4DB0-922E-1995FB61C9BD}" EndProject