diff --git a/DataBase/版本日志/SGGLDB_CD_V2024-01-26-001.sql b/DataBase/版本日志/SGGLDB_CD_V2024-01-26-001.sql new file mode 100644 index 00000000..dec53ce0 Binary files /dev/null and b/DataBase/版本日志/SGGLDB_CD_V2024-01-26-001.sql differ diff --git a/DataBase/版本日志/SGGLDB_CD_V2024-01-29-001.sql b/DataBase/版本日志/SGGLDB_CD_V2024-01-29-001.sql new file mode 100644 index 00000000..9198cfac --- /dev/null +++ b/DataBase/版本日志/SGGLDB_CD_V2024-01-29-001.sql @@ -0,0 +1,2 @@ +Alter TABLE [dbo].[InApproveManager_EquipmentInItem]add + [IsIn] [bit] NULL \ No newline at end of file diff --git a/SGGL/BLL/BaseInfo/RiskLevelService.cs b/SGGL/BLL/BaseInfo/RiskLevelService.cs index 3e92769e..8480c479 100644 --- a/SGGL/BLL/BaseInfo/RiskLevelService.cs +++ b/SGGL/BLL/BaseInfo/RiskLevelService.cs @@ -21,7 +21,10 @@ namespace BLL { return Funs.DB.Base_RiskLevel.FirstOrDefault(e => e.RiskLevelId == riskLevelId); } - + public static Model.Base_RiskLevel GetRiskLevelByHazardLevel(int HazardLevel) + { + return Funs.DB.Base_RiskLevel.FirstOrDefault(e => e.RiskLevel == HazardLevel); + } /// /// 添加许可证类型 /// diff --git a/SGGL/BLL/HSSE/InApproveManager/EquipmentInItemService.cs b/SGGL/BLL/HSSE/InApproveManager/EquipmentInItemService.cs index b1e164b9..cd70dc62 100644 --- a/SGGL/BLL/HSSE/InApproveManager/EquipmentInItemService.cs +++ b/SGGL/BLL/HSSE/InApproveManager/EquipmentInItemService.cs @@ -54,6 +54,7 @@ namespace BLL InsuranceNum = equipmentInItem.InsuranceNum, CommercialInsuranceNum = equipmentInItem.CommercialInsuranceNum, IsUsed = equipmentInItem.IsUsed, + IsIn = equipmentInItem.IsIn }; db.InApproveManager_EquipmentInItem.InsertOnSubmit(newEquipmentItem); db.SubmitChanges(); @@ -81,6 +82,7 @@ namespace BLL newEquipmentItem.InsuranceNum = equipmentInItem.InsuranceNum; newEquipmentItem.CommercialInsuranceNum = equipmentInItem.CommercialInsuranceNum; newEquipmentItem.IsUsed = equipmentInItem.IsUsed; + newEquipmentItem.IsIn = equipmentInItem.IsIn; db.SubmitChanges(); } } diff --git a/SGGL/FineUIPro.Web/Controls/SeeQRImage.aspx.cs b/SGGL/FineUIPro.Web/Controls/SeeQRImage.aspx.cs index 296d6e9d..a5f2dd9a 100644 --- a/SGGL/FineUIPro.Web/Controls/SeeQRImage.aspx.cs +++ b/SGGL/FineUIPro.Web/Controls/SeeQRImage.aspx.cs @@ -184,6 +184,23 @@ namespace FineUIPro.Web.Controls } } } + else if (!string.IsNullOrEmpty(Request.Params["HazardSelectedItemId"])) + { + var hazardSelectedItem = Funs.DB.Hazard_HazardSelectedItem.FirstOrDefault(e => e.HazardSelectedItemId == Request.Params["HazardSelectedItemId"]); + if (hazardSelectedItem != null) + { + if (!string.IsNullOrEmpty(hazardSelectedItem.QRCodeAttachUrl) && CreateQRCodeService.isHaveImage(hazardSelectedItem.QRCodeAttachUrl)) + { + this.QRCodeAttachUrl = hazardSelectedItem.QRCodeAttachUrl; + } + else + { + this.QRCodeAttachUrl = CreateQRCodeService.CreateCode_Simple(Request.Params["strCode"]); + hazardSelectedItem.QRCodeAttachUrl = this.QRCodeAttachUrl; + Funs.DB.SubmitChanges(); + } + } + } this.Image1.ImageUrl = "~/" + this.QRCodeAttachUrl; } diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index eed414c7..c73dfe2f 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -843,3 +843,567 @@ IP地址:::1 出错时间:09/26/2023 14:53:21 + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.InitTreeMenu() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 146 + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.TextBox_TextChanged(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 535 + 在 FineUIPro.DropDownList.OnSelectedIndexChanged(EventArgs e) + 在 (DropDownList , EventArgs ) + 在 FineUIPro.DropDownList.RaisePostDataChangedEvent() + 在 System.Web.UI.Page.RaiseChangedEvents() + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/25/2024 17:56:29 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/25/2024 17:56:29 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.InitTreeMenu() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 146 + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.TextBox_TextChanged(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 535 + 在 FineUIPro.DropDownList.OnSelectedIndexChanged(EventArgs e) + 在 (DropDownList , EventArgs ) + 在 FineUIPro.DropDownList.RaisePostDataChangedEvent() + 在 System.Web.UI.Page.RaiseChangedEvents() + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/25/2024 18:54:50 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/25/2024 18:54:50 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.InitTreeMenu() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 146 + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.TextBox_TextChanged(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 535 + 在 FineUIPro.DropDownList.OnSelectedIndexChanged(EventArgs e) + 在 (DropDownList , EventArgs ) + 在 FineUIPro.DropDownList.RaisePostDataChangedEvent() + 在 System.Web.UI.Page.RaiseChangedEvents() + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/25/2024 19:02:49 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/25/2024 19:02:49 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.BindGrid() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 255 + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.trHazardListType_NodeCheck(Object sender, TreeCheckEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 583 + 在 FineUIPro.Tree.OnNodeCheck(TreeCheckEventArgs e) + 在 (Tree , TreeCheckEventArgs ) + 在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/25/2024 21:31:36 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/25/2024 21:31:36 + + +错误信息开始=====> +错误类型:JsonReaderException +错误信息:Unexpected character encountered while parsing value: 未. Path '', line 0, position 0. +错误堆栈: + 在 Newtonsoft.Json.JsonTextReader.ParseValue() + 在 Newtonsoft.Json.JsonTextReader.Read() + 在 Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) + 在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) + 在 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) + 在 Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) + 在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) + 在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) + 在 BLL.WeatherService.GetWeather(String projectId) 位置 D:\project\vs\sggl_cd\SGGL\BLL\Common\WeatherService.cs:行号 96 +出错时间:01/26/2024 08:29:10 +出错时间:01/26/2024 08:29:10 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 (Object ) + 在 FineUIPro.GridRow.kxpUEMXYxcbykrOznAFBzkoxlAnb() + 在 (GridRow ) + 在 FineUIPro.GridRow.InitTemplateContainers() + 在 (GridRow ) + 在 FineUIPro.Grid.BkpgFeAELTFlAvoTrOBrConfcLJbA(Int32 , Object ) + 在 (Grid , Int32 , Object ) + 在 FineUIPro.Grid.LDChsdiaqdhUTcxBcQPMKyQFfjEDB(DataTable , Boolean ) + 在 (Grid , DataTable , Boolean ) + 在 FineUIPro.Grid.DataBind(Boolean keepCurrentData) + 在 (Grid , Boolean ) + 在 FineUIPro.Grid.DataBind() + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.BindGrid() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 283 + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.trHazardListType_NodeCheck(Object sender, TreeCheckEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 592 + 在 FineUIPro.Tree.OnNodeCheck(TreeCheckEventArgs e) + 在 (Tree , TreeCheckEventArgs ) + 在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 08:44:49 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 08:44:49 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.Grid1_RowCommand(Object sender, GridCommandEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 391 + 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) + 在 (Grid , GridCommandEventArgs ) + 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 09:01:58 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 09:01:58 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.Grid1_RowCommand(Object sender, GridCommandEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 391 + 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) + 在 (Grid , GridCommandEventArgs ) + 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 09:02:00 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 09:02:00 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.Grid1_RowCommand(Object sender, GridCommandEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 391 + 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) + 在 (Grid , GridCommandEventArgs ) + 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 09:02:08 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 09:02:08 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.Grid1_RowCommand(Object sender, GridCommandEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 391 + 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) + 在 (Grid , GridCommandEventArgs ) + 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 09:02:10 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 09:02:10 + + +错误信息开始=====> +错误类型:HttpCompileException +错误信息:d:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx(65): error CS0103: 当前上下文中不存在名称“Bind” +错误堆栈: + 在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) + 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) + 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) + 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) + 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:01/26/2024 10:02:17 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 + +出错时间:01/26/2024 10:02:19 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:04:38 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:04:38 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:04:57 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:04:58 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:05:19 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:05:19 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:05:32 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:05:34 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:05:38 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:05:38 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:05:39 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:05:39 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:05:54 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:05:54 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:06:00 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:06:00 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:06:10 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:06:11 + + +错误信息开始=====> +错误类型:HttpException +错误信息:找到多个具有相同 ID“ftpl_2ea16287-2621-4c55-9543-ad6e35846e8f_1”的控件。FindControl 要求控件具有唯一的 ID。 +错误堆栈: + 在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) + 在 System.Web.UI.Page.FindControl(String id) + 在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:06:20 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:06:20 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 (Object ) + 在 FineUIPro.GridRow.kxpUEMXYxcbykrOznAFBzkoxlAnb() + 在 (GridRow ) + 在 FineUIPro.GridRow.InitTemplateContainers() + 在 (GridRow ) + 在 FineUIPro.Grid.BkpgFeAELTFlAvoTrOBrConfcLJbA(Int32 , Object ) + 在 (Grid , Int32 , Object ) + 在 FineUIPro.Grid.LDChsdiaqdhUTcxBcQPMKyQFfjEDB(DataTable , Boolean ) + 在 (Grid , DataTable , Boolean ) + 在 FineUIPro.Grid.DataBind(Boolean keepCurrentData) + 在 (Grid , Boolean ) + 在 FineUIPro.Grid.DataBind() + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.BindGrid() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 303 + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.trHazardListType_NodeCheck(Object sender, TreeCheckEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 612 + 在 FineUIPro.Tree.OnNodeCheck(TreeCheckEventArgs e) + 在 (Tree , TreeCheckEventArgs ) + 在 FineUIPro.Tree.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:07:28 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:07:28 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.Grid1_RowCommand(Object sender, GridCommandEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 411 + 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) + 在 (Grid , GridCommandEventArgs ) + 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:25:05 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:25:05 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.Grid1_RowCommand(Object sender, GridCommandEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 411 + 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) + 在 (Grid , GridCommandEventArgs ) + 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:26:41 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:26:41 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.Grid1_RowCommand(Object sender, GridCommandEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 411 + 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) + 在 (Grid , GridCommandEventArgs ) + 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:26:42 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:26:42 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.HSSE.Hazard.HazardTemplate.Grid1_RowCommand(Object sender, GridCommandEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\Hazard\HazardTemplate.aspx.cs:行号 411 + 在 FineUIPro.Grid.OnRowCommand(GridCommandEventArgs e) + 在 (Grid , GridCommandEventArgs ) + 在 FineUIPro.Grid.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:01/26/2024 10:26:44 +出错文件:http://localhost:1295/HSSE/Hazard/HazardTemplate.aspx?HazardListId=&WorkStageIds= +IP地址:::1 +操作人员:JT + +出错时间:01/26/2024 10:26:44 + + +错误信息开始=====> +错误类型:SqlException +错误信息:执行超时已过期。完成操作之前已超时或服务器未响应。 +错误堆栈: + 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) + 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) + 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() + 在 System.Data.SqlClient.SqlDataReader.get_MetaData() + 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + 在 System.Data.Common.DbCommand.ExecuteReader() + 在 System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) + 在 System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) + 在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) + 在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression) + 在 System.Linq.Queryable.Count[TSource](IQueryable`1 source) + 在 BLL.GetDataService.CorrectingPersonInOutNumber(String projectId) 位置 D:\project\vs\sggl_cd\SGGL\BLL\OpenService\GetDataService.cs:行号 140 + 在 BLL.MonitorService.DoSynchData() 位置 D:\project\vs\sggl_cd\SGGL\BLL\OpenService\MonitorService.cs:行号 2180 + 在 BLL.MonitorService.ColligateFormConfirmProcessEve(Object sender, ElapsedEventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\BLL\OpenService\MonitorService.cs:行号 112 +----错误类型:Win32Exception +----错误信息: +----等待的操作过时。 +----错误堆栈: + 出错时间:01/26/2024 11:24:42 +出错时间:01/26/2024 11:24:42 + diff --git a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx index 88e682bc..5e3108d4 100644 --- a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx +++ b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx @@ -64,11 +64,13 @@ - - - + + + + + + diff --git a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx.cs index 8b094e9e..5ba4dd3f 100644 --- a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx.cs @@ -73,14 +73,13 @@ namespace FineUIPro.Web.HSSE.Hazard /// private void BindGrid() { - string strSql = "select HazardList.HazardListId,HazardList.VersionNo,HazardList.WorkStage,Users.UserName,HazardList.CompileDate,CodeRecords.Code AS HazardListCode,HazardList.WorkAreaName,HazardList.IdentificationDate,ControllingPersonUsers.UserName AS ControllingPersonName " + string strSql = "select HazardList.HazardListId,HazardList.VersionNo,HazardList.WorkStage,Users.UserName,HazardList.CompileDate,CodeRecords.Code AS HazardListCode,HazardList.WorkAreaName,HazardList.IdentificationDate,HazardList.ControllingPerson " + @" ,(CASE WHEN HazardList.States = " + BLL.Const.State_0 + " OR HazardList.States IS NULL THEN '待['+OperateUser.UserName+']提交' WHEN HazardList.States = " + BLL.Const.State_2 + " THEN '审核/审批完成' ELSE '待['+OperateUser.UserName+']办理' END) AS FlowOperateName" + @" from Hazard_HazardList AS HazardList " + @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON HazardList.HazardListId=FlowOperate.DataId AND FlowOperate.IsClosed <> 1" + @" LEFT JOIN Sys_User AS OperateUser ON FlowOperate.OperaterId=OperateUser.UserId " + @" LEFT JOIN Sys_User AS Users ON HazardList.CompileMan=Users.UserId " - + @" LEFT JOIN Sys_User AS ControllingPersonUsers ON HazardList.ControllingPerson=ControllingPersonUsers.UserId " - + @" LEFT JOIN Sys_CodeRecords AS CodeRecords ON HazardList.HazardListId=CodeRecords.DataId WHERE 1=1 "; + + @" LEFT JOIN Sys_CodeRecords AS CodeRecords ON HazardList.HazardListId=CodeRecords.DataId WHERE 1=1 "; List listStr = new List(); strSql += " AND HazardList.ProjectId = @ProjectId"; if (!string.IsNullOrEmpty(Request.Params["projectId"])) ///是否文件柜查看页面传项目值 @@ -508,6 +507,19 @@ namespace FineUIPro.Web.HSSE.Hazard PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/ReportPrint/ExReportPrint.aspx?reportId={0}&&replaceParameter={1}&&varValue={2}", Const.HazardListImportantReportId, Grid1.SelectedRowID, "", "打印 - "))); } } + + public string BindControllingPerson(object ids) + { + string res = ""; + + if (ids != null) + { + res = UserService.getUserNamesUserIds(ids); + + } + return res; + } + #endregion } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx.designer.cs index d47110c2..28e73a4b 100644 --- a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardList.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.HSSE.Hazard { - - - public partial class HazardList { - +namespace FineUIPro.Web.HSSE.Hazard +{ + + + public partial class HazardList + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// Panel1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel1; - + /// /// Grid1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// Toolbar2 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar2; - + /// /// txtHazardListCode 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtHazardListCode; - + /// /// ToolbarFill1 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnNew 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnNew; - + /// /// btnOut 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnOut; - + /// /// btnHelp 控件。 /// @@ -101,7 +103,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnHelp; - + /// /// lblVersionNo 控件。 /// @@ -110,7 +112,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblVersionNo; - + /// /// lblWorkStage 控件。 /// @@ -119,7 +121,16 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblWorkStage; - + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label1; + /// /// ToolbarSeparator1 控件。 /// @@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; - + /// /// ToolbarText1 控件。 /// @@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarText ToolbarText1; - + /// /// ddlPageSize 控件。 /// @@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList ddlPageSize; - + /// /// Window1 控件。 /// @@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window1; - + /// /// Menu1 控件。 /// @@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Menu Menu1; - + /// /// btnMenuAllOut 控件。 /// @@ -173,7 +184,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnMenuAllOut; - + /// /// btnMenuImportantOut 控件。 /// @@ -182,7 +193,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnMenuImportantOut; - + /// /// btnMenuModify 控件。 /// @@ -191,7 +202,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnMenuModify; - + /// /// btnMenuDel 控件。 /// @@ -200,7 +211,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnMenuDel; - + /// /// btnMenuAllPrint 控件。 /// @@ -209,7 +220,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnMenuAllPrint; - + /// /// btnMenuImportantPrint 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardListEdit.aspx b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardListEdit.aspx index 09631ca7..72181a06 100644 --- a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardListEdit.aspx +++ b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardListEdit.aspx @@ -39,7 +39,7 @@ - + HeaderText="C" HeaderTextAlign="Center" TextAlign="Left" EnableColumnEdit="true"> diff --git a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardListEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardListEdit.aspx.cs index 7ee0633c..7c109a34 100644 --- a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardListEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardListEdit.aspx.cs @@ -152,7 +152,7 @@ namespace FineUIPro.Web.HSSE.Hazard this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", hazardList.CompileDate); if (!string.IsNullOrEmpty(hazardList.ControllingPerson)) { - this.drpControllingPerson.SelectedValue = hazardList.ControllingPerson; + this.drpControllingPerson.SelectedValueArray = hazardList.ControllingPerson.Split(','); } this.txtIdentificationDate.Text = string.Format("{0:yyyy-MM-dd}", hazardList.IdentificationDate); this.txtWorkArea.Text = hazardList.WorkAreaName; @@ -187,7 +187,7 @@ namespace FineUIPro.Web.HSSE.Hazard ///编制人 BLL.UserService.InitUserDropDownList(this.drpCompileMan, this.ProjectId, false); ///控制责任人 - BLL.UserService.InitFlowOperateControlUserDropDownList(this.drpControllingPerson, this.ProjectId, string.Empty, true); + BLL.UserService.InitFlowOperateControlUserDropDownList(this.drpControllingPerson, this.ProjectId, string.Empty, false); BLL.RiskLevelService.InitRiskLevelDropDownList(this.drpHazardLevel, true); BLL.RiskLevelService.InitRiskLevelDropDownListByRiskLevelName(this.nbG, true); @@ -323,16 +323,20 @@ namespace FineUIPro.Web.HSSE.Hazard { string newWorkStages = string.Empty; string workStages = Session["workStages"].ToString(); - List templates = workStages.Split('|').ToList(); + List templates = workStages.Split(',').ToList(); foreach (var item in templates) { - Model.Technique_HazardList template = BLL.HazardListService.GetHazardListById(item.Split(',').ToList()[0]); - Model.Base_RiskLevel riskLevel = BLL.RiskLevelService.GetRiskLevel(template.HazardLevel); + Model.Technique_HazardList template = BLL.HazardListService.GetHazardListById(item.Split('|').ToList()[1]); + Model.Base_RiskLevel riskLevel = null; + if (!string.IsNullOrEmpty(template.HazardLevel)) + { + riskLevel = BLL.RiskLevelService.GetRiskLevelByHazardLevel(int.Parse(template.HazardLevel)); + } Model.HSSE_HazardTemplate hazardTemplate = new Model.HSSE_HazardTemplate { HazardId = template.HazardId, HazardListTypeId = template.HazardListTypeId, - WorkStage = item.Split(',').ToList()[1], + WorkStage = item.Split('|').ToList()[0], HazardItems = template.HazardItems, DefectsType = template.DefectsType, MayLeadAccidents = template.MayLeadAccidents, @@ -348,7 +352,7 @@ namespace FineUIPro.Web.HSSE.Hazard hazardTemplate.HazardLevel = riskLevel.RiskLevelName; } hazardTemplates.Add(hazardTemplate); - workStageIds.Add(item.Split(',').ToList()[1]);//把工作阶段放入集合里 + workStageIds.Add(item.Split('|').ToList()[0]);//把工作阶段放入集合里 } //获取工作阶段加载到文本中 @@ -615,9 +619,9 @@ namespace FineUIPro.Web.HSSE.Hazard hazardList.WorkAreaName = this.txtWorkArea.Text.Trim(); hazardList.IdentificationDate = Funs.GetNewDateTime(this.txtIdentificationDate.Text.Trim()); - if (this.drpControllingPerson.SelectedValue != BLL.Const._Null) + if (this.drpControllingPerson.SelectedValueArray !=null && this.drpControllingPerson.SelectedValueArray.Count()>0) { - hazardList.ControllingPerson = this.drpControllingPerson.SelectedValue; + hazardList.ControllingPerson = string.Join(",", this.drpControllingPerson.SelectedValue); } if (!string.IsNullOrEmpty(HazardListId)) { diff --git a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx index 53e2c8e4..a3430544 100644 --- a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx +++ b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx @@ -16,9 +16,11 @@ - - + + @@ -28,8 +30,8 @@ Layout="VBox"> @@ -57,6 +59,12 @@ + + + + + @@ -159,6 +167,16 @@ function reloadGrid() { __doPostBack(null, 'reloadGrid'); } + + + $(function () { + $('i').on('click', + function () { + debugger + __doPostBack(null, 'trHazardListType_NodeCheck'); + } + ) + }); diff --git a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx.cs index 9ca43716..f0e59c0f 100644 --- a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx.cs @@ -1,4 +1,5 @@ -using BLL; +using Aspose.Words.Lists; +using BLL; using System; using System.Collections.Generic; using System.Data; @@ -43,7 +44,8 @@ namespace FineUIPro.Web.HSSE.Hazard /// /// 定义集合 /// - private static List list = new List(); + private static HashSet list = new HashSet(); + private static HashSet listNoSelected = new HashSet(); #endregion @@ -58,13 +60,14 @@ namespace FineUIPro.Web.HSSE.Hazard if (!IsPostBack) { Funs.DropDownPageSize(this.ddlPageSize); - list = new List(); - WorkStageService.InitWorkPostDropDownList(this.drpWorkStages, true); + list = new HashSet(); + listNoSelected= new HashSet(); + WorkStageService.InitWorkPostDropDownList(this.drpWorkStages, false); this.HazardListId = Request.Params["HazardListId"]; this.WorkStageIds = Request.Params["WorkStageIds"]; if (!string.IsNullOrEmpty(this.WorkStageIds)) { - this.drpWorkStages.SelectedValueArray = this.WorkStageIds.Split(','); + this.drpWorkStages.SelectedValueArray = this.WorkStageIds.Split(','); } hazardSelectedItems = BLL.Hazard_HazardSelectedItemService.GetHazardSelectedItemsByHazardListId(this.HazardListId); foreach (var item in hazardSelectedItems) @@ -136,6 +139,7 @@ namespace FineUIPro.Web.HSSE.Hazard { Text = "危险源清单", NodeID = "0", + EnableCheckEvent = true, Expanded = true }; this.trHazardListType.Nodes.Add(rootNode); @@ -147,6 +151,7 @@ namespace FineUIPro.Web.HSSE.Hazard { Text = works.FirstOrDefault(x => x.WorkStageId == item).WorkStageName, NodeID = item, + EnableCheckEvent = true, CommandArgument = item }; rootNode.Nodes.Add(newNode); @@ -155,7 +160,7 @@ namespace FineUIPro.Web.HSSE.Hazard } private void BoundTree(TreeNode node, string supHazardListTypeId) - { + { var dt = GetNewHazardListType(node, supHazardListTypeId); if (dt.Count() > 0) { @@ -168,6 +173,7 @@ namespace FineUIPro.Web.HSSE.Hazard ToolTip = dr.HazardListTypeName, NodeID = node.NodeID + "#" + dr.HazardListTypeId, CommandArgument = node.CommandArgument, + EnableCheckEvent = true, EnableClickEvent = true }; node.Nodes.Add(tn); @@ -249,46 +255,84 @@ namespace FineUIPro.Web.HSSE.Hazard /// private void BindGrid() { - string nodeId = this.trHazardListType.SelectedNode.NodeID; - if (!string.IsNullOrEmpty(nodeId) && nodeId.Contains("#")) + string[] nodeIds = this.trHazardListType.GetCheckedNodeIDs(); + Dictionary> ids = new Dictionary>(); + foreach (var nodeId in nodeIds) { - nodeId = nodeId.Substring(nodeId.LastIndexOf('#') + 1); - } - string strSql = @"SELECT H.HazardId,T.HazardListTypeId,T.HazardListTypeCode,T.HazardListTypeName,H.HazardCode,H.HazardItems,H.DefectsType," - + @" H.MayLeadAccidents,H.HelperMethod,H.HazardJudge_L,H.HazardJudge_E,H.HazardJudge_C,H.HazardJudge_D,RiskLevel.RiskLevelName AS HazardLevel," - + @" H.ControlMeasures,H.CompileMan,H.CompileDate,H.AuditMan,H.AuditDate,H.IsPass,U.UserName AS CompileManName,UR.UserName AS AuditManName" - + @" FROM Technique_HazardList AS H" - + @" LEFT JOIN Technique_HazardListType AS T ON T.HazardListTypeId = H.HazardListTypeId" - + @" LEFT JOIN Sys_User AS U ON U.UserId = H.CompileMan" - + @" LEFT JOIN Sys_User AS UR ON UR.UserId = H.AuditMan" - + @" LEFT JOIN Base_RiskLevel AS RiskLevel ON RiskLevel.RiskLevelId = H.HazardLevel " - + @" WHERE T.HazardListTypeId = @HazardListTypeId "; - List listStr = new List - { - new SqlParameter("@HazardListTypeId", nodeId), - }; - - SqlParameter[] parameter = listStr.ToArray(); - DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); - - Grid1.RecordCount = tb.Rows.Count; - var table = this.GetPagedDataTable(Grid1, tb); - - Grid1.DataSource = table; - Grid1.DataBind(); - if (list.Count() > 0) - { - for (int i = 0; i < Grid1.Rows.Count; i++) + if (!string.IsNullOrEmpty(nodeId) && nodeId.Contains("#")) { - string id = Grid1.DataKeys[i][0].ToString(); - if (list.Contains(id)) + string wid = nodeId.Substring(0, nodeId.IndexOf('#')); + + string nid = nodeId.Substring(nodeId.LastIndexOf('#') + 1); + if (ids.ContainsKey(wid)) { - //CheckBoxField checkField = (CheckBoxField)Grid1.FindColumn("ckbIsSelected"); - //checkField.SetCheckedState(i, true); - Grid1.Rows[i].Values[0] = true; + ids[wid].Add(nid); + } + else + { + ids.Add(wid, new List()); + ids[wid].Add(nid); } } } + if (ids.Count > 0) + { + int ii = 0; + string strSql = ""; + + foreach (string key in ids.Keys) + { + var idStr = string.Join("','", ids[key].ToArray()); + strSql += @"SELECT '"+ key + "|'+ H.HazardId id, '" + key + @"' wid, H.HazardId,T.HazardListTypeId,T.HazardListTypeCode,T.HazardListTypeName,H.HazardCode,H.HazardItems,H.DefectsType," + + @" H.MayLeadAccidents,H.HelperMethod,H.HazardJudge_L,H.HazardJudge_E,H.HazardJudge_C,H.HazardJudge_D,RiskLevel.RiskLevelName AS HazardLevel," + + @" H.ControlMeasures,H.CompileMan,H.CompileDate,H.AuditMan,H.AuditDate,H.IsPass,U.UserName AS CompileManName,UR.UserName AS AuditManName" + + @" FROM Technique_HazardList AS H" + + @" LEFT JOIN Technique_HazardListType AS T ON T.HazardListTypeId = H.HazardListTypeId" + + @" LEFT JOIN Sys_User AS U ON U.UserId = H.CompileMan" + + @" LEFT JOIN Sys_User AS UR ON UR.UserId = H.AuditMan" + + @" LEFT JOIN Base_RiskLevel AS RiskLevel ON RiskLevel.RiskLevel= H.HazardLevel " + ; + strSql += @" WHERE T.HazardListTypeId in ('" + idStr + "') "; + if (ii != (ids.Count - 1)) + { + strSql += " union all "; + } + ii++; + } + DataTable tb = SQLHelper.GetDataTableRunText(strSql, null); + Grid1.RecordCount = tb.Rows.Count; + list.Clear(); + foreach (DataRow row in tb.Rows) + { + if (!listNoSelected.Contains(row["id"].ToString())) + { + list.Add(row["id"].ToString()); + } + + } + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + if (list.Count() > 0) + { + for (int i = 0; i < Grid1.Rows.Count; i++) + { + string id = Grid1.DataKeys[i][0].ToString(); + if (list.Contains(id)) + { + CheckBoxField checkField = (CheckBoxField)Grid1.FindColumn("ckbIsSelected"); + checkField.SetCheckedState(i, true); + ///Grid1.Rows[i].Values[0] = true; + } + } + } + } + else + { + Grid1.RecordCount = 0; + Grid1.DataSource = null; + Grid1.DataBind(); + } } #endregion @@ -376,7 +420,7 @@ namespace FineUIPro.Web.HSSE.Hazard protected void Grid1_RowCommand(object sender, GridCommandEventArgs e) { GetHazardSelectedItem(); - string rowID = Grid1.DataKeys[e.RowIndex][0].ToString() + "," + this.trHazardListType.SelectedNode.CommandArgument; + string rowID = Grid1.DataKeys[e.RowIndex][0].ToString(); if (e.CommandName == "IsSelected") { CheckBoxField checkField = (CheckBoxField)Grid1.FindColumn("ckbIsSelected"); @@ -386,6 +430,11 @@ namespace FineUIPro.Web.HSSE.Hazard { list.Add(rowID); } + if (listNoSelected.Contains(rowID)) + { + listNoSelected.Remove(rowID); + } + } else { @@ -393,6 +442,7 @@ namespace FineUIPro.Web.HSSE.Hazard { list.Remove(rowID); } + listNoSelected.Add(rowID); } } } @@ -465,7 +515,7 @@ namespace FineUIPro.Web.HSSE.Hazard foreach (int rowIndex in Grid1.SelectedRowIndexArray) { string rowID = Grid1.DataKeys[rowIndex][0].ToString(); - var getD= BLL.HazardListService.GetHazardListById(rowID); + var getD = BLL.HazardListService.GetHazardListById(rowID); if (getD != null) { if (BLL.Hazard_HazardSelectedItemService.GetHazardSelectedItemByHazardId(rowID) != null) @@ -475,7 +525,7 @@ namespace FineUIPro.Web.HSSE.Hazard } BLL.LogService.AddSys_Log(this.CurrUser, getD.HazardCode, getD.HazardId, BLL.Const.HazardListMenuId, BLL.Const.BtnDelete); BLL.HazardListService.DeleteHazardListById(rowID); - + } } BindGrid(); @@ -510,14 +560,14 @@ namespace FineUIPro.Web.HSSE.Hazard return; } string ids = string.Empty; - + foreach (var item in list) { - ids += item + "|"; + ids += item + ","; } if (!string.IsNullOrEmpty(ids)) { - ids = ids.Substring(0, ids.LastIndexOf("|")); + ids = ids.Substring(0, ids.LastIndexOf(",")); Session["workStages"] = ids; } PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); @@ -574,5 +624,27 @@ namespace FineUIPro.Web.HSSE.Hazard InitTreeMenu(); } #endregion + + protected void trHazardListType_NodeCheck(object sender, TreeCheckEventArgs e) + { + BindGrid(); + } + + + + public string BindWorkStages(object wid) + { + string res = ""; + + if (wid != null) + { + var w = Funs.DB.Base_WorkStage.FirstOrDefault(x => x.WorkStageId == wid.ToString()); + if (w != null) + { + res = w.WorkStageName; + } + } + return res; + } } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx.designer.cs b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx.designer.cs index 459bae43..53715543 100644 --- a/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HSSE/Hazard/HazardTemplate.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.HSSE.Hazard { - - - public partial class HazardTemplate { - +namespace FineUIPro.Web.HSSE.Hazard +{ + + + public partial class HazardTemplate + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// Panel1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel1; - + /// /// panelLeftRegion 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel panelLeftRegion; - + /// /// trHazardListType 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Tree trHazardListType; - + /// /// panelCenterRegion 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel panelCenterRegion; - + /// /// Grid1 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// Toolbar3 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar3; - + /// /// drpWorkStages 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpWorkStages; - + /// /// rblIsCompany 控件。 /// @@ -101,7 +103,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.RadioButtonList rblIsCompany; - + /// /// ToolbarFill1 控件。 /// @@ -110,7 +112,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnNewDetail 控件。 /// @@ -119,7 +121,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnNewDetail; - + /// /// btnSave 控件。 /// @@ -128,7 +130,16 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSave; - + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label1; + /// /// lblHazardCode 控件。 /// @@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblHazardCode; - + /// /// lblHazardListTypeCode 控件。 /// @@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblHazardListTypeCode; - + /// /// lblHazardItems 控件。 /// @@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblHazardItems; - + /// /// lblDefectsType 控件。 /// @@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblDefectsType; - + /// /// lblMayLeadAccidents 控件。 /// @@ -173,7 +184,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblMayLeadAccidents; - + /// /// lblHelperMethod 控件。 /// @@ -182,7 +193,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblHelperMethod; - + /// /// lblControlMeasures 控件。 /// @@ -191,7 +202,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblControlMeasures; - + /// /// ToolbarSeparator1 控件。 /// @@ -200,7 +211,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; - + /// /// ToolbarText1 控件。 /// @@ -209,7 +220,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarText ToolbarText1; - + /// /// ddlPageSize 控件。 /// @@ -218,7 +229,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList ddlPageSize; - + /// /// Window2 控件。 /// @@ -227,7 +238,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window2; - + /// /// Menu1 控件。 /// @@ -236,7 +247,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Menu Menu1; - + /// /// btnMenuEdit 控件。 /// @@ -245,7 +256,7 @@ namespace FineUIPro.Web.HSSE.Hazard { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnMenuEdit; - + /// /// btnMenuDelete 控件。 /// diff --git a/SGGL/FineUIPro.Web/HSSE/HiddenInspection/RiskAnalysisChart.aspx b/SGGL/FineUIPro.Web/HSSE/HiddenInspection/RiskAnalysisChart.aspx index f3c7660a..2e1e7c98 100644 --- a/SGGL/FineUIPro.Web/HSSE/HiddenInspection/RiskAnalysisChart.aspx +++ b/SGGL/FineUIPro.Web/HSSE/HiddenInspection/RiskAnalysisChart.aspx @@ -51,7 +51,7 @@ - - + + + + + + + + + + + + + -
+
@@ -76,6 +90,7 @@ + @@ -84,7 +99,7 @@