20240507
This commit is contained in:
		
							parent
							
								
									0ede39d15e
								
							
						
					
					
						commit
						a041fdd85d
					
				|  | @ -27,7 +27,7 @@ REM -------------- | |||
| @echo. | ||||
| @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 完成 | ||||
| pause | ||||
|  |  | |||
|  | @ -233,7 +233,7 @@ namespace BLL | |||
|                 var res = getDataLists.ToList(); | ||||
|                 foreach (var x in res) | ||||
|                 { | ||||
|                     x.child = getAllDataLists.Where(xx => xx.SupResourcesId == x.ResourcesId).ToList(); | ||||
|                     x.child = getTestTrainingListBySupTrainingId(x.ResourcesId); | ||||
|                 }  | ||||
|                 return res; | ||||
| 
 | ||||
|  |  | |||
|  | @ -252,6 +252,7 @@ namespace BLL | |||
|                 ViceCNProfessionalId = user.ViceCNProfessionalId, | ||||
|                 WorkNo = user.WorkNo, | ||||
|                 HomePageType = user.HomePageType, | ||||
|                 IsExpertArgumentationIsAuditor=user.IsExpertArgumentationIsAuditor | ||||
|             }; | ||||
|             db.Sys_User.InsertOnSubmit(newUser); | ||||
|             db.SubmitChanges(); | ||||
|  | @ -335,6 +336,7 @@ namespace BLL | |||
|                     newUser.ViceCNProfessionalId = user.ViceCNProfessionalId; | ||||
|                     newUser.WorkNo = user.WorkNo; | ||||
|                     newUser.HomePageType = user.HomePageType; | ||||
|                     newUser.IsExpertArgumentationIsAuditor = user.IsExpertArgumentationIsAuditor; | ||||
|                     db.SubmitChanges(); | ||||
|                 } | ||||
|             } | ||||
|  |  | |||
|  | @ -1799,3 +1799,212 @@ IP地址:::1 | |||
|     出错时间: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:NumberBox runat="server" ID="txtTrainPersonNum" NoDecimal="true" NoNegative="true" Label="培训人次" LabelWidth="100px"></f:NumberBox> | ||||
|                     <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="3"/> | ||||
|                               <f:ListItem Text="已取消" Value="0"/> | ||||
|                              <%-- <f:ListItem Text="已取消" Value="0"/>--%> | ||||
|                         </f:DropDownList> | ||||
|                 </Items> | ||||
|             </f:FormRow> | ||||
|  |  | |||
|  | @ -20,6 +20,11 @@ | |||
|                         </f:TextBox> | ||||
|                     </Items> | ||||
|                 </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"> | ||||
|                     <Items> | ||||
|                         <f:TextBox ID="txtUnitWorkName" runat="server" Label="单位工程名称" | ||||
|  | @ -27,11 +32,7 @@ | |||
|                         </f:TextBox> | ||||
|                     </Items> | ||||
|                 </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> | ||||
|                     <Items> | ||||
|                         <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> | ||||
|         protected global::FineUIPro.TextBox txtUnitWorkCode; | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// txtUnitWorkName 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.TextBox txtUnitWorkName; | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// drpInstallation 控件。 | ||||
|         /// </summary> | ||||
|  | @ -68,6 +59,15 @@ namespace FineUIPro.Web.ProjectData | |||
|         /// </remarks> | ||||
|         protected global::FineUIPro.DropDownList drpInstallation; | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// txtUnitWorkName 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.TextBox txtUnitWorkName; | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// txtCosts 控件。 | ||||
|         /// </summary> | ||||
|  |  | |||
|  | @ -51,7 +51,7 @@ | |||
|                  | ||||
|                 <f:FormRow runat="server"> | ||||
|                     <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 ID="drpViceCNProfessional" runat="server" Label="副专业" EnableEdit="true"  | ||||
|                         EnableMultiSelect="true" MaxLength="500" EnableCheckBoxSelect="true"> | ||||
|  | @ -62,12 +62,13 @@ | |||
|                         </f:RadioButtonList> | ||||
|                     </Items> | ||||
|                 </f:FormRow>  | ||||
|                   <f:FormRow ColumnWidths="33.33%  "> | ||||
|                   <f:FormRow ColumnWidths="33.33% 33.33% "> | ||||
|                     <Items> | ||||
|                           <f:DropDownList ID="drpIsPost" runat="server" Label="在岗" EnableEdit="true" ForceSelection="false" | ||||
|                             Required="true" ShowRedStar="true" LabelWidth="90px"> | ||||
|                         </f:DropDownList> | ||||
|                           | ||||
|                          <f:CheckBox Text="是否专家论证审核人员" ID="cbExpertArgumentationIsAuditor" runat="server"  LabelAlign="Right"    Width="150px" LabelWidth="90px" MarginLeft="50px"></f:CheckBox> | ||||
| 
 | ||||
|                     </Items> | ||||
|                 </f:FormRow>   | ||||
|                 <f:FormRow ColumnWidths=" 30.33% 5% 33.33%"> | ||||
|  | @ -80,8 +81,12 @@ | |||
|                             <f:FileUpload runat="server" ID="fileSignature" EmptyText="请选择" | ||||
|                                 OnFileSelected="btnSignature_Click" AutoPostBack="true" Width="150px" LabelWidth="90px"> | ||||
|                             </f:FileUpload> | ||||
| 
 | ||||
| 
 | ||||
|                     </Items> | ||||
|                 </f:FormRow>   | ||||
|                    | ||||
| 
 | ||||
|             </Rows> | ||||
|             <Toolbars> | ||||
|                 <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); | ||||
|                         } | ||||
|                         if(user.IsExpertArgumentationIsAuditor.HasValue && user.IsExpertArgumentationIsAuditor.Value) | ||||
|                         { | ||||
|                             this.cbExpertArgumentationIsAuditor.Checked = true; | ||||
|                         } | ||||
|                         this.txtTelephone.Text = user.Telephone; | ||||
|                         if (user.IsOffice == true) | ||||
|                         { | ||||
|  | @ -202,6 +206,15 @@ namespace FineUIPro.Web.SysManage | |||
|             { | ||||
|                 newUser.UnitId = this.drpUnit.SelectedValue; | ||||
|             } | ||||
|             if (this.cbExpertArgumentationIsAuditor.Checked == true ) | ||||
|             { | ||||
|                 newUser.IsExpertArgumentationIsAuditor =true ; | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 newUser.IsExpertArgumentationIsAuditor = false; | ||||
| 
 | ||||
|             } | ||||
|             if (!BLL.CommonService.IsMainUnitOrAdmin(this.CurrUser.UserId)) ///不是企业单位或者管理员 | ||||
|             { | ||||
|                 newUser.UnitId = this.CurrUser.UnitId; | ||||
|  |  | |||
|  | @ -11,223 +11,232 @@ namespace FineUIPro.Web.SysManage | |||
| { | ||||
| 
 | ||||
| 
 | ||||
| 	public partial class UserListEdit | ||||
| 	{ | ||||
|     public partial class UserListEdit | ||||
|     { | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// form1 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::System.Web.UI.HtmlControls.HtmlForm form1; | ||||
|         /// <summary> | ||||
|         /// form1 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlForm form1; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// PageManager1 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.PageManager PageManager1; | ||||
|         /// <summary> | ||||
|         /// PageManager1 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.PageManager PageManager1; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// SimpleForm1 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.Form SimpleForm1; | ||||
|         /// <summary> | ||||
|         /// SimpleForm1 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Form SimpleForm1; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// txtUserCode 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.TextBox txtUserCode; | ||||
|         /// <summary> | ||||
|         /// txtUserCode 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.TextBox txtUserCode; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// txtUserName 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.TextBox txtUserName; | ||||
|         /// <summary> | ||||
|         /// txtUserName 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.TextBox txtUserName; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// txtAccount 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.TextBox txtAccount; | ||||
|         /// <summary> | ||||
|         /// txtAccount 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.TextBox txtAccount; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// drpUnit 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.DropDownList drpUnit; | ||||
|         /// <summary> | ||||
|         /// drpUnit 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.DropDownList drpUnit; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// txtIdentityCard 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.TextBox txtIdentityCard; | ||||
|         /// <summary> | ||||
|         /// txtIdentityCard 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.TextBox txtIdentityCard; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// txtTelephone 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.TextBox txtTelephone; | ||||
|         /// <summary> | ||||
|         /// txtTelephone 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.TextBox txtTelephone; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// trServer 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.FormRow trServer; | ||||
|         /// <summary> | ||||
|         /// trServer 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.FormRow trServer; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// drpDepart 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.DropDownList drpDepart; | ||||
|         /// <summary> | ||||
|         /// drpDepart 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.DropDownList drpDepart; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// drpIsOffice 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.DropDownList drpIsOffice; | ||||
|         /// <summary> | ||||
|         /// drpIsOffice 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.DropDownList drpIsOffice; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// drpRole 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.DropDownList drpRole; | ||||
|         /// <summary> | ||||
|         /// drpRole 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.DropDownList drpRole; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// drpMainCNProfessional 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.DropDownList drpMainCNProfessional; | ||||
|         /// <summary> | ||||
|         /// drpMainCNProfessional 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.DropDownList drpMainCNProfessional; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// drpViceCNProfessional 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.DropDownList drpViceCNProfessional; | ||||
|         /// <summary> | ||||
|         /// drpViceCNProfessional 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.DropDownList drpViceCNProfessional; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// rblHomePageType 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.RadioButtonList rblHomePageType; | ||||
|         /// <summary> | ||||
|         /// rblHomePageType 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.RadioButtonList rblHomePageType; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// drpIsPost 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.DropDownList drpIsPost; | ||||
|         /// <summary> | ||||
|         /// drpIsPost 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.DropDownList drpIsPost; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// Image2 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.Image Image2; | ||||
|         /// <summary> | ||||
|         /// cbExpertArgumentationIsAuditor 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.CheckBox cbExpertArgumentationIsAuditor; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// fileSignature 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.FileUpload fileSignature; | ||||
|         /// <summary> | ||||
|         /// Image2 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Image Image2; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// Toolbar1 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.Toolbar Toolbar1; | ||||
|         /// <summary> | ||||
|         /// fileSignature 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.FileUpload fileSignature; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// btnArrowRefresh 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.Button btnArrowRefresh; | ||||
|         /// <summary> | ||||
|         /// Toolbar1 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Toolbar Toolbar1; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// btnSave 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.Button btnSave; | ||||
|         /// <summary> | ||||
|         /// btnArrowRefresh 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Button btnArrowRefresh; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// btnClose 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.Button btnClose; | ||||
|         /// <summary> | ||||
|         /// btnSave 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Button btnSave; | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// Window1 控件。 | ||||
| 		/// </summary> | ||||
| 		/// <remarks> | ||||
| 		/// 自动生成的字段。 | ||||
| 		/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
| 		/// </remarks> | ||||
| 		protected global::FineUIPro.Window Window1; | ||||
| 	} | ||||
|         /// <summary> | ||||
|         /// btnClose 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Button btnClose; | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// Window1 控件。 | ||||
|         /// </summary> | ||||
|         /// <remarks> | ||||
|         /// 自动生成的字段。 | ||||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Window Window1; | ||||
|     } | ||||
| } | ||||
|  |  | |||
|  | @ -21,9 +21,26 @@ | |||
| <body> | ||||
|     <form id="form1" 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> | ||||
| 
 | ||||
|               <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" | ||||
|                     runat="server" BoxFlex="1" DataKeyNames="SuperviseCheckReportId" AllowCellEditing="true" | ||||
|                     ClicksToEdit="2" DataIDField="SuperviseCheckReportId" AllowSorting="true" SortField="CheckDate" | ||||
|  | @ -118,6 +135,9 @@ | |||
|                         </f:DropDownList> | ||||
|                     </PageItems> | ||||
|                 </f:Grid> | ||||
|                         </Items> | ||||
|                 </f:Panel> | ||||
| 
 | ||||
|             </Items> | ||||
|         </f:Panel> | ||||
|         <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()); | ||||
| 
 | ||||
|                 ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); | ||||
|                 InitTreeMenu(); | ||||
|                 // 绑定表格 | ||||
|                 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> | ||||
|  | @ -46,6 +84,13 @@ namespace FineUIPro.Web.ZHGL.Supervise | |||
|                             + @" LEFT JOIN dbo.Base_Unit AS U ON U.UnitId=S.UnitId" | ||||
|                             + @" WHERE 1=1 "; | ||||
|             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())) | ||||
|             { | ||||
|                 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(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
| 
 | ||||
|         protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e) | ||||
|         { | ||||
|             this.BindGrid(); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | @ -7,11 +7,13 @@ | |||
| // </自动生成> | ||||
| //------------------------------------------------------------------------------ | ||||
| 
 | ||||
| namespace FineUIPro.Web.ZHGL.Supervise { | ||||
|      | ||||
|      | ||||
|     public partial class SuperviseCheckReport { | ||||
|          | ||||
| namespace FineUIPro.Web.ZHGL.Supervise | ||||
| { | ||||
| 
 | ||||
| 
 | ||||
|     public partial class SuperviseCheckReport | ||||
|     { | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// form1 控件。 | ||||
|         /// </summary> | ||||
|  | @ -20,7 +22,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlForm form1; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// PageManager1 控件。 | ||||
|         /// </summary> | ||||
|  | @ -29,7 +31,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.PageManager PageManager1; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// Panel1 控件。 | ||||
|         /// </summary> | ||||
|  | @ -38,7 +40,34 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         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> | ||||
|         /// Grid1 控件。 | ||||
|         /// </summary> | ||||
|  | @ -47,7 +76,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Grid Grid1; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// Toolbar2 控件。 | ||||
|         /// </summary> | ||||
|  | @ -56,7 +85,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Toolbar Toolbar2; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// txtName 控件。 | ||||
|         /// </summary> | ||||
|  | @ -65,7 +94,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.TextBox txtName; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// btnNew 控件。 | ||||
|         /// </summary> | ||||
|  | @ -74,7 +103,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Button btnNew; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// btnEdit 控件。 | ||||
|         /// </summary> | ||||
|  | @ -83,7 +112,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Button btnEdit; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// btnDelete 控件。 | ||||
|         /// </summary> | ||||
|  | @ -92,7 +121,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Button btnDelete; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// btnOut 控件。 | ||||
|         /// </summary> | ||||
|  | @ -101,7 +130,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Button btnOut; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// lblNumber 控件。 | ||||
|         /// </summary> | ||||
|  | @ -110,7 +139,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.WebControls.Label lblNumber; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// lbtnRectify 控件。 | ||||
|         /// </summary> | ||||
|  | @ -119,7 +148,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.WebControls.LinkButton lbtnRectify; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// lblRectify 控件。 | ||||
|         /// </summary> | ||||
|  | @ -128,7 +157,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.WebControls.Label lblRectify; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// lbtnSubRec 控件。 | ||||
|         /// </summary> | ||||
|  | @ -137,7 +166,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.WebControls.LinkButton lbtnSubRec; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// lblSubRec 控件。 | ||||
|         /// </summary> | ||||
|  | @ -146,7 +175,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.WebControls.Label lblSubRec; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// ToolbarSeparator1 控件。 | ||||
|         /// </summary> | ||||
|  | @ -155,7 +184,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// ToolbarText1 控件。 | ||||
|         /// </summary> | ||||
|  | @ -164,7 +193,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.ToolbarText ToolbarText1; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// ddlPageSize 控件。 | ||||
|         /// </summary> | ||||
|  | @ -173,7 +202,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.DropDownList ddlPageSize; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// Window1 控件。 | ||||
|         /// </summary> | ||||
|  | @ -182,7 +211,7 @@ namespace FineUIPro.Web.ZHGL.Supervise { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::FineUIPro.Window Window1; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// Window2 控件。 | ||||
|         /// </summary> | ||||
|  |  | |||
|  | @ -69,6 +69,33 @@ | |||
|                         </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 class="sd-body-center"> | ||||
|                 <div class="sd-body-menus"> | ||||
|  |  | |||
|  | @ -27,6 +27,8 @@ namespace FineUIPro.Web.common | |||
|                 getCQMSProblem(); | ||||
|                 /// 获取施工产值 | ||||
|                 getOutputValue(getProjectLists); | ||||
|                 ///危大工程 | ||||
|                 getSolutionLargerHazard(); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|  | @ -62,12 +64,12 @@ namespace FineUIPro.Web.common | |||
|                     { | ||||
|                         newS.value = new[] { Funs.GetNewDecimalOrZero(strMap[0]), Funs.GetNewDecimalOrZero(strMap[1]) }; | ||||
|                         list.Add(newS); | ||||
|                     }                | ||||
|                     } | ||||
|                 } | ||||
|                 ProjectInfo =  JsonConvert.SerializeObject(list); | ||||
|                 ProjectInfo = JsonConvert.SerializeObject(list); | ||||
|             } | ||||
| 
 | ||||
|             return  getProjects.ToList(); | ||||
|             return getProjects.ToList(); | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|  | @ -122,20 +124,20 @@ namespace FineUIPro.Web.common | |||
| 
 | ||||
| 
 | ||||
|             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 ("成达公司现场人数" == x.ReportItem  ) && y.Years == DateTime.Now.Year | ||||
|                                  where ("成达公司现场人数" == x.ReportItem) && y.Years == DateTime.Now.Year | ||||
|                                  select x.YearTotal).Sum(); | ||||
| 
 | ||||
|             if (ProjectTotal1.HasValue) | ||||
|             { | ||||
|                 this.divGLPerson.InnerHtml = ProjectTotal1.Value.ToString();   | ||||
|                 this.divGLPerson.InnerHtml = ProjectTotal1.Value.ToString(); | ||||
|             } | ||||
| 
 | ||||
|             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) && y.Years == DateTime.Now.Year | ||||
|                                  where ("分包商现场人数" == x.ReportItem) && y.Years == DateTime.Now.Year | ||||
|                                  select x.YearTotal).Sum(); | ||||
| 
 | ||||
|             //if (ProjectTotal2.HasValue && ProjectTotal1.HasValue) | ||||
|  | @ -182,7 +184,7 @@ namespace FineUIPro.Web.common | |||
|             this.divSafeWorkTime.InnerHtml = "0000000000"; | ||||
|             var ProjectTotal = (from x in Funs.DB.HSSE_MonthReportItem | ||||
|                                 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(); | ||||
| 
 | ||||
|             if (ProjectTotal.HasValue) | ||||
|  | @ -207,7 +209,7 @@ namespace FineUIPro.Web.common | |||
| 
 | ||||
|             DateTime time = DateTime.Parse(DateTime.Now.ToString("yyyy-01-01")); | ||||
|             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 | ||||
|                              select new { g.Key, Count = g.Count() }; | ||||
|             var allcout = getRectify.ToList(); | ||||
|  | @ -226,7 +228,7 @@ namespace FineUIPro.Web.common | |||
| 
 | ||||
|                 this.divAllRectify.InnerHtml = total.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 获取合同 | ||||
|         private void getHTContract() | ||||
| 		{ | ||||
| 			var ConstructionNum = Funs.DB.Base_Project.Sum(x => x.ConstructionNum); | ||||
| 			var ConstructionMoney = Funs.DB.Base_Project.Sum(x => x.ConstructionMoney); | ||||
| 			//var getC = (from x in Funs.DB.PHTGL_ContractReview | ||||
| 			//            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 | ||||
| 			//            where x.State == 5 && Convert.ToDateTime(y.ApproveDate).Year == DateTime.Now.Year | ||||
| 			//            select new { x.ContractReviewId, z.ContractAmount }).Distinct(); | ||||
| 			this.divHTNum.InnerHtml ="0"; | ||||
| 			if (ConstructionNum.HasValue) | ||||
| 			{ | ||||
| 				this.divHTNum.InnerHtml = ConstructionNum.Value.ToString(); | ||||
|         { | ||||
|             var ConstructionNum = Funs.DB.Base_Project.Sum(x => x.ConstructionNum); | ||||
|             var ConstructionMoney = Funs.DB.Base_Project.Sum(x => x.ConstructionMoney); | ||||
|             //var getC = (from x in Funs.DB.PHTGL_ContractReview | ||||
|             //            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 | ||||
|             //            where x.State == 5 && Convert.ToDateTime(y.ApproveDate).Year == DateTime.Now.Year | ||||
|             //            select new { x.ContractReviewId, z.ContractAmount }).Distinct(); | ||||
|             this.divHTNum.InnerHtml = "0"; | ||||
|             if (ConstructionNum.HasValue) | ||||
|             { | ||||
|                 this.divHTNum.InnerHtml = ConstructionNum.Value.ToString(); | ||||
| 
 | ||||
| 			} | ||||
| 			decimal d = 0; | ||||
| 			//foreach (var item in getC) | ||||
| 			//{ | ||||
| 			//    d += item.ContractAmount ?? 0; | ||||
| 			//} | ||||
| 			if (ConstructionMoney.HasValue) | ||||
| 			{ | ||||
| 				this.divHTAmount.InnerHtml = ConstructionMoney.Value.ToString("0.####"); | ||||
| 					} | ||||
| 			else | ||||
| 			{ | ||||
| 				this.divHTAmount.InnerHtml = Math.Round((d / 100000000), 4).ToString(); | ||||
| 			} | ||||
|             } | ||||
|             decimal d = 0; | ||||
|             //foreach (var item in getC) | ||||
|             //{ | ||||
|             //    d += item.ContractAmount ?? 0; | ||||
|             //} | ||||
|             if (ConstructionMoney.HasValue) | ||||
|             { | ||||
|                 this.divHTAmount.InnerHtml = ConstructionMoney.Value.ToString("0.####"); | ||||
|             } | ||||
|             else | ||||
|             { | ||||
|                 this.divHTAmount.InnerHtml = Math.Round((d / 100000000), 4).ToString(); | ||||
|             } | ||||
|         } | ||||
|         #endregion | ||||
| 
 | ||||
|  | @ -281,7 +283,7 @@ namespace FineUIPro.Web.common | |||
|                                       where x.CreateDate >= time | ||||
|                                       select x; | ||||
|             var getCheckControl = from x in Funs.DB.Check_CheckControl | ||||
|                                   where x.CheckDate >= time  | ||||
|                                   where x.CheckDate >= time | ||||
|                                   select x; | ||||
|             ///问题总数 | ||||
|             int AllCount = getJointCheckDetail.Count() + getCheckControl.Count(); | ||||
|  | @ -300,7 +302,7 @@ namespace FineUIPro.Web.common | |||
|                     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) | ||||
|             { | ||||
|                 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)); | ||||
|             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(); | ||||
|             } | ||||
| 
 | ||||
|             decimal[] monthValues = 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) | ||||
|             { | ||||
|                 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 { | ||||
|      | ||||
|      | ||||
|     public partial class main { | ||||
|          | ||||
| namespace FineUIPro.Web.common | ||||
| { | ||||
| 
 | ||||
| 
 | ||||
|     public partial class main | ||||
|     { | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// Head1 控件。 | ||||
|         /// </summary> | ||||
|  | @ -20,7 +22,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlHead Head1; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divGLPerson 控件。 | ||||
|         /// </summary> | ||||
|  | @ -29,7 +31,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divGLPerson; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divZYPerson 控件。 | ||||
|         /// </summary> | ||||
|  | @ -38,7 +40,34 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         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> | ||||
|         /// divProjectNum 控件。 | ||||
|         /// </summary> | ||||
|  | @ -47,7 +76,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divProjectNum; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divYearPlanOutPutValue 控件。 | ||||
|         /// </summary> | ||||
|  | @ -56,7 +85,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divYearPlanOutPutValue; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divYearActualOutPutValue 控件。 | ||||
|         /// </summary> | ||||
|  | @ -65,7 +94,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divYearActualOutPutValue; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divHTAmount 控件。 | ||||
|         /// </summary> | ||||
|  | @ -74,7 +103,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHTAmount; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divHTNum 控件。 | ||||
|         /// </summary> | ||||
|  | @ -83,7 +112,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divHTNum; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divSafeWorkTime 控件。 | ||||
|         /// </summary> | ||||
|  | @ -92,7 +121,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSafeWorkTime; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divAllRectify 控件。 | ||||
|         /// </summary> | ||||
|  | @ -101,7 +130,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAllRectify; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divRectifyRate 控件。 | ||||
|         /// </summary> | ||||
|  | @ -110,7 +139,7 @@ namespace FineUIPro.Web.common { | |||
|         /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 | ||||
|         /// </remarks> | ||||
|         protected global::System.Web.UI.HtmlControls.HtmlGenericControl divRectifyRate; | ||||
|          | ||||
| 
 | ||||
|         /// <summary> | ||||
|         /// divCQMSAllNum 控件。 | ||||
|         /// </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 | ||||
| 		{ | ||||
| 			get | ||||
|  | @ -340374,6 +340374,8 @@ namespace Model | |||
| 		 | ||||
| 		private string _HomePageType; | ||||
| 		 | ||||
| 		private System.Nullable<bool> _IsExpertArgumentationIsAuditor; | ||||
| 		 | ||||
| 		private EntitySet<Comprehensive_NCRManagement> _Comprehensive_NCRManagement; | ||||
| 		 | ||||
| 		private EntitySet<Comprehensive_PressurePipe> _Comprehensive_PressurePipe; | ||||
|  | @ -341132,6 +341134,8 @@ namespace Model | |||
|     partial void OnWorkNoChanged(); | ||||
|     partial void OnHomePageTypeChanging(string value); | ||||
|     partial void OnHomePageTypeChanged(); | ||||
|     partial void OnIsExpertArgumentationIsAuditorChanging(System.Nullable<bool> value); | ||||
|     partial void OnIsExpertArgumentationIsAuditorChanged(); | ||||
|     #endregion | ||||
| 		 | ||||
| 		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")] | ||||
| 		public EntitySet<Comprehensive_NCRManagement> Comprehensive_NCRManagement | ||||
| 		{ | ||||
|  |  | |||
|  | @ -4,13 +4,13 @@ https://go.microsoft.com/fwlink/?LinkID=208121. | |||
| --> | ||||
| <Project> | ||||
|   <PropertyGroup> | ||||
|     <DeleteExistingFiles>False</DeleteExistingFiles> | ||||
|     <ExcludeApp_Data>False</ExcludeApp_Data> | ||||
|     <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish> | ||||
|     <DeleteExistingFiles>false</DeleteExistingFiles> | ||||
|     <ExcludeApp_Data>false</ExcludeApp_Data> | ||||
|     <LaunchSiteAfterPublish>true</LaunchSiteAfterPublish> | ||||
|     <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> | ||||
|     <LastUsedPlatform>Any CPU</LastUsedPlatform> | ||||
|     <PublishProvider>FileSystem</PublishProvider> | ||||
|     <PublishUrl>E:\发布\辰达</PublishUrl> | ||||
|     <PublishUrl>D:\发布\辰达</PublishUrl> | ||||
|     <WebPublishMethod>FileSystem</WebPublishMethod> | ||||
|     <_TargetId>Folder</_TargetId> | ||||
|     <SiteUrlToLaunchAfterPublish /> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue