放开日报

This commit is contained in:
李超 2023-03-31 16:33:36 +08:00
parent 3e9efbcf3b
commit 10e1ab0124
2 changed files with 138 additions and 141 deletions

View File

@ -25,7 +25,7 @@ namespace FineUIPro.Web.HSSE.Manager
{
////权限按钮方法
this.GetButtonPower();
this.txtReportYear.Text = string.Format("{0:yyyy}", DateTime.Now);
// 绑定表格
//BindGrid();
@ -43,7 +43,8 @@ namespace FineUIPro.Web.HSSE.Manager
this.tvControlItem.Nodes.Add(rootNode);
var report = from x in Funs.DB.HSSE_MonthReport
where x.ProjectId == CurrUser.LoginProjectId orderby x.Years
where x.ProjectId == CurrUser.LoginProjectId
orderby x.Years
select x;
if (report.Count() > 0)
{
@ -75,12 +76,12 @@ namespace FineUIPro.Web.HSSE.Manager
LEFT JOIN (SELECT a.ReportItem,ISNULL(SUM(ISNULL(a.ProjectTotal,0)),0) AS SumProjectTotal
FROM dbo.HSSE_MonthReportItem a
LEFT JOIN dbo.HSSE_MonthReport b ON b.MonthReportId = a.MonthReportId
WHERE b.ProjectId=@ProjectId AND b.Years < "+ this.tvControlItem.SelectedNode.Text+ @"
WHERE b.ProjectId=@ProjectId AND b.Years < " + this.tvControlItem.SelectedNode.Text + @"
GROUP BY a.ReportItem )t ON t.ReportItem = item.ReportItem
WHERE r.ProjectId=@ProjectId AND r.MonthReportId=@MonthReportId
ORDER BY item.Sort";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@ProjectId",CurrUser.LoginProjectId));
listStr.Add(new SqlParameter("@ProjectId", CurrUser.LoginProjectId));
listStr.Add(new SqlParameter("@MonthReportId", tvControlItem.SelectedNodeID));
SqlParameter[] parameter = listStr.ToArray();
@ -95,21 +96,17 @@ namespace FineUIPro.Web.HSSE.Manager
protected void Grid1_RowDataBound(object sender, GridRowEventArgs e)
{
int editMonth = GetCurMonth();
int cm = 12;
if (DateTime.Now.Year.ToString()== tvControlItem.SelectedNode.Text)
{
cm = DateTime.Now.Month;
}
int cm = GetCurMonth();
for (int i = 1; i <= 12; i++)
{
if (i != editMonth)
if (i != cm)
{
string monthC = "Month" + i.ToString();
RenderField month = Grid1.FindColumn(monthC) as RenderField;
e.CellCssClasses[month.ColumnIndex] = "f-grid-cell-uneditable";
//string monthC = "Month" + i.ToString();
//RenderField month = Grid1.FindColumn(monthC) as RenderField;
//e.CellCssClasses[month.ColumnIndex] = "f-grid-cell-uneditable";
}
// else
else
{
string monthC = "Month" + i.ToString();
RenderField month = Grid1.FindColumn(monthC) as RenderField;
@ -123,7 +120,7 @@ namespace FineUIPro.Web.HSSE.Manager
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode == "CHENGDA"
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = person.Count();
}
@ -136,7 +133,7 @@ namespace FineUIPro.Web.HSSE.Manager
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode == "CHENGDA"
&& z.WorkPostName.Contains("安全")
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = person.Count();
}
@ -147,7 +144,7 @@ namespace FineUIPro.Web.HSSE.Manager
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode != "CHENGDA"
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = person.Count();
}
@ -160,21 +157,21 @@ namespace FineUIPro.Web.HSSE.Manager
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode != "CHENGDA"
&& z.WorkPostName.Contains("安全")
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = person.Count();
}
}
if (e.RowIndex == 4 || e.RowIndex == 5) // 人工时数,安全生产人工时数
{
DateTime? sDate = Convert.ToDateTime(tvControlItem.SelectedNode.Text + "-" + i.ToString());
var dayReports = BLL.SitePerson_MonthReportService.getMonthReports(this.CurrUser.LoginProjectId, sDate);
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "" && dayReports.Count() > 0)
if (e.Values[month.ColumnIndex].ToString() == "" && dayReports.Count() > 0)
{
e.Values[month.ColumnIndex] = dayReports.First().DayWorkTime;
}
else if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
else if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = 0;
}
@ -184,10 +181,10 @@ namespace FineUIPro.Web.HSSE.Manager
if (e.RowIndex == 6) // HSE记录事故数量
{
var accident = from x in Funs.DB.Accident_AccidentPersonRecord
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
select x;
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = accident.Count();
}
@ -198,9 +195,9 @@ namespace FineUIPro.Web.HSSE.Manager
var accident = from x in Funs.DB.Accident_AccidentPersonRecord
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
&& x.Injury=="1"
&& x.Injury == "1"
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = accident.Count();
}
@ -213,7 +210,7 @@ namespace FineUIPro.Web.HSSE.Manager
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
&& x.Injury == "2"
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = accident.Count();
}
@ -226,7 +223,7 @@ namespace FineUIPro.Web.HSSE.Manager
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
&& x.Injury == "3"
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = accident.Count();
}
@ -238,7 +235,7 @@ namespace FineUIPro.Web.HSSE.Manager
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = accident.Count();
}
@ -246,14 +243,14 @@ namespace FineUIPro.Web.HSSE.Manager
if (e.RowIndex == 11) // 现场环境事故
{
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = "0";
}
}
if (e.RowIndex == 12) // 现场发生设备材料盗窃案件
{
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = "0";
}
@ -262,10 +259,10 @@ namespace FineUIPro.Web.HSSE.Manager
if (e.RowIndex == 13) // HSE周会
{
var weekMeeting = from x in Funs.DB.Meeting_WeekMeeting
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.WeekMeetingDate >= startDate && x.WeekMeetingDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.WeekMeetingDate >= startDate && x.WeekMeetingDate < startDate.AddMonths(1)
select x;
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = weekMeeting.Count();
}
@ -277,7 +274,7 @@ namespace FineUIPro.Web.HSSE.Manager
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.AttendMeetingDate >= startDate && x.AttendMeetingDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = weekMeeting.Count();
}
@ -285,7 +282,7 @@ namespace FineUIPro.Web.HSSE.Manager
if (e.RowIndex == 15) // 施工现场HSE联检
{
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = "0";
}
@ -294,10 +291,10 @@ namespace FineUIPro.Web.HSSE.Manager
if (e.RowIndex == 16) // 发布HSE整改通知书
{
var check = from x in Funs.DB.Check_RectifyNotices
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.CheckedDate >= startDate && x.CheckedDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.CheckedDate >= startDate && x.CheckedDate < startDate.AddMonths(1)
select x;
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = check.Count();
}
@ -306,10 +303,10 @@ namespace FineUIPro.Web.HSSE.Manager
if (e.RowIndex == 17) // 关闭HSE整改通知书
{
var check = from x in Funs.DB.Check_RectifyNotices
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.CompleteDate >= startDate && x.CompleteDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.CompleteDate >= startDate && x.CompleteDate < startDate.AddMonths(1)
select x;
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = check.Count();
}
@ -321,7 +318,7 @@ namespace FineUIPro.Web.HSSE.Manager
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.PunishNoticeDate >= startDate && x.PunishNoticeDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = check.Count();
}
@ -330,10 +327,10 @@ namespace FineUIPro.Web.HSSE.Manager
if (e.RowIndex == 19) // 发布应急预案
{
var em = from x in Funs.DB.Emergency_EmergencyList
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.CompileDate >= startDate && x.CompileDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.CompileDate >= startDate && x.CompileDate < startDate.AddMonths(1)
select x;
if (e.Values[month.ColumnIndex].ToString() == "")
{
e.Values[month.ColumnIndex] = em.Count();
}
@ -342,10 +339,10 @@ namespace FineUIPro.Web.HSSE.Manager
if (e.RowIndex == 20) // 人员培训
{
var edu = from x in Funs.DB.EduTrain_TrainRecord
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.TrainStartDate >= startDate && x.TrainStartDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.TrainStartDate >= startDate && x.TrainStartDate < startDate.AddMonths(1)
select x;
if (e.Values[month.ColumnIndex].ToString() == "")
{
if (edu.Count() > 0)
{
@ -364,9 +361,9 @@ namespace FineUIPro.Web.HSSE.Manager
where x.ProjectId == this.CurrUser.LoginProjectId
&& x.CompileDate >= startDate && x.CompileDate < startDate.AddMonths(1)
select x;
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
if (e.Values[month.ColumnIndex].ToString() == "")
{
if (equ.Count()>0)
if (equ.Count() > 0)
{
e.Values[month.ColumnIndex] = equ.Sum(x => x.EquipmentSafetyListCount);
}
@ -404,10 +401,10 @@ namespace FineUIPro.Web.HSSE.Manager
+ Convert.ToInt32(e.Values[month12.ColumnIndex].ToString() != "" ? e.Values[month12.ColumnIndex] : 0);
// 项目总计
e.Values[projectTotal.ColumnIndex] = Convert.ToInt32(e.Values[yearTotal.ColumnIndex]) + Convert.ToInt32(e.Values[sumProjectTotal.ColumnIndex]);
}
}
}
#endregion
@ -608,58 +605,58 @@ namespace FineUIPro.Web.HSSE.Manager
JArray editReport = Grid1.GetMergedData();
if (editReport.Count > 0)
{
if (cm != 0)
if (true || cm != 0)
{
for (int i = 0; i < editReport.Count; i++)
{
JObject objects = (JObject)editReport[i];
string monthReportItemId = objects["values"]["MonthReportItemId"].ToString();
Model.HSSE_MonthReportItem item = Funs.DB.HSSE_MonthReportItem.FirstOrDefault(x => x.MonthReportItemId == monthReportItemId);
if (cm == 1)
// if (cm == 1)
{
item.Month1 = Funs.GetNewInt(objects["values"]["Month1"].ToString());
}
if (cm == 2)
// if (cm == 2)
{
item.Month2 = Funs.GetNewInt(objects["values"]["Month2"].ToString());
}
if (cm == 3)
// if (cm == 3)
{
item.Month3 = Funs.GetNewInt(objects["values"]["Month3"].ToString());
}
if (cm == 4)
// if (cm == 4)
{
item.Month4 = Funs.GetNewInt(objects["values"]["Month4"].ToString());
}
if (cm == 5)
// if (cm == 5)
{
item.Month5 = Funs.GetNewInt(objects["values"]["Month5"].ToString());
}
if (cm == 6)
// if (cm == 6)
{
item.Month6 = Funs.GetNewInt(objects["values"]["Month6"].ToString());
}
if (cm == 7)
//if (cm == 7)
{
item.Month7 = Funs.GetNewInt(objects["values"]["Month7"].ToString());
}
if (cm == 8)
// if (cm == 8)
{
item.Month8 = Funs.GetNewInt(objects["values"]["Month8"].ToString());
}
if (cm == 9)
//if (cm == 9)
{
item.Month9 = Funs.GetNewInt(objects["values"]["Month9"].ToString());
}
if (cm == 10)
// if (cm == 10)
{
item.Month10 = Funs.GetNewInt(objects["values"]["Month10"].ToString());
}
if (cm == 11)
//if (cm == 11)
{
item.Month11 = Funs.GetNewInt(objects["values"]["Month11"].ToString());
}
if (cm == 12)
//if (cm == 12)
{
item.Month12 = Funs.GetNewInt(objects["values"]["Month12"].ToString());
}
@ -698,7 +695,7 @@ namespace FineUIPro.Web.HSSE.Manager
{
cm = m;
}
if (nd <= 4)
if (nd <= 20)
{
cm = lm;
}

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0"?>
<!--
有关如何配置 ASP.NET 应用程序的详细消息,请访问
@ -6,31 +6,31 @@
-->
<configuration>
<configSections>
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false" />
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
</configSections>
<FineUIPro DebugMode="false" Theme="Cupertino" />
<FineUIPro DebugMode="false" Theme="Cupertino"/>
<appSettings>
<!--连接字符串-->
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_CD;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
<add key="ConnectionString" value="Server=.\;Database=SGGLDB_CD;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true; Connect Timeout=1200;Pooling=true; MAX Pool Size=512;Min Pool Size=50;Connection Lifetime=30" />
<add key="ConnectionString" value="Server=.\;Database=SGGLDB_CD;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true; Connect Timeout=1200;Pooling=true; MAX Pool Size=512;Min Pool Size=50;Connection Lifetime=30"/>
<!--系统名称-->
<add key="SystemName" value="数字化施工管理信息平台V1.0" />
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;" />
<add key="aspnet:MaxHttpCollectionKeys" value="50000" />
<add key="SGGLUrl" value="http://localhost/sggl/" />
<add key="SystemVersion" value="SGGLPackFile_V2022-11-11-001" />
<add key="SystemName" value="数字化施工管理信息平台V1.0"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
<add key="aspnet:MaxHttpCollectionKeys" value="50000"/>
<add key="SGGLUrl" value="http://localhost/sggl/"/>
<add key="SystemVersion" value="SGGLPackFile_V2022-11-11-001"/>
<!--启用与集团实名制 True启用 False 不启用-->
<add key="EnableRealName" value="False" />
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour11" />
<add key="Intervaltime" value="20" />
<add key="EnableRealName" value="False"/>
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour11"/>
<add key="Intervaltime" value="20"/>
<!--附件上传物理路径-->
<add key="localRoot" value="D:\ChengDa\SGGL_CD\SGGL\FineUIPro.Web\" />
<add key="localRoot" value="D:\ChengDa\SGGL_CD\SGGL\FineUIPro.Web\"/>
<!--视频服务器-->
<add key="Video_URL" value="http://sggljk.chengda.com:10000/" />
<add key="Video_USER" value="admin" />
<add key="Video_PW" value="admin" />
<add key="Video_URL" value="http://sggljk.chengda.com:10000/"/>
<add key="Video_USER" value="admin"/>
<add key="Video_PW" value="admin"/>
<!--跳转小程序类型developer为开发版trial为体验版formal为正式版默认为正式版-->
<add key="miniprogram_state" value="developer" />
<add key="miniprogram_state" value="developer"/>
</appSettings>
<!--
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
@ -42,107 +42,107 @@
-->
<system.web>
<!-- 会话状态设置 默认情况下ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie请设置 sessionState cookieless="true" -->
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200" />
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200"/>
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
<controls>
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f" />
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f"/>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<httpModules>
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
<httpHandlers>
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false" />
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
</httpHandlers>
<compilation debug="false" targetFramework="4.6.1" />
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000" maxQueryStringLength="2097151" />
<compilation debug="true" targetFramework="4.6.1"/>
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000" maxQueryStringLength="2097151"/>
<authentication mode="Forms">
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/" />
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/"/>
</authentication>
<membership>
<providers>
<clear />
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
</providers>
</membership>
<profile>
<providers>
<clear />
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
</profile>
<roleManager enabled="false">
<providers>
<clear />
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
<clear/>
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
</providers>
</roleManager>
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx" />
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx"/>
</system.web>
<location path="res.axd" />
<location path="res.axd"/>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File" />
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File" />
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File"/>
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File"/>
</staticContent>
<validation validateIntegratedModeConfiguration="false" />
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="ChartImageHandler" />
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" />
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
<remove name="ChartImageHandler"/>
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro"/>
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
</handlers>
<defaultDocument>
<files>
<add value="Login.aspx" />
<add value="Login.aspx"/>
</files>
</defaultDocument>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="500000000" maxQueryString="2147483647" />
<requestLimits maxAllowedContentLength="500000000" maxQueryString="2147483647"/>
</requestFiltering>
</security>
</system.webServer>
</system.webServer>
<!-- SERVER -->
<system.serviceModel>
<client>
<endpoint address="http://172.25.0.43/services/OfsTodoDataWebService" binding="basicHttpBinding" bindingConfiguration="OfsTodoDataWebServiceHttpBinding" contract="OAWebService.OfsTodoDataWebServicePortType" name="OfsTodoDataWebServiceHttpPort" />
<endpoint address="http://172.25.0.43/services/OfsTodoDataWebService" binding="basicHttpBinding" bindingConfiguration="OfsTodoDataWebServiceHttpBinding" contract="OAWebService.OfsTodoDataWebServicePortType" name="OfsTodoDataWebServiceHttpPort"/>
</client>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
<services>
<service name="BLL.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService" />
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="BLL.HSSEServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647" />
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<basicHttpBinding>
<binding name="OfsTodoDataWebServiceHttpBinding" />
<binding name="OfsTodoDataWebServiceHttpBinding"/>
</basicHttpBinding>
<wsHttpBinding>
<binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />
<security mode="None" />
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000"/>
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
@ -150,16 +150,16 @@
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0" />
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>