20240507
This commit is contained in:
		
							parent
							
								
									0ede39d15e
								
							
						
					
					
						commit
						a041fdd85d
					
				|  | @ -27,7 +27,7 @@ REM -------------- | ||||||
| @echo. | @echo. | ||||||
| @call "%VS150%" | @call "%VS150%" | ||||||
| 
 | 
 | ||||||
| SqlMetal /views  /server:DESKTOP-1QITK9E\MSSQLSERVER2 /database:SGGLDB_CD /code:%Model_ROOT%\Model.cs /namespace:Model | SqlMetal /views  /server:. /database:SGGLDB_CD /code:%Model_ROOT%\Model.cs /namespace:Model | ||||||
| 
 | 
 | ||||||
| @ECHO 完成 | @ECHO 完成 | ||||||
| pause | pause | ||||||
|  |  | ||||||
|  | @ -233,7 +233,7 @@ namespace BLL | ||||||
|                 var res = getDataLists.ToList(); |                 var res = getDataLists.ToList(); | ||||||
|                 foreach (var x in res) |                 foreach (var x in res) | ||||||
|                 { |                 { | ||||||
|                     x.child = getAllDataLists.Where(xx => xx.SupResourcesId == x.ResourcesId).ToList(); |                     x.child = getTestTrainingListBySupTrainingId(x.ResourcesId); | ||||||
|                 }  |                 }  | ||||||
|                 return res; |                 return res; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -252,6 +252,7 @@ namespace BLL | ||||||
|                 ViceCNProfessionalId = user.ViceCNProfessionalId, |                 ViceCNProfessionalId = user.ViceCNProfessionalId, | ||||||
|                 WorkNo = user.WorkNo, |                 WorkNo = user.WorkNo, | ||||||
|                 HomePageType = user.HomePageType, |                 HomePageType = user.HomePageType, | ||||||
|  |                 IsExpertArgumentationIsAuditor=user.IsExpertArgumentationIsAuditor | ||||||
|             }; |             }; | ||||||
|             db.Sys_User.InsertOnSubmit(newUser); |             db.Sys_User.InsertOnSubmit(newUser); | ||||||
|             db.SubmitChanges(); |             db.SubmitChanges(); | ||||||
|  | @ -335,6 +336,7 @@ namespace BLL | ||||||
|                     newUser.ViceCNProfessionalId = user.ViceCNProfessionalId; |                     newUser.ViceCNProfessionalId = user.ViceCNProfessionalId; | ||||||
|                     newUser.WorkNo = user.WorkNo; |                     newUser.WorkNo = user.WorkNo; | ||||||
|                     newUser.HomePageType = user.HomePageType; |                     newUser.HomePageType = user.HomePageType; | ||||||
|  |                     newUser.IsExpertArgumentationIsAuditor = user.IsExpertArgumentationIsAuditor; | ||||||
|                     db.SubmitChanges(); |                     db.SubmitChanges(); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  |  | ||||||
|  | @ -1799,3 +1799,212 @@ IP地址:::1 | ||||||
|     出错时间:04/07/2024 11:20:26 |     出错时间:04/07/2024 11:20:26 | ||||||
| 出错时间:04/07/2024 11:20:26 | 出错时间:04/07/2024 11:20:26 | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 错误信息开始=====> | ||||||
|  | 错误类型:SqlException | ||||||
|  | 错误信息:列名 'InDate' 无效。 | ||||||
|  | 列名 'EququalityExpireDate' 无效。 | ||||||
|  | 列名 'InsuredAmount' 无效。 | ||||||
|  | 列名 'OperatorName' 无效。 | ||||||
|  | 列名 'OperatorIdentityCard' 无效。 | ||||||
|  | 列名 'OperatorQualityExpireDate' 无效。 | ||||||
|  | 列名 'CertificationDepartment' 无效。 | ||||||
|  | 错误堆栈: | ||||||
|  |    在 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.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) | ||||||
|  |    在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) | ||||||
|  |    在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) | ||||||
|  |    在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) | ||||||
|  |    在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 D:\project\vs\sggl_cd\SGGL\BLL\SQLHelper.cs:行号 311 | ||||||
|  |    在 FineUIPro.Web.HSSE.InApproveManager.EquipmentIn.BindGrid() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\InApproveManager\EquipmentIn.aspx.cs:行号 98 | ||||||
|  |    在 FineUIPro.Web.HSSE.InApproveManager.EquipmentIn.Page_Load(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\HSSE\InApproveManager\EquipmentIn.aspx.cs:行号 56 | ||||||
|  |    在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) | ||||||
|  |    在 System.EventHandler.Invoke(Object sender, EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.OnLoad(EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.LoadRecursive() | ||||||
|  |    在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) | ||||||
|  | 出错时间:05/06/2024 19:28:03 | ||||||
|  | 出错文件:http://localhost:1295/HSSE/InApproveManager/EquipmentIn.aspx | ||||||
|  | IP地址:::1 | ||||||
|  | 操作人员:JT | ||||||
|  | 
 | ||||||
|  | 出错时间:05/06/2024 19:28:03 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 错误信息开始=====> | ||||||
|  | 错误类型:HttpParseException | ||||||
|  | 错误信息:类型“FineUIPro.Panel”不具有名为“Grid”的公共属性。 | ||||||
|  | 错误堆栈: | ||||||
|  |    在 System.Web.UI.TemplateParser.ProcessException(Exception ex) | ||||||
|  |    在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) | ||||||
|  |    在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) | ||||||
|  | ----错误类型:HttpException | ||||||
|  | ----错误信息: | ||||||
|  | ----类型“FineUIPro.Panel”不具有名为“Grid”的公共属性。 | ||||||
|  | ----错误堆栈: | ||||||
|  |        在 System.Web.UI.ControlBuilder.GetChildPropertyBuilder(String tagName, IDictionary attribs, Type& childType, TemplateParser templateParser, Boolean defaultProperty) | ||||||
|  |        在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) | ||||||
|  |        在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) | ||||||
|  |        在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) | ||||||
|  | 出错时间:05/07/2024 12:20:26 | ||||||
|  | 出错文件:http://localhost:1295/ZHGL/Supervise/SuperviseCheckReport.aspx | ||||||
|  | IP地址:::1 | ||||||
|  | 
 | ||||||
|  | 出错时间:05/07/2024 12:20:26 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 错误信息开始=====> | ||||||
|  | 错误类型:InvalidOperationException | ||||||
|  | 错误信息:无法按类型“<>f__AnonymousType66`1[System.Nullable`1[System.DateTime]]”排序。 | ||||||
|  | 错误堆栈: | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitOrderBy(Expression sequence, LambdaExpression expression, SqlOrderType orderType) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) | ||||||
|  |    在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() | ||||||
|  |    在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) | ||||||
|  |    在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.InitTreeMenu() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 46 | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.Page_Load(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 33 | ||||||
|  |    在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) | ||||||
|  |    在 System.EventHandler.Invoke(Object sender, EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.OnLoad(EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.LoadRecursive() | ||||||
|  |    在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) | ||||||
|  | 出错时间:05/07/2024 14:22:14 | ||||||
|  | 出错文件:http://localhost:1295/ZHGL/Supervise/SuperviseCheckReport.aspx | ||||||
|  | IP地址:::1 | ||||||
|  | 操作人员:JT | ||||||
|  | 
 | ||||||
|  | 出错时间:05/07/2024 14:22:14 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 错误信息开始=====> | ||||||
|  | 错误类型:InvalidOperationException | ||||||
|  | 错误信息:无法按类型“<>f__AnonymousType66`1[System.Nullable`1[System.DateTime]]”排序。 | ||||||
|  | 错误堆栈: | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitOrderBy(Expression sequence, LambdaExpression expression, SqlOrderType orderType) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) | ||||||
|  |    在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() | ||||||
|  |    在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) | ||||||
|  |    在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.InitTreeMenu() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 46 | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.Page_Load(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 33 | ||||||
|  |    在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) | ||||||
|  |    在 System.EventHandler.Invoke(Object sender, EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.OnLoad(EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.LoadRecursive() | ||||||
|  |    在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) | ||||||
|  | 出错时间:05/07/2024 14:22:48 | ||||||
|  | 出错文件:http://localhost:1295/ZHGL/Supervise/SuperviseCheckReport.aspx | ||||||
|  | IP地址:::1 | ||||||
|  | 操作人员:JT | ||||||
|  | 
 | ||||||
|  | 出错时间:05/07/2024 14:22:48 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 错误信息开始=====> | ||||||
|  | 错误类型:InvalidOperationException | ||||||
|  | 错误信息:无法按类型“<>f__AnonymousType66`1[System.Nullable`1[System.DateTime]]”排序。 | ||||||
|  | 错误堆栈: | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitOrderBy(Expression sequence, LambdaExpression expression, SqlOrderType orderType) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) | ||||||
|  |    在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() | ||||||
|  |    在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) | ||||||
|  |    在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.InitTreeMenu() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 46 | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.Page_Load(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 33 | ||||||
|  |    在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) | ||||||
|  |    在 System.EventHandler.Invoke(Object sender, EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.OnLoad(EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.LoadRecursive() | ||||||
|  |    在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) | ||||||
|  | 出错时间:05/07/2024 14:23:53 | ||||||
|  | 出错文件:http://localhost:1295/ZHGL/Supervise/SuperviseCheckReport.aspx | ||||||
|  | IP地址:::1 | ||||||
|  | 操作人员:JT | ||||||
|  | 
 | ||||||
|  | 出错时间:05/07/2024 14:23:53 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 错误信息开始=====> | ||||||
|  | 错误类型:InvalidOperationException | ||||||
|  | 错误信息:无法按类型“<>f__AnonymousType66`1[System.Nullable`1[System.DateTime]]”排序。 | ||||||
|  | 错误堆栈: | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitOrderBy(Expression sequence, LambdaExpression expression, SqlOrderType orderType) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) | ||||||
|  |    在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() | ||||||
|  |    在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) | ||||||
|  |    在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.InitTreeMenu() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 46 | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.Page_Load(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 33 | ||||||
|  |    在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) | ||||||
|  |    在 System.EventHandler.Invoke(Object sender, EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.OnLoad(EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.LoadRecursive() | ||||||
|  |    在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) | ||||||
|  | 出错时间:05/07/2024 14:24:26 | ||||||
|  | 出错文件:http://localhost:1295/ZHGL/Supervise/SuperviseCheckReport.aspx | ||||||
|  | IP地址:::1 | ||||||
|  | 操作人员:JT | ||||||
|  | 
 | ||||||
|  | 出错时间:05/07/2024 14:24:26 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 错误信息开始=====> | ||||||
|  | 错误类型:InvalidOperationException | ||||||
|  | 错误信息:无法按类型“<>f__AnonymousType66`1[System.Nullable`1[System.DateTime]]”排序。 | ||||||
|  | 错误堆栈: | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitOrderBy(Expression sequence, LambdaExpression expression, SqlOrderType orderType) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations) | ||||||
|  |    在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) | ||||||
|  |    在 System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() | ||||||
|  |    在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) | ||||||
|  |    在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.InitTreeMenu() 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 46 | ||||||
|  |    在 FineUIPro.Web.ZHGL.Supervise.SuperviseCheckReport.Page_Load(Object sender, EventArgs e) 位置 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ZHGL\Supervise\SuperviseCheckReport.aspx.cs:行号 33 | ||||||
|  |    在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) | ||||||
|  |    在 System.EventHandler.Invoke(Object sender, EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.OnLoad(EventArgs e) | ||||||
|  |    在 System.Web.UI.Control.LoadRecursive() | ||||||
|  |    在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) | ||||||
|  | 出错时间:05/07/2024 14:24:40 | ||||||
|  | 出错文件:http://localhost:1295/ZHGL/Supervise/SuperviseCheckReport.aspx | ||||||
|  | IP地址:::1 | ||||||
|  | 操作人员:JT | ||||||
|  | 
 | ||||||
|  | 出错时间:05/07/2024 14:24:40 | ||||||
|  | 
 | ||||||
|  |  | ||||||
|  | @ -39,10 +39,10 @@ | ||||||
|                     </f:RadioButtonList> |                     </f:RadioButtonList> | ||||||
|                     <f:NumberBox runat="server" ID="txtTrainPersonNum" NoDecimal="true" NoNegative="true" Label="培训人次" LabelWidth="100px"></f:NumberBox> |                     <f:NumberBox runat="server" ID="txtTrainPersonNum" NoDecimal="true" NoNegative="true" Label="培训人次" LabelWidth="100px"></f:NumberBox> | ||||||
|                     <f:DropDownList ID="drpStates" runat="server" Label="状态" LabelAlign="Right" > |                     <f:DropDownList ID="drpStates" runat="server" Label="状态" LabelAlign="Right" > | ||||||
|                               <f:ListItem Text="审批完成"  Value="1"/> |                              <%-- <f:ListItem Text="审批完成"  Value="1"/>--%> | ||||||
|                               <f:ListItem Text="作业中" Value="2"/> |                               <f:ListItem Text="作业中" Value="2"/> | ||||||
|                                <f:ListItem Text="已关闭" Value="3"/> |                                <f:ListItem Text="已关闭" Value="3"/> | ||||||
|                               <f:ListItem Text="已取消" Value="0"/> |                              <%-- <f:ListItem Text="已取消" Value="0"/>--%> | ||||||
|                         </f:DropDownList> |                         </f:DropDownList> | ||||||
|                 </Items> |                 </Items> | ||||||
|             </f:FormRow> |             </f:FormRow> | ||||||
|  |  | ||||||
|  | @ -20,6 +20,11 @@ | ||||||
|                         </f:TextBox> |                         </f:TextBox> | ||||||
|                     </Items> |                     </Items> | ||||||
|                 </f:FormRow> |                 </f:FormRow> | ||||||
|  |                 <f:FormRow> | ||||||
|  |                     <Items> | ||||||
|  |                         <f:DropDownList runat="server" Required="true" ShowRedStar="true" ID="drpInstallation" Label="装置/单元设置" LabelWidth="150px" ></f:DropDownList> | ||||||
|  |                    </Items> | ||||||
|  |                 </f:FormRow> | ||||||
|                 <f:FormRow runat="server"> |                 <f:FormRow runat="server"> | ||||||
|                     <Items> |                     <Items> | ||||||
|                         <f:TextBox ID="txtUnitWorkName" runat="server" Label="单位工程名称" |                         <f:TextBox ID="txtUnitWorkName" runat="server" Label="单位工程名称" | ||||||
|  | @ -27,11 +32,7 @@ | ||||||
|                         </f:TextBox> |                         </f:TextBox> | ||||||
|                     </Items> |                     </Items> | ||||||
|                 </f:FormRow> |                 </f:FormRow> | ||||||
|                  <f:FormRow> |                   | ||||||
|                     <Items> |  | ||||||
|                         <f:DropDownList runat="server" Required="true" ShowRedStar="true" ID="drpInstallation" Label="装置/单元设置" LabelWidth="150px" ></f:DropDownList> |  | ||||||
|                    </Items> |  | ||||||
|                 </f:FormRow> |  | ||||||
|                 <f:FormRow> |                 <f:FormRow> | ||||||
|                     <Items> |                     <Items> | ||||||
|                         <f:NumberBox runat="server" ID="txtCosts" Label="建安工程费(万元)" Hidden="true" LabelWidth="150px" NoDecimal="false" NoNegative="true"></f:NumberBox> |                         <f:NumberBox runat="server" ID="txtCosts" Label="建安工程费(万元)" Hidden="true" LabelWidth="150px" NoDecimal="false" NoNegative="true"></f:NumberBox> | ||||||
|  |  | ||||||
|  | @ -50,15 +50,6 @@ namespace FineUIPro.Web.ProjectData | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.TextBox txtUnitWorkCode; |         protected global::FineUIPro.TextBox txtUnitWorkCode; | ||||||
| 
 | 
 | ||||||
|         /// <summary> |  | ||||||
|         /// txtUnitWorkName 控件。 |  | ||||||
|         /// </summary> |  | ||||||
|         /// <remarks> |  | ||||||
|         /// 自动生成的字段。 |  | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |  | ||||||
|         /// </remarks> |  | ||||||
|         protected global::FineUIPro.TextBox txtUnitWorkName; |  | ||||||
| 
 |  | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// drpInstallation 控件。 |         /// drpInstallation 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -68,6 +59,15 @@ namespace FineUIPro.Web.ProjectData | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.DropDownList drpInstallation; |         protected global::FineUIPro.DropDownList drpInstallation; | ||||||
| 
 | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// txtUnitWorkName 控件。 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <remarks> | ||||||
|  |         /// 自动生成的字段。 | ||||||
|  |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|  |         /// </remarks> | ||||||
|  |         protected global::FineUIPro.TextBox txtUnitWorkName; | ||||||
|  | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// txtCosts 控件。 |         /// txtCosts 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  |  | ||||||
|  | @ -51,7 +51,7 @@ | ||||||
|                  |                  | ||||||
|                 <f:FormRow runat="server"> |                 <f:FormRow runat="server"> | ||||||
|                     <Items>                       |                     <Items>                       | ||||||
|                           <f:DropDownList ID="drpMainCNProfessional" runat="server" Label="主专业" EnableEdit="true" LabelWidth="90px"> |                        <f:DropDownList ID="drpMainCNProfessional" runat="server" Label="主专业" EnableEdit="true" LabelWidth="90px"> | ||||||
|                         </f:DropDownList> |                         </f:DropDownList> | ||||||
|                         <f:DropDownList ID="drpViceCNProfessional" runat="server" Label="副专业" EnableEdit="true"  |                         <f:DropDownList ID="drpViceCNProfessional" runat="server" Label="副专业" EnableEdit="true"  | ||||||
|                         EnableMultiSelect="true" MaxLength="500" EnableCheckBoxSelect="true"> |                         EnableMultiSelect="true" MaxLength="500" EnableCheckBoxSelect="true"> | ||||||
|  | @ -62,12 +62,13 @@ | ||||||
|                         </f:RadioButtonList> |                         </f:RadioButtonList> | ||||||
|                     </Items> |                     </Items> | ||||||
|                 </f:FormRow>  |                 </f:FormRow>  | ||||||
|                   <f:FormRow ColumnWidths="33.33%  "> |                   <f:FormRow ColumnWidths="33.33% 33.33% "> | ||||||
|                     <Items> |                     <Items> | ||||||
|                           <f:DropDownList ID="drpIsPost" runat="server" Label="在岗" EnableEdit="true" ForceSelection="false" |                           <f:DropDownList ID="drpIsPost" runat="server" Label="在岗" EnableEdit="true" ForceSelection="false" | ||||||
|                             Required="true" ShowRedStar="true" LabelWidth="90px"> |                             Required="true" ShowRedStar="true" LabelWidth="90px"> | ||||||
|                         </f:DropDownList> |                         </f:DropDownList> | ||||||
|                           |                          <f:CheckBox Text="是否专家论证审核人员" ID="cbExpertArgumentationIsAuditor" runat="server"  LabelAlign="Right"    Width="150px" LabelWidth="90px" MarginLeft="50px"></f:CheckBox> | ||||||
|  | 
 | ||||||
|                     </Items> |                     </Items> | ||||||
|                 </f:FormRow>   |                 </f:FormRow>   | ||||||
|                 <f:FormRow ColumnWidths=" 30.33% 5% 33.33%"> |                 <f:FormRow ColumnWidths=" 30.33% 5% 33.33%"> | ||||||
|  | @ -80,8 +81,12 @@ | ||||||
|                             <f:FileUpload runat="server" ID="fileSignature" EmptyText="请选择" |                             <f:FileUpload runat="server" ID="fileSignature" EmptyText="请选择" | ||||||
|                                 OnFileSelected="btnSignature_Click" AutoPostBack="true" Width="150px" LabelWidth="90px"> |                                 OnFileSelected="btnSignature_Click" AutoPostBack="true" Width="150px" LabelWidth="90px"> | ||||||
|                             </f:FileUpload> |                             </f:FileUpload> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|                     </Items> |                     </Items> | ||||||
|                 </f:FormRow>   |                 </f:FormRow>   | ||||||
|  |                    | ||||||
|  | 
 | ||||||
|             </Rows> |             </Rows> | ||||||
|             <Toolbars> |             <Toolbars> | ||||||
|                 <f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server"> |                 <f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server"> | ||||||
|  |  | ||||||
|  | @ -109,6 +109,10 @@ namespace FineUIPro.Web.SysManage | ||||||
|                         { |                         { | ||||||
|                             this.drpIsPost.SelectedValue = Convert.ToString(user.IsPost); |                             this.drpIsPost.SelectedValue = Convert.ToString(user.IsPost); | ||||||
|                         } |                         } | ||||||
|  |                         if(user.IsExpertArgumentationIsAuditor.HasValue && user.IsExpertArgumentationIsAuditor.Value) | ||||||
|  |                         { | ||||||
|  |                             this.cbExpertArgumentationIsAuditor.Checked = true; | ||||||
|  |                         } | ||||||
|                         this.txtTelephone.Text = user.Telephone; |                         this.txtTelephone.Text = user.Telephone; | ||||||
|                         if (user.IsOffice == true) |                         if (user.IsOffice == true) | ||||||
|                         { |                         { | ||||||
|  | @ -202,6 +206,15 @@ namespace FineUIPro.Web.SysManage | ||||||
|             { |             { | ||||||
|                 newUser.UnitId = this.drpUnit.SelectedValue; |                 newUser.UnitId = this.drpUnit.SelectedValue; | ||||||
|             } |             } | ||||||
|  |             if (this.cbExpertArgumentationIsAuditor.Checked == true ) | ||||||
|  |             { | ||||||
|  |                 newUser.IsExpertArgumentationIsAuditor =true ; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 newUser.IsExpertArgumentationIsAuditor = false; | ||||||
|  | 
 | ||||||
|  |             } | ||||||
|             if (!BLL.CommonService.IsMainUnitOrAdmin(this.CurrUser.UserId)) ///不是企业单位或者管理员 |             if (!BLL.CommonService.IsMainUnitOrAdmin(this.CurrUser.UserId)) ///不是企业单位或者管理员 | ||||||
|             { |             { | ||||||
|                 newUser.UnitId = this.CurrUser.UnitId; |                 newUser.UnitId = this.CurrUser.UnitId; | ||||||
|  |  | ||||||
|  | @ -11,223 +11,232 @@ namespace FineUIPro.Web.SysManage | ||||||
| { | { | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 	public partial class UserListEdit |     public partial class UserListEdit | ||||||
| 	{ |     { | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// form1 控件。 |         /// form1 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::System.Web.UI.HtmlControls.HtmlForm form1; |         protected global::System.Web.UI.HtmlControls.HtmlForm form1; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// PageManager1 控件。 |         /// PageManager1 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.PageManager PageManager1; |         protected global::FineUIPro.PageManager PageManager1; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// SimpleForm1 控件。 |         /// SimpleForm1 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.Form SimpleForm1; |         protected global::FineUIPro.Form SimpleForm1; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// txtUserCode 控件。 |         /// txtUserCode 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.TextBox txtUserCode; |         protected global::FineUIPro.TextBox txtUserCode; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// txtUserName 控件。 |         /// txtUserName 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.TextBox txtUserName; |         protected global::FineUIPro.TextBox txtUserName; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// txtAccount 控件。 |         /// txtAccount 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.TextBox txtAccount; |         protected global::FineUIPro.TextBox txtAccount; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// drpUnit 控件。 |         /// drpUnit 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.DropDownList drpUnit; |         protected global::FineUIPro.DropDownList drpUnit; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// txtIdentityCard 控件。 |         /// txtIdentityCard 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.TextBox txtIdentityCard; |         protected global::FineUIPro.TextBox txtIdentityCard; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// txtTelephone 控件。 |         /// txtTelephone 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.TextBox txtTelephone; |         protected global::FineUIPro.TextBox txtTelephone; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// trServer 控件。 |         /// trServer 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.FormRow trServer; |         protected global::FineUIPro.FormRow trServer; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// drpDepart 控件。 |         /// drpDepart 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.DropDownList drpDepart; |         protected global::FineUIPro.DropDownList drpDepart; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// drpIsOffice 控件。 |         /// drpIsOffice 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.DropDownList drpIsOffice; |         protected global::FineUIPro.DropDownList drpIsOffice; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// drpRole 控件。 |         /// drpRole 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.DropDownList drpRole; |         protected global::FineUIPro.DropDownList drpRole; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// drpMainCNProfessional 控件。 |         /// drpMainCNProfessional 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.DropDownList drpMainCNProfessional; |         protected global::FineUIPro.DropDownList drpMainCNProfessional; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// drpViceCNProfessional 控件。 |         /// drpViceCNProfessional 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.DropDownList drpViceCNProfessional; |         protected global::FineUIPro.DropDownList drpViceCNProfessional; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// rblHomePageType 控件。 |         /// rblHomePageType 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.RadioButtonList rblHomePageType; |         protected global::FineUIPro.RadioButtonList rblHomePageType; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// drpIsPost 控件。 |         /// drpIsPost 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.DropDownList drpIsPost; |         protected global::FineUIPro.DropDownList drpIsPost; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// Image2 控件。 |         /// cbExpertArgumentationIsAuditor 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.Image Image2; |         protected global::FineUIPro.CheckBox cbExpertArgumentationIsAuditor; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// fileSignature 控件。 |         /// Image2 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.FileUpload fileSignature; |         protected global::FineUIPro.Image Image2; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// Toolbar1 控件。 |         /// fileSignature 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.Toolbar Toolbar1; |         protected global::FineUIPro.FileUpload fileSignature; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// btnArrowRefresh 控件。 |         /// Toolbar1 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.Button btnArrowRefresh; |         protected global::FineUIPro.Toolbar Toolbar1; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// btnSave 控件。 |         /// btnArrowRefresh 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.Button btnSave; |         protected global::FineUIPro.Button btnArrowRefresh; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// btnClose 控件。 |         /// btnSave 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.Button btnClose; |         protected global::FineUIPro.Button btnSave; | ||||||
| 
 | 
 | ||||||
| 		/// <summary> |         /// <summary> | ||||||
| 		/// Window1 控件。 |         /// btnClose 控件。 | ||||||
| 		/// </summary> |         /// </summary> | ||||||
| 		/// <remarks> |         /// <remarks> | ||||||
| 		/// 自动生成的字段。 |         /// 自动生成的字段。 | ||||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
| 		/// </remarks> |         /// </remarks> | ||||||
| 		protected global::FineUIPro.Window Window1; |         protected global::FineUIPro.Button btnClose; | ||||||
| 	} | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// Window1 控件。 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <remarks> | ||||||
|  |         /// 自动生成的字段。 | ||||||
|  |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|  |         /// </remarks> | ||||||
|  |         protected global::FineUIPro.Window Window1; | ||||||
|  |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -21,9 +21,26 @@ | ||||||
| <body> | <body> | ||||||
|     <form id="form1" runat="server"> |     <form id="form1" runat="server"> | ||||||
|         <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" /> |         <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" /> | ||||||
|         <f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false" | 
 | ||||||
|             ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch"> |             <f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region"> | ||||||
|  | 
 | ||||||
|             <Items> |             <Items> | ||||||
|  | 
 | ||||||
|  |               <f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true" | ||||||
|  |                     EnableCollapse="true" Width="320px" Title="" ShowBorder="true" Layout="VBox" | ||||||
|  |                     ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft"> | ||||||
|  |                     <Items> | ||||||
|  |                         <f:Tree ID="tvControlItem" ShowHeader="false" Height="500px" Title="年份" OnNodeCommand="tvControlItem_NodeCommand" | ||||||
|  |                             runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true"  | ||||||
|  |                             AutoLeafIdentification="true" EnableTextSelection="true" Expanded="true"> | ||||||
|  |                         </f:Tree> | ||||||
|  |                     </Items> | ||||||
|  |                 </f:Panel> | ||||||
|  |                  | ||||||
|  |                    <f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true" | ||||||
|  |                     Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" | ||||||
|  |                     AutoScroll="true">  | ||||||
|  |                     <Items> | ||||||
|                 <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="安全监督检查报告" EnableCollapse="true" |                 <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="安全监督检查报告" EnableCollapse="true" | ||||||
|                     runat="server" BoxFlex="1" DataKeyNames="SuperviseCheckReportId" AllowCellEditing="true" |                     runat="server" BoxFlex="1" DataKeyNames="SuperviseCheckReportId" AllowCellEditing="true" | ||||||
|                     ClicksToEdit="2" DataIDField="SuperviseCheckReportId" AllowSorting="true" SortField="CheckDate" |                     ClicksToEdit="2" DataIDField="SuperviseCheckReportId" AllowSorting="true" SortField="CheckDate" | ||||||
|  | @ -118,6 +135,9 @@ | ||||||
|                         </f:DropDownList> |                         </f:DropDownList> | ||||||
|                     </PageItems> |                     </PageItems> | ||||||
|                 </f:Grid> |                 </f:Grid> | ||||||
|  |                         </Items> | ||||||
|  |                 </f:Panel> | ||||||
|  | 
 | ||||||
|             </Items> |             </Items> | ||||||
|         </f:Panel> |         </f:Panel> | ||||||
|         <f:Window ID="Window1" Title="编辑安全监督检查整改" Hidden="true" EnableIFrame="true" EnableMaximize="true" |         <f:Window ID="Window1" Title="编辑安全监督检查整改" Hidden="true" EnableIFrame="true" EnableMaximize="true" | ||||||
|  |  | ||||||
|  | @ -30,11 +30,49 @@ namespace FineUIPro.Web.ZHGL.Supervise | ||||||
|                 btnDelete.ConfirmText = String.Format("你确定要删除选中的 <b><script>{0}</script></b> 行数据吗?", Grid1.GetSelectedCountReference()); |                 btnDelete.ConfirmText = String.Format("你确定要删除选中的 <b><script>{0}</script></b> 行数据吗?", Grid1.GetSelectedCountReference()); | ||||||
| 
 | 
 | ||||||
|                 ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); |                 ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); | ||||||
|  |                 InitTreeMenu(); | ||||||
|                 // 绑定表格 |                 // 绑定表格 | ||||||
|                 BindGrid(); |                 BindGrid(); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |         private void InitTreeMenu() | ||||||
|  |         { | ||||||
|  |             this.tvControlItem.Nodes.Clear();  | ||||||
|  |             var CheckDate = (from x in Funs.DB.Supervise_SuperviseCheckReport  | ||||||
|  |                            select new { x.CheckDate }).Distinct().OrderByDescending(x=>x.CheckDate).ToList(); | ||||||
|  |             List<string> years = new List<string>(); | ||||||
|  |            Dictionary<string, List<string>> yearsDic = new Dictionary<string, List<string> >(); | ||||||
| 
 | 
 | ||||||
|  |             foreach (var x in CheckDate) | ||||||
|  |             { | ||||||
|  |                 if (!years.Contains(x.CheckDate.Value.ToString("yyyy年"))) | ||||||
|  |                 { | ||||||
|  |                     years.Add(x.CheckDate.Value.ToString("yyyy年")); | ||||||
|  |                     yearsDic.Add(x.CheckDate.Value.ToString("yyyy年"),new List<string>()); | ||||||
|  |                 } | ||||||
|  |                 yearsDic[x.CheckDate.Value.ToString("yyyy年")].Add(x.CheckDate.Value.ToString("yyyy-MM-dd")); | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|  |             foreach (var year in years) | ||||||
|  |             { | ||||||
|  |                 TreeNode tnYear = new TreeNode();//年节点 | ||||||
|  |                 tnYear.Text = year; | ||||||
|  |                 tnYear.NodeID = year; | ||||||
|  |                 tnYear.ToolTip = year; | ||||||
|  |                 tvControlItem.Nodes.Add(tnYear); | ||||||
|  |                 foreach (var date in yearsDic[year]) | ||||||
|  |                 { | ||||||
|  |                     TreeNode tnDate = new TreeNode();//年节点 | ||||||
|  |                     tnDate.Text = date; | ||||||
|  |                     tnDate.NodeID = date; | ||||||
|  |                     tnDate.ToolTip = date;  | ||||||
|  |                     tnDate.EnableClickEvent= true; | ||||||
|  |                     tnYear.Nodes.Add(tnDate); | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |              | ||||||
|  | 
 | ||||||
|  |         } | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// 绑定数据 |         /// 绑定数据 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -46,6 +84,13 @@ namespace FineUIPro.Web.ZHGL.Supervise | ||||||
|                             + @" LEFT JOIN dbo.Base_Unit AS U ON U.UnitId=S.UnitId" |                             + @" LEFT JOIN dbo.Base_Unit AS U ON U.UnitId=S.UnitId" | ||||||
|                             + @" WHERE 1=1 "; |                             + @" WHERE 1=1 "; | ||||||
|             List<SqlParameter> listStr = new List<SqlParameter>(); |             List<SqlParameter> listStr = new List<SqlParameter>(); | ||||||
|  |             if (tvControlItem.SelectedNodeID!=null) | ||||||
|  |             { | ||||||
|  |                  | ||||||
|  |                     strSql += " AND S.CheckDate  =  @CheckDate "; | ||||||
|  |                     listStr.Add(new SqlParameter("@CheckDate", tvControlItem.SelectedNodeID)); | ||||||
|  |                  | ||||||
|  |             } | ||||||
|             if (!string.IsNullOrEmpty(this.txtName.Text.Trim())) |             if (!string.IsNullOrEmpty(this.txtName.Text.Trim())) | ||||||
|             { |             { | ||||||
|                 strSql += " AND (S.SuperviseCheckReportCode like @name OR P.ProjectName like @name OR u.UnitName like @name OR S.CheckTeam like @name OR S.EvaluationResult like @name)"; |                 strSql += " AND (S.SuperviseCheckReportCode like @name OR P.ProjectName like @name OR u.UnitName like @name OR S.CheckTeam like @name OR S.EvaluationResult like @name)"; | ||||||
|  | @ -598,5 +643,11 @@ namespace FineUIPro.Web.ZHGL.Supervise | ||||||
|             this.BindGrid(); |             this.BindGrid(); | ||||||
|         } |         } | ||||||
|         #endregion |         #endregion | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |         protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e) | ||||||
|  |         { | ||||||
|  |             this.BindGrid(); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | @ -7,11 +7,13 @@ | ||||||
| // </自动生成> | // </自动生成> | ||||||
| //------------------------------------------------------------------------------ | //------------------------------------------------------------------------------ | ||||||
| 
 | 
 | ||||||
| namespace FineUIPro.Web.ZHGL.Supervise { | namespace FineUIPro.Web.ZHGL.Supervise | ||||||
|      | { | ||||||
|      | 
 | ||||||
|     public partial class SuperviseCheckReport { | 
 | ||||||
|          |     public partial class SuperviseCheckReport | ||||||
|  |     { | ||||||
|  | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// form1 控件。 |         /// form1 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -20,7 +22,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlForm form1; |         protected global::System.Web.UI.HtmlControls.HtmlForm form1; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// PageManager1 控件。 |         /// PageManager1 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -29,7 +31,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.PageManager PageManager1; |         protected global::FineUIPro.PageManager PageManager1; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// Panel1 控件。 |         /// Panel1 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -38,7 +40,34 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.Panel Panel1; |         protected global::FineUIPro.Panel Panel1; | ||||||
|          | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// panelLeftRegion 控件。 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <remarks> | ||||||
|  |         /// 自动生成的字段。 | ||||||
|  |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|  |         /// </remarks> | ||||||
|  |         protected global::FineUIPro.Panel panelLeftRegion; | ||||||
|  | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// tvControlItem 控件。 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <remarks> | ||||||
|  |         /// 自动生成的字段。 | ||||||
|  |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|  |         /// </remarks> | ||||||
|  |         protected global::FineUIPro.Tree tvControlItem; | ||||||
|  | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// panelCenterRegion 控件。 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <remarks> | ||||||
|  |         /// 自动生成的字段。 | ||||||
|  |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|  |         /// </remarks> | ||||||
|  |         protected global::FineUIPro.Panel panelCenterRegion; | ||||||
|  | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// Grid1 控件。 |         /// Grid1 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -47,7 +76,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.Grid Grid1; |         protected global::FineUIPro.Grid Grid1; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// Toolbar2 控件。 |         /// Toolbar2 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -56,7 +85,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.Toolbar Toolbar2; |         protected global::FineUIPro.Toolbar Toolbar2; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// txtName 控件。 |         /// txtName 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -65,7 +94,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.TextBox txtName; |         protected global::FineUIPro.TextBox txtName; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// btnNew 控件。 |         /// btnNew 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -74,7 +103,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.Button btnNew; |         protected global::FineUIPro.Button btnNew; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// btnEdit 控件。 |         /// btnEdit 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -83,7 +112,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.Button btnEdit; |         protected global::FineUIPro.Button btnEdit; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// btnDelete 控件。 |         /// btnDelete 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -92,7 +121,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.Button btnDelete; |         protected global::FineUIPro.Button btnDelete; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// btnOut 控件。 |         /// btnOut 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -101,7 +130,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.Button btnOut; |         protected global::FineUIPro.Button btnOut; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// lblNumber 控件。 |         /// lblNumber 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -110,7 +139,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.WebControls.Label lblNumber; |         protected global::System.Web.UI.WebControls.Label lblNumber; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// lbtnRectify 控件。 |         /// lbtnRectify 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -119,7 +148,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.WebControls.LinkButton lbtnRectify; |         protected global::System.Web.UI.WebControls.LinkButton lbtnRectify; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// lblRectify 控件。 |         /// lblRectify 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -128,7 +157,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.WebControls.Label lblRectify; |         protected global::System.Web.UI.WebControls.Label lblRectify; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// lbtnSubRec 控件。 |         /// lbtnSubRec 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -137,7 +166,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.WebControls.LinkButton lbtnSubRec; |         protected global::System.Web.UI.WebControls.LinkButton lbtnSubRec; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// lblSubRec 控件。 |         /// lblSubRec 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -146,7 +175,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.WebControls.Label lblSubRec; |         protected global::System.Web.UI.WebControls.Label lblSubRec; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// ToolbarSeparator1 控件。 |         /// ToolbarSeparator1 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -155,7 +184,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; |         protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// ToolbarText1 控件。 |         /// ToolbarText1 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -164,7 +193,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.ToolbarText ToolbarText1; |         protected global::FineUIPro.ToolbarText ToolbarText1; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// ddlPageSize 控件。 |         /// ddlPageSize 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -173,7 +202,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.DropDownList ddlPageSize; |         protected global::FineUIPro.DropDownList ddlPageSize; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// Window1 控件。 |         /// Window1 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -182,7 +211,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::FineUIPro.Window Window1; |         protected global::FineUIPro.Window Window1; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// Window2 控件。 |         /// Window2 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  |  | ||||||
|  | @ -69,6 +69,33 @@ | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |                     </div> | ||||||
|                 </div> |                 </div> | ||||||
|  |                 <div class="sd-section"> | ||||||
|  |                        <div class="sd-section-title ellipsis">危大工程</div> | ||||||
|  |                        <div class="sd-section-content"> | ||||||
|  |                         <div class="sd-section4-inner"> | ||||||
|  |                             <div class="sd-security"> | ||||||
|  |                                 <div class="sd-security-label">总数</div> | ||||||
|  |                                 <div class="sd-security-value" runat="server" id="LargerHazard1">0</div> | ||||||
|  |                             </div> | ||||||
|  |                             <div class="sd-security-ratios"> | ||||||
|  |                                 <div class="sd-security-ratio"> | ||||||
|  |                                     <div class="sd-security-ratio-value"> | ||||||
|  |                                         <span | ||||||
|  |                                             class="sd-security-ratio-value--yellow" runat="server" id="LargerHazard2">0</span>  | ||||||
|  |                                     </div> | ||||||
|  |                                     <div class="sd-security-ratio-label">在建</div> | ||||||
|  |                                 </div> | ||||||
|  |                                 <div class="sd-security-ratio"> | ||||||
|  |                                     <div class="sd-security-ratio-value"> | ||||||
|  |                                         <span | ||||||
|  |                                             class="sd-security-ratio-value--blue" runat="server" id="LargerHazard3">0</span>  | ||||||
|  |                                     </div> | ||||||
|  |                                     <div class="sd-security-ratio-label">完成</div> | ||||||
|  |                                 </div> | ||||||
|  |                             </div> | ||||||
|  |                         </div> | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|             </div> |             </div> | ||||||
|             <div class="sd-body-center"> |             <div class="sd-body-center"> | ||||||
|                 <div class="sd-body-menus"> |                 <div class="sd-body-menus"> | ||||||
|  |  | ||||||
|  | @ -27,6 +27,8 @@ namespace FineUIPro.Web.common | ||||||
|                 getCQMSProblem(); |                 getCQMSProblem(); | ||||||
|                 /// 获取施工产值 |                 /// 获取施工产值 | ||||||
|                 getOutputValue(getProjectLists); |                 getOutputValue(getProjectLists); | ||||||
|  |                 ///危大工程 | ||||||
|  |                 getSolutionLargerHazard(); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  | @ -62,12 +64,12 @@ namespace FineUIPro.Web.common | ||||||
|                     { |                     { | ||||||
|                         newS.value = new[] { Funs.GetNewDecimalOrZero(strMap[0]), Funs.GetNewDecimalOrZero(strMap[1]) }; |                         newS.value = new[] { Funs.GetNewDecimalOrZero(strMap[0]), Funs.GetNewDecimalOrZero(strMap[1]) }; | ||||||
|                         list.Add(newS); |                         list.Add(newS); | ||||||
|                     }                |                     } | ||||||
|                 } |                 } | ||||||
|                 ProjectInfo =  JsonConvert.SerializeObject(list); |                 ProjectInfo = JsonConvert.SerializeObject(list); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             return  getProjects.ToList(); |             return getProjects.ToList(); | ||||||
|         } |         } | ||||||
|         #endregion |         #endregion | ||||||
| 
 | 
 | ||||||
|  | @ -122,20 +124,20 @@ namespace FineUIPro.Web.common | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|             var ProjectTotal1 = (from x in Funs.DB.HSSE_MonthReportItem |             var ProjectTotal1 = (from x in Funs.DB.HSSE_MonthReportItem | ||||||
|                                 join y in Funs.DB.HSSE_MonthReport on x.MonthReportId equals y.MonthReportId |                                  join y in Funs.DB.HSSE_MonthReport on x.MonthReportId equals y.MonthReportId | ||||||
|                                  //where ("成达公司HSE管理人数" == x.ReportItem || "分包商HSE管理人数" == x.ReportItem) && y.Years == DateTime.Now.Year |                                  //where ("成达公司HSE管理人数" == x.ReportItem || "分包商HSE管理人数" == x.ReportItem) && y.Years == DateTime.Now.Year | ||||||
|                                  where ("成达公司现场人数" == x.ReportItem  ) && y.Years == DateTime.Now.Year |                                  where ("成达公司现场人数" == x.ReportItem) && y.Years == DateTime.Now.Year | ||||||
|                                  select x.YearTotal).Sum(); |                                  select x.YearTotal).Sum(); | ||||||
| 
 | 
 | ||||||
|             if (ProjectTotal1.HasValue) |             if (ProjectTotal1.HasValue) | ||||||
|             { |             { | ||||||
|                 this.divGLPerson.InnerHtml = ProjectTotal1.Value.ToString();   |                 this.divGLPerson.InnerHtml = ProjectTotal1.Value.ToString(); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             var ProjectTotal2 = (from x in Funs.DB.HSSE_MonthReportItem |             var ProjectTotal2 = (from x in Funs.DB.HSSE_MonthReportItem | ||||||
|                                 join y in Funs.DB.HSSE_MonthReport on x.MonthReportId equals y.MonthReportId |                                  join y in Funs.DB.HSSE_MonthReport on x.MonthReportId equals y.MonthReportId | ||||||
|                                  //where ("成达公司现场人数" == x.ReportItem || "分包商现场人数" == x.ReportItem) && y.Years == DateTime.Now.Year |                                  //where ("成达公司现场人数" == x.ReportItem || "分包商现场人数" == x.ReportItem) && y.Years == DateTime.Now.Year | ||||||
|                                  where (  "分包商现场人数" == x.ReportItem) && y.Years == DateTime.Now.Year |                                  where ("分包商现场人数" == x.ReportItem) && y.Years == DateTime.Now.Year | ||||||
|                                  select x.YearTotal).Sum(); |                                  select x.YearTotal).Sum(); | ||||||
| 
 | 
 | ||||||
|             //if (ProjectTotal2.HasValue && ProjectTotal1.HasValue) |             //if (ProjectTotal2.HasValue && ProjectTotal1.HasValue) | ||||||
|  | @ -182,7 +184,7 @@ namespace FineUIPro.Web.common | ||||||
|             this.divSafeWorkTime.InnerHtml = "0000000000"; |             this.divSafeWorkTime.InnerHtml = "0000000000"; | ||||||
|             var ProjectTotal = (from x in Funs.DB.HSSE_MonthReportItem |             var ProjectTotal = (from x in Funs.DB.HSSE_MonthReportItem | ||||||
|                                 join y in Funs.DB.HSSE_MonthReport on x.MonthReportId equals y.MonthReportId |                                 join y in Funs.DB.HSSE_MonthReport on x.MonthReportId equals y.MonthReportId | ||||||
|                                 where  "安全生产人工时数" == x.ReportItem && y.Years== DateTime.Now.Year |                                 where "安全生产人工时数" == x.ReportItem && y.Years == DateTime.Now.Year | ||||||
|                                 select x.YearTotal).Sum(); |                                 select x.YearTotal).Sum(); | ||||||
| 
 | 
 | ||||||
|             if (ProjectTotal.HasValue) |             if (ProjectTotal.HasValue) | ||||||
|  | @ -207,7 +209,7 @@ namespace FineUIPro.Web.common | ||||||
| 
 | 
 | ||||||
|             DateTime time = DateTime.Parse(DateTime.Now.ToString("yyyy-01-01")); |             DateTime time = DateTime.Parse(DateTime.Now.ToString("yyyy-01-01")); | ||||||
|             var getRectify = from x in Funs.DB.View_Hazard_HazardRegister |             var getRectify = from x in Funs.DB.View_Hazard_HazardRegister | ||||||
|                              where   x.States != Const.State_0 && x.States != Const.State_R && x.States != null && x.RegisterDate>= time |                              where x.States != Const.State_0 && x.States != Const.State_R && x.States != null && x.RegisterDate >= time | ||||||
|                              group x by x.States into g |                              group x by x.States into g | ||||||
|                              select new { g.Key, Count = g.Count() }; |                              select new { g.Key, Count = g.Count() }; | ||||||
|             var allcout = getRectify.ToList(); |             var allcout = getRectify.ToList(); | ||||||
|  | @ -226,7 +228,7 @@ namespace FineUIPro.Web.common | ||||||
| 
 | 
 | ||||||
|                 this.divAllRectify.InnerHtml = total.ToString(); |                 this.divAllRectify.InnerHtml = total.ToString(); | ||||||
|                 //this.divUCRectify.InnerHtml = (total - finish).ToString(); |                 //this.divUCRectify.InnerHtml = (total - finish).ToString(); | ||||||
|                 this.divRectifyRate.InnerHtml = Math.Round(finish * 1.0 / total * 100, 1).ToString()  ; |                 this.divRectifyRate.InnerHtml = Math.Round(finish * 1.0 / total * 100, 1).ToString(); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|         } |         } | ||||||
|  | @ -234,33 +236,33 @@ namespace FineUIPro.Web.common | ||||||
| 
 | 
 | ||||||
|         #region 获取合同 |         #region 获取合同 | ||||||
|         private void getHTContract() |         private void getHTContract() | ||||||
| 		{ |         { | ||||||
| 			var ConstructionNum = Funs.DB.Base_Project.Sum(x => x.ConstructionNum); |             var ConstructionNum = Funs.DB.Base_Project.Sum(x => x.ConstructionNum); | ||||||
| 			var ConstructionMoney = Funs.DB.Base_Project.Sum(x => x.ConstructionMoney); |             var ConstructionMoney = Funs.DB.Base_Project.Sum(x => x.ConstructionMoney); | ||||||
| 			//var getC = (from x in Funs.DB.PHTGL_ContractReview |             //var getC = (from x in Funs.DB.PHTGL_ContractReview | ||||||
| 			//            join y in Funs.DB.PHTGL_Approve on x.ContractReviewId equals y.ContractId |             //            join y in Funs.DB.PHTGL_Approve on x.ContractReviewId equals y.ContractId | ||||||
| 			//            join z in Funs.DB.PHTGL_Contract on x.ContractId equals z.ContractId |             //            join z in Funs.DB.PHTGL_Contract on x.ContractId equals z.ContractId | ||||||
| 			//            where x.State == 5 && Convert.ToDateTime(y.ApproveDate).Year == DateTime.Now.Year |             //            where x.State == 5 && Convert.ToDateTime(y.ApproveDate).Year == DateTime.Now.Year | ||||||
| 			//            select new { x.ContractReviewId, z.ContractAmount }).Distinct(); |             //            select new { x.ContractReviewId, z.ContractAmount }).Distinct(); | ||||||
| 			this.divHTNum.InnerHtml ="0"; |             this.divHTNum.InnerHtml = "0"; | ||||||
| 			if (ConstructionNum.HasValue) |             if (ConstructionNum.HasValue) | ||||||
| 			{ |             { | ||||||
| 				this.divHTNum.InnerHtml = ConstructionNum.Value.ToString(); |                 this.divHTNum.InnerHtml = ConstructionNum.Value.ToString(); | ||||||
| 
 | 
 | ||||||
| 			} |             } | ||||||
| 			decimal d = 0; |             decimal d = 0; | ||||||
| 			//foreach (var item in getC) |             //foreach (var item in getC) | ||||||
| 			//{ |             //{ | ||||||
| 			//    d += item.ContractAmount ?? 0; |             //    d += item.ContractAmount ?? 0; | ||||||
| 			//} |             //} | ||||||
| 			if (ConstructionMoney.HasValue) |             if (ConstructionMoney.HasValue) | ||||||
| 			{ |             { | ||||||
| 				this.divHTAmount.InnerHtml = ConstructionMoney.Value.ToString("0.####"); |                 this.divHTAmount.InnerHtml = ConstructionMoney.Value.ToString("0.####"); | ||||||
| 					} |             } | ||||||
| 			else |             else | ||||||
| 			{ |             { | ||||||
| 				this.divHTAmount.InnerHtml = Math.Round((d / 100000000), 4).ToString(); |                 this.divHTAmount.InnerHtml = Math.Round((d / 100000000), 4).ToString(); | ||||||
| 			} |             } | ||||||
|         } |         } | ||||||
|         #endregion |         #endregion | ||||||
| 
 | 
 | ||||||
|  | @ -281,7 +283,7 @@ namespace FineUIPro.Web.common | ||||||
|                                       where x.CreateDate >= time |                                       where x.CreateDate >= time | ||||||
|                                       select x; |                                       select x; | ||||||
|             var getCheckControl = from x in Funs.DB.Check_CheckControl |             var getCheckControl = from x in Funs.DB.Check_CheckControl | ||||||
|                                   where x.CheckDate >= time  |                                   where x.CheckDate >= time | ||||||
|                                   select x; |                                   select x; | ||||||
|             ///问题总数 |             ///问题总数 | ||||||
|             int AllCount = getJointCheckDetail.Count() + getCheckControl.Count(); |             int AllCount = getJointCheckDetail.Count() + getCheckControl.Count(); | ||||||
|  | @ -300,7 +302,7 @@ namespace FineUIPro.Web.common | ||||||
|                     CRectificationRate = Math.Round(CCount * 1.0 / AllCount * 100, 1); |                     CRectificationRate = Math.Round(CCount * 1.0 / AllCount * 100, 1); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|             var inspectionManagements = from x in Funs.DB.View_CQMS_InspectionManagementDetail where x.CheckDate>=time  select x; |             var inspectionManagements = from x in Funs.DB.View_CQMS_InspectionManagementDetail where x.CheckDate >= time select x; | ||||||
|             if (inspectionManagements.Count() > 0) |             if (inspectionManagements.Count() > 0) | ||||||
|             { |             { | ||||||
|                 int okInspectionManagements = inspectionManagements.Where(x => x.IsOnceQualified == true).Count(); |                 int okInspectionManagements = inspectionManagements.Where(x => x.IsOnceQualified == true).Count(); | ||||||
|  | @ -349,13 +351,13 @@ namespace FineUIPro.Web.common | ||||||
|             var getOutputValue = Funs.DB.Sys_OutputValueProject.Where(x => x.Year > date.Year || (x.Year == date.Year && x.Month >= date.Month)); |             var getOutputValue = Funs.DB.Sys_OutputValueProject.Where(x => x.Year > date.Year || (x.Year == date.Year && x.Month >= date.Month)); | ||||||
|             if (getOutputValue.Count() > 0) |             if (getOutputValue.Count() > 0) | ||||||
|             { |             { | ||||||
|                 this.divYearPlanOutPutValue.InnerHtml = (getOutputValue.Sum(x=>x.PlanOutPutValue ?? 0)).ToString(); |                 this.divYearPlanOutPutValue.InnerHtml = (getOutputValue.Sum(x => x.PlanOutPutValue ?? 0)).ToString(); | ||||||
|                 this.divYearActualOutPutValue.InnerHtml = (getOutputValue.Sum(x => x.ActualOutPutValue ?? 0)).ToString(); |                 this.divYearActualOutPutValue.InnerHtml = (getOutputValue.Sum(x => x.ActualOutPutValue ?? 0)).ToString(); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             decimal[] monthValues = new decimal[12]; |             decimal[] monthValues = new decimal[12]; | ||||||
|             decimal[] monthValues2 = new decimal[12]; |             decimal[] monthValues2 = new decimal[12]; | ||||||
|           //  var getOutYearValues = Funs.DB.Sys_OutputValueProject.Where(x => x.Year == DateTime.Now.Year); |             //  var getOutYearValues = Funs.DB.Sys_OutputValueProject.Where(x => x.Year == DateTime.Now.Year); | ||||||
|             if (getOutputValue.Count() > 0) |             if (getOutputValue.Count() > 0) | ||||||
|             { |             { | ||||||
|                 for (int i = 0; i < 12; i++) |                 for (int i = 0; i < 12; i++) | ||||||
|  | @ -405,5 +407,17 @@ namespace FineUIPro.Web.common | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |         private void getSolutionLargerHazard() | ||||||
|  |         { | ||||||
|  |             var num1 = Funs.DB.Solution_LargerHazard.Where(x => x.States == "2").Count(); | ||||||
|  |             var num2 = Funs.DB.Solution_LargerHazard.Where(x => x.States == "3").Count(); | ||||||
|  | 
 | ||||||
|  |             LargerHazard1.InnerText = "" + (num1 + num2); | ||||||
|  |             LargerHazard2.InnerText = "" + (num1); | ||||||
|  |             LargerHazard3.InnerText = "" + (num2); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -7,11 +7,13 @@ | ||||||
| // </自动生成> | // </自动生成> | ||||||
| //------------------------------------------------------------------------------ | //------------------------------------------------------------------------------ | ||||||
| 
 | 
 | ||||||
| namespace FineUIPro.Web.common { | namespace FineUIPro.Web.common | ||||||
|      | { | ||||||
|      | 
 | ||||||
|     public partial class main { | 
 | ||||||
|          |     public partial class main | ||||||
|  |     { | ||||||
|  | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// Head1 控件。 |         /// Head1 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -20,7 +22,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlHead Head1; |         protected global::System.Web.UI.HtmlControls.HtmlHead Head1; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divGLPerson 控件。 |         /// divGLPerson 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -29,7 +31,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divGLPerson; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divGLPerson; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divZYPerson 控件。 |         /// divZYPerson 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -38,7 +40,34 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divZYPerson; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divZYPerson; | ||||||
|          | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// LargerHazard1 控件。 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <remarks> | ||||||
|  |         /// 自动生成的字段。 | ||||||
|  |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|  |         /// </remarks> | ||||||
|  |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl LargerHazard1; | ||||||
|  | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// LargerHazard2 控件。 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <remarks> | ||||||
|  |         /// 自动生成的字段。 | ||||||
|  |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|  |         /// </remarks> | ||||||
|  |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl LargerHazard2; | ||||||
|  | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// LargerHazard3 控件。 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <remarks> | ||||||
|  |         /// 自动生成的字段。 | ||||||
|  |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|  |         /// </remarks> | ||||||
|  |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl LargerHazard3; | ||||||
|  | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divProjectNum 控件。 |         /// divProjectNum 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -47,7 +76,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divProjectNum; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divProjectNum; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divYearPlanOutPutValue 控件。 |         /// divYearPlanOutPutValue 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -56,7 +85,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divYearPlanOutPutValue; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divYearPlanOutPutValue; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divYearActualOutPutValue 控件。 |         /// divYearActualOutPutValue 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -65,7 +94,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divYearActualOutPutValue; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divYearActualOutPutValue; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divHTAmount 控件。 |         /// divHTAmount 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -74,7 +103,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHTAmount; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHTAmount; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divHTNum 控件。 |         /// divHTNum 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -83,7 +112,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHTNum; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHTNum; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divSafeWorkTime 控件。 |         /// divSafeWorkTime 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -92,7 +121,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSafeWorkTime; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSafeWorkTime; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divAllRectify 控件。 |         /// divAllRectify 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -101,7 +130,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAllRectify; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAllRectify; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divRectifyRate 控件。 |         /// divRectifyRate 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | @ -110,7 +139,7 @@ namespace FineUIPro.Web.common { | ||||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 |         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||||
|         /// </remarks> |         /// </remarks> | ||||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divRectifyRate; |         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divRectifyRate; | ||||||
|          | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// divCQMSAllNum 控件。 |         /// divCQMSAllNum 控件。 | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  |  | ||||||
|  | @ -217275,7 +217275,7 @@ namespace Model | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		 | 		 | ||||||
| 		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OtherAttach", DbType="NVarChar(50)")] | 		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OtherAttach", DbType="VarChar(500)")] | ||||||
| 		public string OtherAttach | 		public string OtherAttach | ||||||
| 		{ | 		{ | ||||||
| 			get | 			get | ||||||
|  | @ -340374,6 +340374,8 @@ namespace Model | ||||||
| 		 | 		 | ||||||
| 		private string _HomePageType; | 		private string _HomePageType; | ||||||
| 		 | 		 | ||||||
|  | 		private System.Nullable<bool> _IsExpertArgumentationIsAuditor; | ||||||
|  | 		 | ||||||
| 		private EntitySet<Comprehensive_NCRManagement> _Comprehensive_NCRManagement; | 		private EntitySet<Comprehensive_NCRManagement> _Comprehensive_NCRManagement; | ||||||
| 		 | 		 | ||||||
| 		private EntitySet<Comprehensive_PressurePipe> _Comprehensive_PressurePipe; | 		private EntitySet<Comprehensive_PressurePipe> _Comprehensive_PressurePipe; | ||||||
|  | @ -341132,6 +341134,8 @@ namespace Model | ||||||
|     partial void OnWorkNoChanged(); |     partial void OnWorkNoChanged(); | ||||||
|     partial void OnHomePageTypeChanging(string value); |     partial void OnHomePageTypeChanging(string value); | ||||||
|     partial void OnHomePageTypeChanged(); |     partial void OnHomePageTypeChanged(); | ||||||
|  |     partial void OnIsExpertArgumentationIsAuditorChanging(System.Nullable<bool> value); | ||||||
|  |     partial void OnIsExpertArgumentationIsAuditorChanged(); | ||||||
|     #endregion |     #endregion | ||||||
| 		 | 		 | ||||||
| 		public Sys_User() | 		public Sys_User() | ||||||
|  | @ -342482,6 +342486,26 @@ namespace Model | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		 | 		 | ||||||
|  | 		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsExpertArgumentationIsAuditor", DbType="Bit")] | ||||||
|  | 		public System.Nullable<bool> IsExpertArgumentationIsAuditor | ||||||
|  | 		{ | ||||||
|  | 			get | ||||||
|  | 			{ | ||||||
|  | 				return this._IsExpertArgumentationIsAuditor; | ||||||
|  | 			} | ||||||
|  | 			set | ||||||
|  | 			{ | ||||||
|  | 				if ((this._IsExpertArgumentationIsAuditor != value)) | ||||||
|  | 				{ | ||||||
|  | 					this.OnIsExpertArgumentationIsAuditorChanging(value); | ||||||
|  | 					this.SendPropertyChanging(); | ||||||
|  | 					this._IsExpertArgumentationIsAuditor = value; | ||||||
|  | 					this.SendPropertyChanged("IsExpertArgumentationIsAuditor"); | ||||||
|  | 					this.OnIsExpertArgumentationIsAuditorChanged(); | ||||||
|  | 				} | ||||||
|  | 			} | ||||||
|  | 		} | ||||||
|  | 		 | ||||||
| 		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Comprehensive_NCRManagement_Sys_User", Storage="_Comprehensive_NCRManagement", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] | 		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Comprehensive_NCRManagement_Sys_User", Storage="_Comprehensive_NCRManagement", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] | ||||||
| 		public EntitySet<Comprehensive_NCRManagement> Comprehensive_NCRManagement | 		public EntitySet<Comprehensive_NCRManagement> Comprehensive_NCRManagement | ||||||
| 		{ | 		{ | ||||||
|  |  | ||||||
|  | @ -4,13 +4,13 @@ https://go.microsoft.com/fwlink/?LinkID=208121. | ||||||
| --> | --> | ||||||
| <Project> | <Project> | ||||||
|   <PropertyGroup> |   <PropertyGroup> | ||||||
|     <DeleteExistingFiles>False</DeleteExistingFiles> |     <DeleteExistingFiles>false</DeleteExistingFiles> | ||||||
|     <ExcludeApp_Data>False</ExcludeApp_Data> |     <ExcludeApp_Data>false</ExcludeApp_Data> | ||||||
|     <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> |     <LaunchSiteAfterPublish>true</LaunchSiteAfterPublish> | ||||||
|     <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> |     <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> | ||||||
|     <LastUsedPlatform>Any CPU</LastUsedPlatform> |     <LastUsedPlatform>Any CPU</LastUsedPlatform> | ||||||
|     <PublishProvider>FileSystem</PublishProvider> |     <PublishProvider>FileSystem</PublishProvider> | ||||||
|     <PublishUrl>E:\发布\辰达</PublishUrl> |     <PublishUrl>D:\发布\辰达</PublishUrl> | ||||||
|     <WebPublishMethod>FileSystem</WebPublishMethod> |     <WebPublishMethod>FileSystem</WebPublishMethod> | ||||||
|     <_TargetId>Folder</_TargetId> |     <_TargetId>Folder</_TargetId> | ||||||
|     <SiteUrlToLaunchAfterPublish /> |     <SiteUrlToLaunchAfterPublish /> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue