考试导出
This commit is contained in:
parent
4a1bd7a7b3
commit
48129fe367
|
@ -1410,6 +1410,8 @@
|
||||||
var getTestRecord = TestRecordService.GetTestRecordById(testRecordId);
|
var getTestRecord = TestRecordService.GetTestRecordById(testRecordId);
|
||||||
if (getTestRecord != null)
|
if (getTestRecord != null)
|
||||||
{
|
{
|
||||||
|
var sysTestRule = Funs.DB.Sys_TestRule.FirstOrDefault();
|
||||||
|
|
||||||
var getTestItems = from x in Funs.DB.Training_TestRecordItem
|
var getTestItems = from x in Funs.DB.Training_TestRecordItem
|
||||||
where x.TestRecordId == testRecordId
|
where x.TestRecordId == testRecordId
|
||||||
select x;
|
select x;
|
||||||
|
@ -1465,11 +1467,11 @@
|
||||||
sb.Append("</table>");
|
sb.Append("</table>");
|
||||||
|
|
||||||
sb.Append("<table width=\"100% \" cellspacing=\"0\" rules=\"all\" border=\"0\" style=\"border-collapse:collapse;font-size: 10.5pt;\">");
|
sb.Append("<table width=\"100% \" cellspacing=\"0\" rules=\"all\" border=\"0\" style=\"border-collapse:collapse;font-size: 10.5pt;\">");
|
||||||
///单项选择题
|
///单项选择题
|
||||||
sb.Append("<tr style=\"height: 30px\">");
|
|
||||||
sb.AppendFormat("<td align=\"left\" style=\"width:100%; font-weight: bold;\">{0}</td> ", "一、单项选择题 (每题2分,共50分)");
|
|
||||||
sb.Append("</tr>");
|
|
||||||
var getSingleItem = getTestItems.Where(x=> x.TestType == "1").ToList();
|
var getSingleItem = getTestItems.Where(x=> x.TestType == "1").ToList();
|
||||||
|
sb.Append("<tr style=\"height: 30px\">");
|
||||||
|
sb.AppendFormat("<td align=\"left\" style=\"width:100%; font-weight: bold;\">{0}</td> ", "一、单项选择题 (每题"+ sysTestRule.SValue+ "分,共"+ (sysTestRule.SValue*getSingleItem.Count) + "分)");
|
||||||
|
sb.Append("</tr>");
|
||||||
if (getSingleItem.Count > 0)
|
if (getSingleItem.Count > 0)
|
||||||
{
|
{
|
||||||
int num = 1;
|
int num = 1;
|
||||||
|
@ -1478,7 +1480,7 @@
|
||||||
sb.Append("<tr style=\"height: 30px\">");
|
sb.Append("<tr style=\"height: 30px\">");
|
||||||
string Avstracts = item.Abstracts.Replace(" ", "").Replace(" ", "").Replace("(", "(").Replace(")", ")").Replace("()", "(" + item.SelectedItem + ")");
|
string Avstracts = item.Abstracts.Replace(" ", "").Replace(" ", "").Replace("(", "(").Replace(")", ")").Replace("()", "(" + item.SelectedItem + ")");
|
||||||
|
|
||||||
sb.AppendFormat("<td align=\"left\" style=\"width:100%;\">{0}</td> ", num + "、" + Avstracts);
|
sb.AppendFormat("<td align=\"left\" style=\"width:100%;\">{0}</td> ", num + "、" + Avstracts + " 正确答案:"+ item.AnswerItems);
|
||||||
sb.Append("</tr>");
|
sb.Append("</tr>");
|
||||||
sb.Append("<tr style=\"height: 30px\">");
|
sb.Append("<tr style=\"height: 30px\">");
|
||||||
string str = string.Empty;
|
string str = string.Empty;
|
||||||
|
@ -1502,26 +1504,27 @@
|
||||||
sb.AppendFormat("<td align=\"left\" style=\"width:100%; \">{0}</td> ", str);
|
sb.AppendFormat("<td align=\"left\" style=\"width:100%; \">{0}</td> ", str);
|
||||||
|
|
||||||
sb.Append("</tr>");
|
sb.Append("</tr>");
|
||||||
sb.Append("<tr style=\"height: 30px\">");
|
//sb.Append("<tr style=\"height: 30px\">");
|
||||||
sb.AppendFormat("<td align=\"right\" style=\"width:100%; \">正确答案:{0}</td> ", item.AnswerItems);
|
//sb.AppendFormat("<td align=\"right\" style=\"width:100%; \">正确答案:{0}</td> ", item.AnswerItems);
|
||||||
sb.Append("</tr>");
|
//sb.Append("</tr>");
|
||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
///多项选择题
|
///多项选择题
|
||||||
|
var getMultipleItem = getTestItems.Where(x => x.TestType == "2").ToList();
|
||||||
sb.Append("<tr style=\"height: 30px\">");
|
sb.Append("<tr style=\"height: 30px\">");
|
||||||
sb.AppendFormat("<td align=\"left\" style=\"width: 100%; font-weight: bold; \">{0}</td> ", "二、多项选择题 (每题3分,共30分)");
|
sb.AppendFormat("<td align=\"left\" style=\"width: 100%; font-weight: bold; \">{0}</td> ", "二、多项选择题 (每题"+ sysTestRule.MValue+ "分,共"+(getMultipleItem.Count * getMultipleItem.Count) +"分)");
|
||||||
sb.Append("</tr>");
|
sb.Append("</tr>");
|
||||||
|
|
||||||
var getMultipleItem = getTestItems.Where(x => x.TestType == "2").ToList();
|
|
||||||
if (getMultipleItem.Count > 0)
|
if (getMultipleItem.Count > 0)
|
||||||
{
|
{
|
||||||
int num = 1;
|
int num = 1;
|
||||||
foreach (var item in getMultipleItem)
|
foreach (var item in getMultipleItem)
|
||||||
{
|
{
|
||||||
string Avstracts = item.Abstracts.Replace(" ", "").Replace(" ", "").Replace("(", "(").Replace(")", ")").Replace("()", "(" + item.SelectedItem + ")");
|
string Avstracts = item.Abstracts.Replace(" ", "").Replace(" ", "").Replace("(", "(").Replace(")", ")").Replace("()", "(" + item.SelectedItem + ")");
|
||||||
sb.AppendFormat("<td align=\"left\" style=\"width:100%; \">{0}</td> ", num + "、" + Avstracts);
|
sb.AppendFormat("<td align=\"left\" style=\"width:100%; \">{0}</td> ", num + "、" + Avstracts + " 正确答案:" + item.AnswerItems);
|
||||||
sb.Append("</tr>");
|
sb.Append("</tr>");
|
||||||
sb.Append("<tr style=\"height:30px\">");
|
sb.Append("<tr style=\"height:30px\">");
|
||||||
string str = string.Empty;
|
string str = string.Empty;
|
||||||
|
@ -1544,18 +1547,19 @@
|
||||||
|
|
||||||
sb.AppendFormat("<td align=\"left\" style=\"width: 100%; \">{0}</td> ", str);
|
sb.AppendFormat("<td align=\"left\" style=\"width: 100%; \">{0}</td> ", str);
|
||||||
sb.Append("</tr>");
|
sb.Append("</tr>");
|
||||||
sb.Append("<tr style=\"height: 30px\">");
|
//sb.Append("<tr style=\"height: 30px\">");
|
||||||
sb.AppendFormat("<td align=\"right\" style=\"width:100%; \">正确答案:{0}</td> ", item.AnswerItems);
|
//sb.AppendFormat("<td align=\"right\" style=\"width:100%; \">正确答案:{0}</td> ", item.AnswerItems);
|
||||||
sb.Append("</tr>");
|
//sb.Append("</tr>");
|
||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
///判断题
|
///判断题
|
||||||
sb.Append("<tr style=\"height: 30px\">");
|
|
||||||
sb.AppendFormat("<td align=\"left\" style=\"width: 100%; font-weight: bold;\">{0}</td> ", "三、判断题 (每题1分,共20分)");
|
|
||||||
sb.Append("</tr>");
|
|
||||||
var getIsTrueItem = getTestItems.Where(x => x.TestType == "3").ToList();
|
var getIsTrueItem = getTestItems.Where(x => x.TestType == "3").ToList();
|
||||||
|
sb.Append("<tr style=\"height: 30px\">");
|
||||||
|
sb.AppendFormat("<td align=\"left\" style=\"width: 100%; font-weight: bold;\">{0}</td> ", "三、判断题 (每题"+ sysTestRule.JValue + "分,共"+(sysTestRule.JValue+ getIsTrueItem.Count) + "分)");
|
||||||
|
sb.Append("</tr>");
|
||||||
|
|
||||||
if (getIsTrueItem.Count > 0)
|
if (getIsTrueItem.Count > 0)
|
||||||
{
|
{
|
||||||
int num = 1;
|
int num = 1;
|
||||||
|
@ -1572,11 +1576,11 @@
|
||||||
if (Avstracts.IndexOf("(") > -1)
|
if (Avstracts.IndexOf("(") > -1)
|
||||||
Avstracts = Avstracts.Replace("(", "(" + item.SelectedItem == "(A" ? "(√" : "(×");
|
Avstracts = Avstracts.Replace("(", "(" + item.SelectedItem == "(A" ? "(√" : "(×");
|
||||||
}
|
}
|
||||||
sb.AppendFormat("<td align=\"left\" style=\"width: 100%; \">{0}</td> ", num + "、" + Avstracts);
|
sb.AppendFormat("<td align=\"left\" style=\"width: 100%; \">{0}</td> ", num + "、" + Avstracts + "正确答案:"+ item.AnswerItems == "A" ? "√" : "×");
|
||||||
sb.Append("</tr>");
|
//sb.Append("</tr>");
|
||||||
sb.Append("<tr style=\"height: 30px\">");
|
//sb.Append("<tr style=\"height: 30px\">");
|
||||||
sb.AppendFormat("<td align=\"right\" style=\"width:100%; \">正确答案:{0}</td> ", item.AnswerItems== "=="? "√" : "×");
|
//sb.AppendFormat("<td align=\"right\" style=\"width:100%; \">正确答案:{0}</td> ", item.AnswerItems== "=="? "√" : "×");
|
||||||
sb.Append("</tr>");
|
//sb.Append("</tr>");
|
||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -173,28 +173,28 @@
|
||||||
if (params.rowValue.ReportItem === '一次拍片数' ) {
|
if (params.rowValue.ReportItem === '一次拍片数' ) {
|
||||||
var columnValue1 = me.getCellValue(rowId, columnId);
|
var columnValue1 = me.getCellValue(rowId, columnId);
|
||||||
var columnValue2 = me.getCellValue(me.data[params.rowIndex + 1].id, columnId);
|
var columnValue2 = me.getCellValue(me.data[params.rowIndex + 1].id, columnId);
|
||||||
me.updateCellValue(me.data[params.rowIndex + 2].id, columnId, (100.0 * columnValue1 / columnValue2).toFixed(2));
|
me.updateCellValue(me.data[params.rowIndex + 2].id, columnId, (100.0 * columnValue2 /columnValue1 ).toFixed(2));
|
||||||
|
|
||||||
var columnValue3 = me.getCellValue(rowId, 'YearTotal');
|
var columnValue3 = me.getCellValue(rowId, 'YearTotal');
|
||||||
var columnValue4 = me.getCellValue(me.data[params.rowIndex + 1].id, 'YearTotal');
|
var columnValue4 = me.getCellValue(me.data[params.rowIndex + 1].id, 'YearTotal');
|
||||||
me.updateCellValue(me.data[params.rowIndex + 2].id, 'YearTotal', (100.0 * columnValue3 / columnValue4).toFixed(2));
|
me.updateCellValue(me.data[params.rowIndex + 2].id, 'YearTotal', (100.0 * columnValue4 /columnValue3 ).toFixed(2));
|
||||||
|
|
||||||
var columnValue5 = me.getCellValue(rowId, 'ProjectTotal');
|
var columnValue5 = me.getCellValue(rowId, 'ProjectTotal');
|
||||||
var columnValue6 = me.getCellValue(me.data[params.rowIndex + 1].id, 'ProjectTotal');
|
var columnValue6 = me.getCellValue(me.data[params.rowIndex + 1].id, 'ProjectTotal');
|
||||||
me.updateCellValue(me.data[params.rowIndex + 2].id, 'ProjectTotal', (100.0 * columnValue5 / columnValue6).toFixed(2));
|
me.updateCellValue(me.data[params.rowIndex + 2].id, 'ProjectTotal', (100.0 * columnValue6/ columnValue5).toFixed(2));
|
||||||
|
|
||||||
} else if ( params.rowValue.ReportItem === '一次合格数') {
|
} else if ( params.rowValue.ReportItem === '一次合格数') {
|
||||||
var columnValue1 = me.getCellValue(me.data[params.rowIndex - 1].id, columnId);
|
var columnValue1 = me.getCellValue(me.data[params.rowIndex - 1].id, columnId);
|
||||||
var columnValue2 = me.getCellValue(rowId, columnId);
|
var columnValue2 = me.getCellValue(rowId, columnId);
|
||||||
me.updateCellValue(me.data[params.rowIndex + 1].id, columnId, (100.0 * columnValue1 / columnValue2).toFixed(2));
|
me.updateCellValue(me.data[params.rowIndex + 1].id, columnId, (100.0 * columnValue2 /columnValue1 ).toFixed(2));
|
||||||
|
|
||||||
var columnValue3 = me.getCellValue(me.data[params.rowIndex - 1].id, 'YearTotal');
|
var columnValue3 = me.getCellValue(me.data[params.rowIndex - 1].id, 'YearTotal');
|
||||||
var columnValue4 = me.getCellValue(rowId, 'YearTotal');
|
var columnValue4 = me.getCellValue(rowId, 'YearTotal');
|
||||||
me.updateCellValue(me.data[params.rowIndex + 1].id, 'YearTotal', (100.0 * columnValue3 / columnValue4).toFixed(2));
|
me.updateCellValue(me.data[params.rowIndex + 1].id, 'YearTotal', (100.0 * columnValue4 /columnValue3 ).toFixed(2));
|
||||||
|
|
||||||
var columnValue5 = me.getCellValue(me.data[params.rowIndex - 1].id, 'ProjectTotal');
|
var columnValue5 = me.getCellValue(me.data[params.rowIndex - 1].id, 'ProjectTotal');
|
||||||
var columnValue6 = me.getCellValue(rowId, 'ProjectTotal');
|
var columnValue6 = me.getCellValue(rowId, 'ProjectTotal');
|
||||||
me.updateCellValue(me.data[params.rowIndex + 1].id, 'ProjectTotal', (100.0 * columnValue5 / columnValue6).toFixed(2));
|
me.updateCellValue(me.data[params.rowIndex + 1].id, 'ProjectTotal', (100.0 * columnValue6 /columnValue5 ).toFixed(2));
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0"?>
|
||||||
<!--
|
<!--
|
||||||
有关如何配置 ASP.NET 应用程序的详细消息,请访问
|
有关如何配置 ASP.NET 应用程序的详细消息,请访问
|
||||||
|
|
||||||
|
@ -6,31 +6,31 @@
|
||||||
-->
|
-->
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false" />
|
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
|
||||||
</configSections>
|
</configSections>
|
||||||
<FineUIPro DebugMode="false" Theme="Cupertino" />
|
<FineUIPro DebugMode="false" Theme="Cupertino"/>
|
||||||
<appSettings>
|
<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"/>-->
|
||||||
<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="SystemName" value="数字化施工管理信息平台V1.0"/>
|
||||||
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;" />
|
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
|
||||||
<add key="aspnet:MaxHttpCollectionKeys" value="50000" />
|
<add key="aspnet:MaxHttpCollectionKeys" value="50000"/>
|
||||||
<add key="SGGLUrl" value="https://sggl.chengda.com/" />
|
<add key="SGGLUrl" value="https://sggl.chengda.com/"/>
|
||||||
<add key="SystemVersion" value="SGGLPackFile_V2022-11-11-001" />
|
<add key="SystemVersion" value="SGGLPackFile_V2022-11-11-001"/>
|
||||||
<!--启用与集团实名制 True启用 False 不启用-->
|
<!--启用与集团实名制 True启用 False 不启用-->
|
||||||
<add key="EnableRealName" value="False" />
|
<add key="EnableRealName" value="False"/>
|
||||||
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour11" />
|
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour11"/>
|
||||||
<add key="Intervaltime" value="20" />
|
<add key="Intervaltime" value="20"/>
|
||||||
<!--附件上传物理路径-->
|
<!--附件上传物理路径-->
|
||||||
<add key="localRoot" value="D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\" />
|
<add key="localRoot" value="D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\"/>
|
||||||
<!--视频服务器-->
|
<!--视频服务器-->
|
||||||
<add key="Video_URL" value="http://sggljk.chengda.com:10000/" />
|
<add key="Video_URL" value="http://sggljk.chengda.com:10000/"/>
|
||||||
<add key="Video_USER" value="admin" />
|
<add key="Video_USER" value="admin"/>
|
||||||
<add key="Video_PW" value="admin" />
|
<add key="Video_PW" value="admin"/>
|
||||||
<!--跳转小程序类型:developer为开发版;trial为体验版;formal为正式版;默认为正式版-->
|
<!--跳转小程序类型:developer为开发版;trial为体验版;formal为正式版;默认为正式版-->
|
||||||
<add key="miniprogram_state" value="developer" />
|
<add key="miniprogram_state" value="developer"/>
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<!--
|
<!--
|
||||||
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
||||||
|
@ -42,111 +42,110 @@
|
||||||
-->
|
-->
|
||||||
<system.web>
|
<system.web>
|
||||||
<!-- 会话状态设置 默认情况下,ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie,请设置 sessionState cookieless="true" -->
|
<!-- 会话状态设置 默认情况下,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">
|
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
|
||||||
<controls>
|
<controls>
|
||||||
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f" />
|
<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" 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 tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
</controls>
|
</controls>
|
||||||
</pages>
|
</pages>
|
||||||
<httpModules>
|
<httpModules>
|
||||||
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
|
<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="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
</httpModules>
|
</httpModules>
|
||||||
<httpHandlers>
|
<httpHandlers>
|
||||||
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false" />
|
<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="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 path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
|
||||||
</httpHandlers>
|
</httpHandlers>
|
||||||
<compilation debug="false" targetFramework="4.6.1" />
|
<compilation debug="true" targetFramework="4.6.1"/>
|
||||||
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000" maxQueryStringLength="2097151" />
|
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000" maxQueryStringLength="2097151"/>
|
||||||
<authentication mode="Forms">
|
<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>
|
</authentication>
|
||||||
<membership>
|
<membership>
|
||||||
<providers>
|
<providers>
|
||||||
<clear />
|
<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="/" />
|
<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>
|
</providers>
|
||||||
</membership>
|
</membership>
|
||||||
<profile>
|
<profile>
|
||||||
<providers>
|
<providers>
|
||||||
<clear />
|
<clear/>
|
||||||
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
|
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
|
||||||
</providers>
|
</providers>
|
||||||
</profile>
|
</profile>
|
||||||
<roleManager enabled="false">
|
<roleManager enabled="false">
|
||||||
<providers>
|
<providers>
|
||||||
<clear />
|
<clear/>
|
||||||
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
|
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
|
||||||
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
|
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
|
||||||
</providers>
|
</providers>
|
||||||
</roleManager>
|
</roleManager>
|
||||||
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx" />
|
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx"/>
|
||||||
</system.web>
|
</system.web>
|
||||||
<location path="res.axd" />
|
<location path="res.axd"/>
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
<staticContent>
|
<staticContent>
|
||||||
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File" />
|
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File"/>
|
||||||
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File" />
|
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File"/>
|
||||||
</staticContent>
|
</staticContent>
|
||||||
<validation validateIntegratedModeConfiguration="false" />
|
<validation validateIntegratedModeConfiguration="false"/>
|
||||||
<modules runAllManagedModulesForAllRequests="true">
|
<modules runAllManagedModulesForAllRequests="true">
|
||||||
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
|
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
|
||||||
<remove name="ScriptModule" />
|
<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="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
</modules>
|
</modules>
|
||||||
<handlers>
|
<handlers>
|
||||||
<remove name="ChartImageHandler" />
|
<remove name="ChartImageHandler"/>
|
||||||
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" />
|
<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="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" />
|
<add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
|
||||||
</handlers>
|
</handlers>
|
||||||
<defaultDocument>
|
<defaultDocument>
|
||||||
<files>
|
<files>
|
||||||
<add value="Login.aspx" />
|
<add value="Login.aspx"/>
|
||||||
</files>
|
</files>
|
||||||
</defaultDocument>
|
</defaultDocument>
|
||||||
<security>
|
<security>
|
||||||
<requestFiltering>
|
<requestFiltering>
|
||||||
<requestLimits maxAllowedContentLength="500000000" maxQueryString="2147483647" />
|
<requestLimits maxAllowedContentLength="500000000" maxQueryString="2147483647"/>
|
||||||
</requestFiltering>
|
</requestFiltering>
|
||||||
</security>
|
</security>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
<!-- SERVER -->
|
<!-- SERVER -->
|
||||||
|
|
||||||
<system.serviceModel>
|
<system.serviceModel>
|
||||||
<client>
|
<client>
|
||||||
<endpoint address="http://114.247.88.97:20080/qhse/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint" />
|
<endpoint address="http://114.247.88.97:20080/qhse/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint"/>
|
||||||
</client>
|
</client>
|
||||||
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
|
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
|
||||||
<services>
|
<services>
|
||||||
<service name="BLL.OpenService.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
|
<service name="BLL.OpenService.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>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
<behaviors>
|
<behaviors>
|
||||||
<serviceBehaviors>
|
<serviceBehaviors>
|
||||||
<behavior name="BLL.HSSEServiceBehavior">
|
<behavior name="BLL.HSSEServiceBehavior">
|
||||||
<serviceMetadata httpGetEnabled="true" />
|
<serviceMetadata httpGetEnabled="true"/>
|
||||||
<serviceDebug includeExceptionDetailInFaults="false" />
|
<serviceDebug includeExceptionDetailInFaults="false"/>
|
||||||
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
|
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
|
||||||
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647" />
|
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
|
||||||
</behavior>
|
</behavior>
|
||||||
</serviceBehaviors>
|
</serviceBehaviors>
|
||||||
</behaviors>
|
</behaviors>
|
||||||
<bindings>
|
<bindings>
|
||||||
<basicHttpBinding>
|
<basicHttpBinding>
|
||||||
<binding name="WebService1Soap" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" />
|
<binding name="WebService1Soap" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647"/>
|
||||||
</basicHttpBinding>
|
</basicHttpBinding>
|
||||||
<wsHttpBinding>
|
<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">
|
<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" />
|
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000"/>
|
||||||
<security mode="None" />
|
<security mode="None"/>
|
||||||
</binding>
|
</binding>
|
||||||
<binding name="HSSEServiceEndpoint" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
|
<binding name="HSSEServiceEndpoint" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
|
||||||
<security mode="None" />
|
<security mode="None"/>
|
||||||
</binding>
|
</binding>
|
||||||
</wsHttpBinding>
|
</wsHttpBinding>
|
||||||
</bindings>
|
</bindings>
|
||||||
|
@ -154,24 +153,24 @@
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral" />
|
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral"/>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0"/>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0"/>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
|
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0"/>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
|
|
Loading…
Reference in New Issue