From fe0745c4d72ecc60ccb3373a070915cef6d2bb56 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Tue, 6 May 2025 09:28:36 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/BLL/BLL.csproj | 2 +- SGGL/BLL/CQMS/Check/CheckControlService.cs | 4 ++-- SGGL/Model/Model.csproj | 2 +- SGGL/SgManager.AI/SgManager.AI.csproj | 2 +- SGGL/WebAPI/WebAPI.csproj | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index 7c6a246..374ce2c 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -10,7 +10,7 @@ Properties BLL BLL - v4.6.2 + v4.6.1 512 diff --git a/SGGL/BLL/CQMS/Check/CheckControlService.cs b/SGGL/BLL/CQMS/Check/CheckControlService.cs index b220266..d4f243b 100644 --- a/SGGL/BLL/CQMS/Check/CheckControlService.cs +++ b/SGGL/BLL/CQMS/Check/CheckControlService.cs @@ -48,7 +48,7 @@ namespace BLL { using (var db = new Model.SGGLDB(Funs.ConnString)) { - object x = db.Check_CheckControl.Select(x => new { + object a = db.Check_CheckControl.Select(x => new { CheckControlCode = x.CheckControlCode, ProjectId = x.ProjectId, ProjectName = db.Base_Project.FirstOrDefault(p => p.ProjectId == x.ProjectId).ProjectName, @@ -77,7 +77,7 @@ namespace BLL QuestionTypeName = db.Base_QualityQuestionType.FirstOrDefault(e => e.QualityQuestionTypeId == x.QuestionType).QualityQuestionType, }).FirstOrDefault(e => e.CheckControlCode == CheckControlCode); - return x; + return a; } } diff --git a/SGGL/Model/Model.csproj b/SGGL/Model/Model.csproj index 8391cf6..113b8bd 100644 --- a/SGGL/Model/Model.csproj +++ b/SGGL/Model/Model.csproj @@ -10,7 +10,7 @@ Properties Model Model - v4.6.2 + v4.6.1 512 diff --git a/SGGL/SgManager.AI/SgManager.AI.csproj b/SGGL/SgManager.AI/SgManager.AI.csproj index 04451be..83e599b 100644 --- a/SGGL/SgManager.AI/SgManager.AI.csproj +++ b/SGGL/SgManager.AI/SgManager.AI.csproj @@ -9,7 +9,7 @@ Properties SgManager.AI SgManager.AI - v4.6.2 + v4.6.1 512 diff --git a/SGGL/WebAPI/WebAPI.csproj b/SGGL/WebAPI/WebAPI.csproj index 8e90bfb..0479a3d 100644 --- a/SGGL/WebAPI/WebAPI.csproj +++ b/SGGL/WebAPI/WebAPI.csproj @@ -14,7 +14,7 @@ Properties WebAPI WebAPI - v4.6.2 + v4.6.1 false true From 3b18178e301c0b1f14883466f698dbc849f6e889 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Tue, 6 May 2025 15:04:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CreateModel2017.bat | 2 +- .../SGGLDB_V2025-05-06-001-gaofei.sql | 57 + .../App_GlobalResources/Lan.designer.cs | 194 +- .../DayInputStatistics.aspx | 2 +- .../DayInputStatistics.aspx.cs | 28 +- .../ProjectContentStatistics.aspx | 20 +- .../ProjectContentStatistics.aspx.cs | 43 +- .../ProjectContentStatistics.aspx.designer.cs | 13 +- .../WorkTeamStatistics.aspx | 13 +- .../WorkTeamStatistics.aspx.cs | 57 +- .../WorkTeamStatistics.aspx.designer.cs | 17 +- .../File/Excel/DataOut/整体及分类汇总表.xlsx | Bin 11905 -> 11947 bytes .../File/Excel/DataOut/项目内容汇总表.xlsx | Bin 11890 -> 11912 bytes SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 3 +- SGGL/Model/Model.cs | 27723 +--------------- 15 files changed, 714 insertions(+), 27458 deletions(-) create mode 100644 DataBase/版本日志/SGGLDB_V2025-05-06-001-gaofei.sql diff --git a/CreateModel2017.bat b/CreateModel2017.bat index c918b4e..1717f72 100644 --- a/CreateModel2017.bat +++ b/CreateModel2017.bat @@ -27,7 +27,7 @@ REM -------------- @echo. @call "%VS150%" -SqlMetal /views /server:47.104.102.122,14333:SGGLDB_HBAZ /code:%Model_ROOT%\Model.cs /namespace:Model +SqlMetal /views /server:. /database:SGGLDB_HBAZ /code:%Model_ROOT%\Model.cs /namespace:Model @ECHO pause diff --git a/DataBase/版本日志/SGGLDB_V2025-05-06-001-gaofei.sql b/DataBase/版本日志/SGGLDB_V2025-05-06-001-gaofei.sql new file mode 100644 index 0000000..c825756 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2025-05-06-001-gaofei.sql @@ -0,0 +1,57 @@ + +ALTER VIEW [dbo].[View_QuantityManagement_WorkTeamStatistics] +AS +/********弰ܱ********/ + +select distinct C.ProjectId+','+(case when a.DrawingNo is not null then a.WorkSection else b.WorkSection end)+','+ProjectContent as Id, C.ProjectId,case when a.DrawingNo is not null then a.WorkSection else b.WorkSection end as WorkSection,ba.State, + ProjectContent,Unit, + case when a.DrawingNo is not null then ca.ProfessionalName else cb.ProfessionalName end as Major + from QuantityManagement_DayInput C + left join QuantityManagement_Base ba on ba.BaseId=C.BaseId + left join QuantityManagement_Drawing a on a.DrawingId=ba.DrawingId + left join Base_CNProfessional ca on ca.CNProfessionalId=a.Major + left join QuantityManagement_Change b on b.ChangeId=ba.DrawingId + left join Base_CNProfessional cb on cb.CNProfessionalId=b.Major +union +select C.ProjectId+','+(case when a.DrawingNo is not null then a.WorkSection else b.WorkSection end)+','+ProjectContent as Id,C.ProjectId,case when a.DrawingNo is not null then a.WorkSection else b.WorkSection end as WorkSection,C.State, + ProjectContent,Unit, + case when a.DrawingNo is not null then ca.ProfessionalName else cb.ProfessionalName end as Major + from QuantityManagement_Base C + left join QuantityManagement_Drawing a on a.DrawingId=C.DrawingId + left join Base_CNProfessional ca on ca.CNProfessionalId=a.Major + left join QuantityManagement_Change b on b.ChangeId=C.DrawingId + left join Base_CNProfessional cb on cb.CNProfessionalId=b.Major + + + + +GO + + + +ALTER VIEW [dbo].[View_QuantityManagement_ProjectContentStatistics] +AS +/********弰ܱ********/ + +select distinct C.ProjectId+','+ProjectContent as Id, C.ProjectId,ba.State, + ProjectContent,Unit,case when a.DrawingNo is not null then ca.ProfessionalName else cb.ProfessionalName end as Major + from QuantityManagement_DayInput C + left join QuantityManagement_Base ba on ba.BaseId=C.BaseId + left join QuantityManagement_Drawing a on a.DrawingId=ba.DrawingId + left join Base_CNProfessional ca on ca.CNProfessionalId=a.Major + left join QuantityManagement_Change b on b.ChangeId=ba.DrawingId + left join Base_CNProfessional cb on cb.CNProfessionalId=b.Major +union +select C.ProjectId+','+ProjectContent as Id,C.ProjectId,C.State, + ProjectContent,Unit,case when a.DrawingNo is not null then ca.ProfessionalName else cb.ProfessionalName end as Major + from QuantityManagement_Base C + left join QuantityManagement_Drawing a on a.DrawingId=C.DrawingId + left join Base_CNProfessional ca on ca.CNProfessionalId=a.Major + left join QuantityManagement_Change b on b.ChangeId=C.DrawingId + left join Base_CNProfessional cb on cb.CNProfessionalId=b.Major + + + +GO + + diff --git a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.designer.cs b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.designer.cs index 05c5f9b..b9a3789 100644 --- a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.designer.cs +++ b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.designer.cs @@ -13,13 +13,13 @@ namespace Resources { /// - /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// 强类型资源类,用于查找本地化字符串等。 /// // 此类是由 StronglyTypedResourceBuilder // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 Visual Studio 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "17.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Lan { @@ -33,7 +33,7 @@ namespace Resources { } /// - /// 返回此类使用的缓存的 ResourceManager 实例。 + /// 返回此类使用的缓存 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ namespace Resources { } /// - /// 重写当前线程的 CurrentUICulture 属性,对 - /// 使用此强类型资源类的所有资源查找执行重写。 + /// 覆盖当前线程的 CurrentUICulture 属性 + /// 使用此强类型的资源类的资源查找。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ namespace Resources { } /// - /// 查找类似 大数据中心 的本地化字符串。 + /// 查找类似 大数据中心 的本地化字符串。 /// internal static string BigDataCenter { get { @@ -70,7 +70,7 @@ namespace Resources { } /// - /// 查找类似 证书预警 的本地化字符串。 + /// 查找类似 证书预警 的本地化字符串。 /// internal static string CertificateWarning { get { @@ -79,7 +79,7 @@ namespace Resources { } /// - /// 查找类似 中国 的本地化字符串。 + /// 查找类似 中国 的本地化字符串。 /// internal static string China { get { @@ -88,7 +88,7 @@ namespace Resources { } /// - /// 查找类似 中文 的本地化字符串。 + /// 查找类似 中文 的本地化字符串。 /// internal static string Chinese { get { @@ -97,7 +97,7 @@ namespace Resources { } /// - /// 查找类似 土建基础交安 的本地化字符串。 + /// 查找类似 土建基础交安 的本地化字符串。 /// internal static string CivilInfrastructure { get { @@ -106,7 +106,7 @@ namespace Resources { } /// - /// 查找类似 已完成 的本地化字符串。 + /// 查找类似 已完成 的本地化字符串。 /// internal static string completed { get { @@ -115,7 +115,7 @@ namespace Resources { } /// - /// 查找类似 参建人数 的本地化字符串。 + /// 查找类似 参建人数 的本地化字符串。 /// internal static string ConPersonCount { get { @@ -124,7 +124,7 @@ namespace Resources { } /// - /// 查找类似 施工单位 的本地化字符串。 + /// 查找类似 施工单位 的本地化字符串。 /// internal static string ConstructionUnit { get { @@ -133,7 +133,7 @@ namespace Resources { } /// - /// 查找类似 合同到期时间 的本地化字符串。 + /// 查找类似 合同到期时间 的本地化字符串。 /// internal static string ContractExpirationTime { get { @@ -142,7 +142,7 @@ namespace Resources { } /// - /// 查找类似 当前现场人数 的本地化字符串。 + /// 查找类似 当前现场人数 的本地化字符串。 /// internal static string CurrentPersonnel { get { @@ -151,7 +151,7 @@ namespace Resources { } /// - /// 查找类似 隐患总数 的本地化字符串。 + /// 查找类似 隐患总数 的本地化字符串。 /// internal static string DangersCount { get { @@ -160,7 +160,7 @@ namespace Resources { } /// - /// 查找类似 员工管理 的本地化字符串。 + /// 查找类似 员工管理 的本地化字符串。 /// internal static string EmployeeManage { get { @@ -169,7 +169,7 @@ namespace Resources { } /// - /// 查找类似 英文 的本地化字符串。 + /// 查找类似 英文 的本地化字符串。 /// internal static string English { get { @@ -178,7 +178,7 @@ namespace Resources { } /// - /// 查找类似 现场动态 的本地化字符串。 + /// 查找类似 现场动态 的本地化字符串。 /// internal static string FieldDynamics { get { @@ -187,7 +187,7 @@ namespace Resources { } /// - /// 查找类似 首台设备到货 的本地化字符串。 + /// 查找类似 首台设备到货 的本地化字符串。 /// internal static string FirstEquipmentArrived { get { @@ -196,7 +196,7 @@ namespace Resources { } /// - /// 查找类似 焊接一次合格率 的本地化字符串。 + /// 查找类似 焊接一次合格率 的本地化字符串。 /// internal static string FistPassRateWelding { get { @@ -205,7 +205,7 @@ namespace Resources { } /// - /// 查找类似 全屏 的本地化字符串。 + /// 查找类似 全屏 的本地化字符串。 /// internal static string FullScreen { get { @@ -214,7 +214,7 @@ namespace Resources { } /// - /// 查找类似 总承包商施工计划 的本地化字符串。 + /// 查找类似 总承包商施工计划 的本地化字符串。 /// internal static string GeneralConPlan { get { @@ -223,7 +223,7 @@ namespace Resources { } /// - /// 查找类似 一般风险 的本地化字符串。 + /// 查找类似 一般风险 的本地化字符串。 /// internal static string GeneralRisk { get { @@ -232,7 +232,7 @@ namespace Resources { } /// - /// 查找类似 较大风险 的本地化字符串。 + /// 查找类似 较大风险 的本地化字符串。 /// internal static string GreaterRisk { get { @@ -241,7 +241,7 @@ namespace Resources { } /// - /// 查找类似 总部检查 的本地化字符串。 + /// 查找类似 总部检查 的本地化字符串。 /// internal static string HeadquartersInspection { get { @@ -250,7 +250,7 @@ namespace Resources { } /// - /// 查找类似 首页 的本地化字符串。 + /// 查找类似 首页 的本地化字符串。 /// internal static string HomePage { get { @@ -259,7 +259,7 @@ namespace Resources { } /// - /// 查找类似 安全管理 的本地化字符串。 + /// 查找类似 安全管理 的本地化字符串。 /// internal static string HSEManage { get { @@ -268,7 +268,7 @@ namespace Resources { } /// - /// 查找类似 湿度 的本地化字符串。 + /// 查找类似 湿度 的本地化字符串。 /// internal static string humidness { get { @@ -277,7 +277,7 @@ namespace Resources { } /// - /// 查找类似 综合管理 的本地化字符串。 + /// 查找类似 综合管理 的本地化字符串。 /// internal static string IntegratedManage { get { @@ -286,7 +286,7 @@ namespace Resources { } /// - /// 查找类似 在施危大工程数 的本地化字符串。 + /// 查找类似 在施危大工程数 的本地化字符串。 /// internal static string LargeRisk { get { @@ -295,7 +295,7 @@ namespace Resources { } /// - /// 查找类似 级 的本地化字符串。 + /// 查找类似 级 的本地化字符串。 /// internal static string Level { get { @@ -304,7 +304,7 @@ namespace Resources { } /// - /// 查找类似 现场视频 的本地化字符串。 + /// 查找类似 现场视频 的本地化字符串。 /// internal static string LiveVideo { get { @@ -313,7 +313,7 @@ namespace Resources { } /// - /// 查找类似 现场相册 的本地化字符串。 + /// 查找类似 现场相册 的本地化字符串。 /// internal static string Live_photo_album { get { @@ -322,7 +322,7 @@ namespace Resources { } /// - /// 查找类似 低风险 的本地化字符串。 + /// 查找类似 低风险 的本地化字符串。 /// internal static string LowRisk { get { @@ -331,7 +331,7 @@ namespace Resources { } /// - /// 查找类似 重大风险 的本地化字符串。 + /// 查找类似 重大风险 的本地化字符串。 /// internal static string MajorRisk { get { @@ -340,7 +340,7 @@ namespace Resources { } /// - /// 查找类似 管理人员总数 的本地化字符串。 + /// 查找类似 管理人员总数 的本地化字符串。 /// internal static string managersCount { get { @@ -349,7 +349,7 @@ namespace Resources { } /// - /// 查找类似 最大化 的本地化字符串。 + /// 查找类似 最大化 的本地化字符串。 /// internal static string maximize { get { @@ -358,7 +358,7 @@ namespace Resources { } /// - /// 查找类似 机械竣工 的本地化字符串。 + /// 查找类似 机械竣工 的本地化字符串。 /// internal static string MechanicalCompletion { get { @@ -367,7 +367,7 @@ namespace Resources { } /// - /// 查找类似 机械预警 的本地化字符串。 + /// 查找类似 机械预警 的本地化字符串。 /// internal static string MechanicalWarning { get { @@ -376,7 +376,7 @@ namespace Resources { } /// - /// 查找类似 消息 的本地化字符串。 + /// 查找类似 消息 的本地化字符串。 /// internal static string message { get { @@ -385,7 +385,7 @@ namespace Resources { } /// - /// 查找类似 更多 的本地化字符串。 + /// 查找类似 更多 的本地化字符串。 /// internal static string more { get { @@ -394,7 +394,7 @@ namespace Resources { } /// - /// 查找类似 您没有此模块操作权限,请联系管理员授权! 的本地化字符串。 + /// 查找类似 您没有此模块操作权限,请联系管理员授权! 的本地化字符串。 /// internal static string NoAuthorize { get { @@ -403,7 +403,7 @@ namespace Resources { } /// - /// 查找类似 噪音 的本地化字符串。 + /// 查找类似 噪音 的本地化字符串。 /// internal static string noise { get { @@ -412,7 +412,7 @@ namespace Resources { } /// - /// 查找类似 您没有权限进入项目管理模块! 的本地化字符串。 + /// 查找类似 您没有权限进入项目管理模块! 的本地化字符串。 /// internal static string NoPermission { get { @@ -421,7 +421,7 @@ namespace Resources { } /// - /// 查找类似 通知管理 的本地化字符串。 + /// 查找类似 通知管理 的本地化字符串。 /// internal static string NoticeManage { get { @@ -430,7 +430,7 @@ namespace Resources { } /// - /// 查找类似 现场考勤 的本地化字符串。 + /// 查找类似 现场考勤 的本地化字符串。 /// internal static string OnSiteAttendance { get { @@ -439,7 +439,7 @@ namespace Resources { } /// - /// 查找类似 在新标签页中打开 的本地化字符串。 + /// 查找类似 在新标签页中打开 的本地化字符串。 /// internal static string OpensNewTab { get { @@ -448,7 +448,7 @@ namespace Resources { } /// - /// 查找类似 合格率 的本地化字符串。 + /// 查找类似 合格率 的本地化字符串。 /// internal static string PassRate { get { @@ -457,7 +457,7 @@ namespace Resources { } /// - /// 查找类似 桩基施工 的本地化字符串。 + /// 查找类似 桩基施工 的本地化字符串。 /// internal static string Pilefoundationconstruction { get { @@ -466,7 +466,7 @@ namespace Resources { } /// - /// 查找类似 管道安装开始 的本地化字符串。 + /// 查找类似 管道安装开始 的本地化字符串。 /// internal static string PipeInstallationStarts { get { @@ -475,7 +475,7 @@ namespace Resources { } /// - /// 查找类似 变电所受电 的本地化字符串。 + /// 查找类似 变电所受电 的本地化字符串。 /// internal static string PowerReceived { get { @@ -484,7 +484,7 @@ namespace Resources { } /// - /// 查找类似 问题总数 的本地化字符串。 + /// 查找类似 问题总数 的本地化字符串。 /// internal static string ProblemTotal { get { @@ -493,7 +493,7 @@ namespace Resources { } /// - /// 查找类似 项目地址 的本地化字符串。 + /// 查找类似 项目地址 的本地化字符串。 /// internal static string ProjectAddress { get { @@ -502,7 +502,7 @@ namespace Resources { } /// - /// 查找类似 项目清单 的本地化字符串。 + /// 查找类似 项目清单 的本地化字符串。 /// internal static string ProjectList { get { @@ -511,7 +511,7 @@ namespace Resources { } /// - /// 查找类似 项目名称 的本地化字符串。 + /// 查找类似 项目名称 的本地化字符串。 /// internal static string ProjectName { get { @@ -520,7 +520,7 @@ namespace Resources { } /// - /// 查找类似 项目进度计划 的本地化字符串。 + /// 查找类似 项目进度计划 的本地化字符串。 /// internal static string ProjectSchedule { get { @@ -529,7 +529,7 @@ namespace Resources { } /// - /// 查找类似 项目统计 的本地化字符串。 + /// 查找类似 项目统计 的本地化字符串。 /// internal static string ProjectStatistics { get { @@ -538,7 +538,7 @@ namespace Resources { } /// - /// 查找类似 在建项目 的本地化字符串。 + /// 查找类似 在建项目 的本地化字符串。 /// internal static string ProjectUnderConstruction { get { @@ -547,7 +547,7 @@ namespace Resources { } /// - /// 查找类似 质量管理 的本地化字符串。 + /// 查找类似 质量管理 的本地化字符串。 /// internal static string QualityManage { get { @@ -556,7 +556,7 @@ namespace Resources { } /// - /// 查找类似 质量统计 的本地化字符串。 + /// 查找类似 质量统计 的本地化字符串。 /// internal static string QualityStatistics { get { @@ -565,7 +565,7 @@ namespace Resources { } /// - /// 查找类似 质量预警 的本地化字符串。 + /// 查找类似 质量预警 的本地化字符串。 /// internal static string QualityWarning { get { @@ -574,7 +574,7 @@ namespace Resources { } /// - /// 查找类似 质量问题统计 的本地化字符串。 + /// 查找类似 质量问题统计 的本地化字符串。 /// internal static string Quality_problem_statistics { get { @@ -583,7 +583,7 @@ namespace Resources { } /// - /// 查找类似 资质预警 的本地化字符串。 + /// 查找类似 资质预警 的本地化字符串。 /// internal static string Quawarning { get { @@ -592,7 +592,7 @@ namespace Resources { } /// - /// 查找类似 退出 的本地化字符串。 + /// 查找类似 退出 的本地化字符串。 /// internal static string quit { get { @@ -601,7 +601,7 @@ namespace Resources { } /// - /// 查找类似 实时视频 的本地化字符串。 + /// 查找类似 实时视频 的本地化字符串。 /// internal static string RealTimeVideo { get { @@ -610,7 +610,7 @@ namespace Resources { } /// - /// 查找类似 整改率 的本地化字符串。 + /// 查找类似 整改率 的本地化字符串。 /// internal static string RectificationRate { get { @@ -619,7 +619,7 @@ namespace Resources { } /// - /// 查找类似 刷新 的本地化字符串。 + /// 查找类似 刷新 的本地化字符串。 /// internal static string Refresh { get { @@ -628,7 +628,7 @@ namespace Resources { } /// - /// 查找类似 刷新本页 的本地化字符串。 + /// 查找类似 刷新本页 的本地化字符串。 /// internal static string RefreshPage { get { @@ -637,7 +637,7 @@ namespace Resources { } /// - /// 查找类似 距竣工剩余 的本地化字符串。 + /// 查找类似 距竣工剩余 的本地化字符串。 /// internal static string RemainingTimeCompletion { get { @@ -646,7 +646,7 @@ namespace Resources { } /// - /// 查找类似 风险管控 的本地化字符串。 + /// 查找类似 风险管控 的本地化字符串。 /// internal static string RiskControl { get { @@ -655,7 +655,7 @@ namespace Resources { } /// - /// 查找类似 安全人工时 的本地化字符串。 + /// 查找类似 安全人工时 的本地化字符串。 /// internal static string SafeLaborHours { get { @@ -664,7 +664,7 @@ namespace Resources { } /// - /// 查找类似 安全问题统计 的本地化字符串。 + /// 查找类似 安全问题统计 的本地化字符串。 /// internal static string SafeProStat { get { @@ -673,7 +673,7 @@ namespace Resources { } /// - /// 查找类似 累计安全人工时 的本地化字符串。 + /// 查找类似 累计安全人工时 的本地化字符串。 /// internal static string SafetyLaborHours { get { @@ -682,7 +682,7 @@ namespace Resources { } /// - /// 查找类似 安全统计 的本地化字符串。 + /// 查找类似 安全统计 的本地化字符串。 /// internal static string SafetyStatistics { get { @@ -691,7 +691,7 @@ namespace Resources { } /// - /// 查找类似 工程管理 的本地化字符串。 + /// 查找类似 工程管理 的本地化字符串。 /// internal static string ScheduleManage { get { @@ -700,7 +700,7 @@ namespace Resources { } /// - /// 查找类似 选择语言 的本地化字符串。 + /// 查找类似 选择语言 的本地化字符串。 /// internal static string SelectLanguage { get { @@ -709,7 +709,7 @@ namespace Resources { } /// - /// 查找类似 劳务数据 的本地化字符串。 + /// 查找类似 劳务数据 的本地化字符串。 /// internal static string ServiceData { get { @@ -718,7 +718,7 @@ namespace Resources { } /// - /// 查找类似 设置 的本地化字符串。 + /// 查找类似 设置 的本地化字符串。 /// internal static string Settings { get { @@ -727,7 +727,7 @@ namespace Resources { } /// - /// 查找类似 注销 的本地化字符串。 + /// 查找类似 注销 的本地化字符串。 /// internal static string SignOUT { get { @@ -736,7 +736,7 @@ namespace Resources { } /// - /// 查找类似 开工时间 的本地化字符串。 + /// 查找类似 开工时间 的本地化字符串。 /// internal static string Start_time { get { @@ -745,7 +745,7 @@ namespace Resources { } /// - /// 查找类似 分包管理 的本地化字符串。 + /// 查找类似 分包管理 的本地化字符串。 /// internal static string SubManagement { get { @@ -754,7 +754,7 @@ namespace Resources { } /// - /// 查找类似 监理单位 的本地化字符串。 + /// 查找类似 监理单位 的本地化字符串。 /// internal static string SupervisionUnit { get { @@ -763,7 +763,7 @@ namespace Resources { } /// - /// 查找类似 切换首页 的本地化字符串。 + /// 查找类似 切换首页 的本地化字符串。 /// internal static string SwitchHomePage { get { @@ -772,7 +772,7 @@ namespace Resources { } /// - /// 查找类似 系统菜单 的本地化字符串。 + /// 查找类似 系统菜单 的本地化字符串。 /// internal static string SystemMenu { get { @@ -781,7 +781,7 @@ namespace Resources { } /// - /// 查找类似 智慧施工管理信息系统 的本地化字符串。 + /// 查找类似 智慧施工管理信息系统 的本地化字符串。 /// internal static string SystemName { get { @@ -790,7 +790,7 @@ namespace Resources { } /// - /// 查找类似 温度 的本地化字符串。 + /// 查找类似 温度 的本地化字符串。 /// internal static string temperature { get { @@ -799,7 +799,7 @@ namespace Resources { } /// - /// 查找类似 竣工时间 的本地化字符串。 + /// 查找类似 竣工时间 的本地化字符串。 /// internal static string TimeCompletion { get { @@ -808,7 +808,7 @@ namespace Resources { } /// - /// 查找类似 待办事项 的本地化字符串。 + /// 查找类似 待办事项 的本地化字符串。 /// internal static string TodoList { get { @@ -817,7 +817,7 @@ namespace Resources { } /// - /// 查找类似 合同总工期 的本地化字符串。 + /// 查找类似 合同总工期 的本地化字符串。 /// internal static string TotalContractDuration { get { @@ -826,7 +826,7 @@ namespace Resources { } /// - /// 查找类似 未完成 的本地化字符串。 + /// 查找类似 未完成 的本地化字符串。 /// internal static string uncompleted { get { @@ -835,7 +835,7 @@ namespace Resources { } /// - /// 查找类似 用户 的本地化字符串。 + /// 查找类似 用户 的本地化字符串。 /// internal static string user { get { @@ -844,7 +844,7 @@ namespace Resources { } /// - /// 查找类似 视频监控 的本地化字符串。 + /// 查找类似 视频监控 的本地化字符串。 /// internal static string VideoSurveillance { get { @@ -853,7 +853,7 @@ namespace Resources { } /// - /// 查找类似 焊接管理 的本地化字符串。 + /// 查找类似 焊接管理 的本地化字符串。 /// internal static string WeldingManage { get { @@ -862,7 +862,7 @@ namespace Resources { } /// - /// 查找类似 风速 的本地化字符串。 + /// 查找类似 风速 的本地化字符串。 /// internal static string WindSpeed { get { @@ -871,7 +871,7 @@ namespace Resources { } /// - /// 查找类似 作业人员总数 的本地化字符串。 + /// 查找类似 作业人员总数 的本地化字符串。 /// internal static string WorkPersonnel { get { diff --git a/SGGL/FineUIPro.Web/CQMS/QuantityManagement/DayInputStatistics.aspx b/SGGL/FineUIPro.Web/CQMS/QuantityManagement/DayInputStatistics.aspx index 9518b16..a681e4a 100644 --- a/SGGL/FineUIPro.Web/CQMS/QuantityManagement/DayInputStatistics.aspx +++ b/SGGL/FineUIPro.Web/CQMS/QuantityManagement/DayInputStatistics.aspx @@ -22,7 +22,7 @@ - diff --git a/SGGL/FineUIPro.Web/CQMS/QuantityManagement/DayInputStatistics.aspx.cs b/SGGL/FineUIPro.Web/CQMS/QuantityManagement/DayInputStatistics.aspx.cs index cbe4dbe..f223ebb 100644 --- a/SGGL/FineUIPro.Web/CQMS/QuantityManagement/DayInputStatistics.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/QuantityManagement/DayInputStatistics.aspx.cs @@ -110,6 +110,7 @@ namespace FineUIPro.Web.CQMS.QuantityManagement { if (!IsPostBack) { + ProjectService.InitAllProjectDropDownList(this.drpProject, false); string projectId = this.CurrUser.LoginProjectId; if (!string.IsNullOrEmpty(Request.Params["ProjectId"])) { @@ -146,7 +147,6 @@ namespace FineUIPro.Web.CQMS.QuantityManagement { this.drpWorkTeam.SelectedValue = Request.Params["WorkTeam"]; } - ProjectService.InitAllProjectDropDownList(this.drpProject, false); if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId)) { this.drpProject.SelectedValue = this.CurrUser.LoginProjectId; @@ -372,9 +372,9 @@ namespace FineUIPro.Web.CQMS.QuantityManagement /// protected void btnSearch_Click(object sender, EventArgs e) { - string url = "~/CQMS/QuantityManagement/DayInputStatistics.aspx?Date=" + this.txtMonths.Text.Trim() + "&WorkSection=" + this.drpWorkSection.SelectedValue + string url = "~/CQMS/QuantityManagement/DayInputStatistics.aspx?Date=" + this.txtMonths.Text.Trim() + "&WorkSection=" + this.drpWorkSection.SelectedValue + "&DrawingId=" + this.drpDrawingNo.SelectedValue + "&Major=" + this.drpMajor.SelectedValue + "&Part=" + this.drpPart.SelectedValue - + "&ProjectContent=" + this.drpProjectContent.SelectedValue+ "&WorkTeam=" + this.drpWorkTeam.SelectedValue + "&ProjectId=" + this.drpProject.SelectedValue; + + "&ProjectContent=" + this.drpProjectContent.SelectedValue + "&WorkTeam=" + this.drpWorkTeam.SelectedValue + "&ProjectId=" + this.drpProject.SelectedValue; PageContext.Redirect(url, "_self"); } #endregion @@ -703,5 +703,27 @@ namespace FineUIPro.Web.CQMS.QuantityManagement this.drpProjectContent.SelectedValue = BLL.Const._Null; } } + + protected void drpProject_SelectedIndexChanged(object sender, EventArgs e) + { + string projectId = this.drpProject.SelectedValue; + if (!string.IsNullOrEmpty(Request.Params["ProjectId"])) + { + this.drpProject.SelectedValue = Request.Params["ProjectId"]; + projectId = Request.Params["ProjectId"]; + } + BLL.DrawingService.InitWorkSectionDropDownList(drpWorkSection, projectId, true); + BLL.DrawingService.InitDrawingChangeDropDownList(drpDrawingNo, projectId, true); + BLL.CNProfessionalService.InitCNProfessionalDownList(drpMajor, true); + BLL.BaseService.InitAllPartDropDownList(this.drpPart, projectId, true); + BLL.BaseService.InitAllProjectContentDropDownList(this.drpProjectContent, projectId, true); + BLL.TeamGroupService.InitTeamGroupProjectDropDownList(drpWorkTeam, projectId, true); + drpWorkSection.SelectedValue = BLL.Const._Null; + drpDrawingNo.SelectedValue = BLL.Const._Null; + drpMajor.SelectedValue = BLL.Const._Null; + drpPart.SelectedValue = BLL.Const._Null; + drpProjectContent.SelectedValue = BLL.Const._Null; + drpWorkTeam.SelectedValue = BLL.Const._Null; + } } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CQMS/QuantityManagement/ProjectContentStatistics.aspx b/SGGL/FineUIPro.Web/CQMS/QuantityManagement/ProjectContentStatistics.aspx index 27127bd..76231d1 100644 --- a/SGGL/FineUIPro.Web/CQMS/QuantityManagement/ProjectContentStatistics.aspx +++ b/SGGL/FineUIPro.Web/CQMS/QuantityManagement/ProjectContentStatistics.aspx @@ -15,17 +15,20 @@ - - + + + + @@ -44,6 +47,9 @@ + + @@ -53,9 +59,6 @@ - - @@ -65,6 +68,9 @@ + + @@ -75,7 +81,7 @@