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/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index 7c6a246..e134970 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -10,7 +10,7 @@ Properties BLL BLL - v4.6.2 + v4.8 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/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 { } /// - /// 鏌ユ壘绫讳技 鏈烘绔e伐 鐨勬湰鍦板寲瀛楃涓层 + /// 鏌ユ壘绫讳技 鏈烘绔e伐 鐨勬湰鍦板寲瀛楃涓层 /// 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 { } /// - /// 鏌ユ壘绫讳技 绔e伐鏃堕棿 鐨勬湰鍦板寲瀛楃涓层 + /// 鏌ユ壘绫讳技 绔e伐鏃堕棿 鐨勬湰鍦板寲瀛楃涓层 /// 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 @@