2023-05-04
This commit is contained in:
@@ -117,7 +117,15 @@
|
||||
<!-- 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" />
|
||||
<endpoint address="http://114.247.88.97:20080/QHSE/HSSEService.svc"
|
||||
binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint"
|
||||
contract="BLL.CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint" />
|
||||
<endpoint address="http://114.247.88.97:20080/QHSE/HSSEService.svc"
|
||||
binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint1"
|
||||
contract="ServiceReference1.HSSEService" name="HSSEServiceEndpoint1" />
|
||||
</client>
|
||||
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
|
||||
<services>
|
||||
@@ -137,12 +145,24 @@
|
||||
</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"/>
|
||||
<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" />
|
||||
</binding>
|
||||
<binding name="HSSEServiceEndpoint">
|
||||
<security mode="None" />
|
||||
</binding>
|
||||
<binding name="HSSEServiceEndpoint1">
|
||||
<security mode="None" />
|
||||
</binding>
|
||||
</wsHttpBinding>
|
||||
</bindings>
|
||||
|
||||
@@ -39,7 +39,9 @@
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="导出" Icon="FolderUp"
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取安全监督检查整改" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnOut" Text="导出" OnClick="btnOut_Click" runat="server" ToolTip="导出" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false">
|
||||
</f:Button>
|
||||
</Items>
|
||||
|
||||
@@ -360,5 +360,24 @@ namespace FineUIPro.Web.ZHGL.ServerCheck
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEGetWebService.getCheck_CheckRectify();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+30
-19
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
|
||||
|
||||
public partial class CheckRectify {
|
||||
|
||||
namespace FineUIPro.Web.ZHGL.ServerCheck
|
||||
{
|
||||
|
||||
|
||||
public partial class CheckRectify
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,16 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
@@ -65,7 +76,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblNumber 控件。
|
||||
/// </summary>
|
||||
@@ -74,7 +85,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblNumber;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblUnit 控件。
|
||||
/// </summary>
|
||||
@@ -83,7 +94,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblUnit;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblProjectId 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +103,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblProjectId;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +112,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.ZHGL.ServerCheck {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user