20211207 从集团获取安全公共资源功能添加
This commit is contained in:
parent
899a39776a
commit
c55a180a8a
|
@ -0,0 +1,44 @@
|
|||
|
||||
CREATE TABLE [dbo].[Sys_DataExchange](
|
||||
[DataID] [int] NOT NULL,
|
||||
[GetTime] [datetime] NULL,
|
||||
[MessageText] [nvarchar](max) NULL,
|
||||
[FromSystem] [nvarchar](50) NULL,
|
||||
[ToSystem] [nvarchar](50) NULL,
|
||||
[IsUpdate] [bit] NULL,
|
||||
CONSTRAINT [PK_Sys_DataExchange] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[DataID] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
||||
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[Sys_DataExchange] ADD CONSTRAINT [DF_Sys_DataExchange_DataID] DEFAULT ((0)) FOR [DataID]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[Sys_DataExchange] ADD CONSTRAINT [DF_Sys_DataExchange_IsUpdate] DEFAULT ((0)) FOR [IsUpdate]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'DataID'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提取时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'GetTime'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'MessageText'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'来源系统' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'FromSystem'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'接收系统' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'ToSystem'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否更新' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange', @level2type=N'COLUMN',@level2name=N'IsUpdate'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据交换表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Sys_DataExchange'
|
||||
GO
|
||||
|
||||
|
|
@ -98,6 +98,12 @@ namespace BLL
|
|||
/// </summary>
|
||||
public static void InsertAttachFile(string attachFileId, string dataId, string attachSource, string attachUrl, List<byte[]> fileContext)
|
||||
{
|
||||
var getAtt = Funs.DB.AttachFile.FirstOrDefault(x => x.AttachFileId == attachFileId);
|
||||
if (getAtt != null)
|
||||
{
|
||||
Funs.DB.AttachFile.DeleteOnSubmit(getAtt);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
//多附件
|
||||
var attachFile = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == dataId);
|
||||
if (attachFile == null && !string.IsNullOrEmpty(attachSource))
|
||||
|
@ -111,7 +117,6 @@ namespace BLL
|
|||
};
|
||||
Funs.DB.AttachFile.InsertOnSubmit(newAttachFile);
|
||||
Funs.DB.SubmitChanges();
|
||||
|
||||
////插入附件文件
|
||||
BLL.FileInsertService.FileMoreInsert(fileContext, attachUrl);
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -49,18 +49,20 @@
|
|||
<f:TextBox ID="Activities" runat="server" Label="作业活动" EmptyText="输入查询作业活动" AutoPostBack="true"
|
||||
OnTextChanged="TextBox_TextChanged" Width="230px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="AccidentCaseName" runat="server" Label="事故类别" EmptyText="输入查询事故类别"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="230px" LabelWidth="80px"
|
||||
<f:TextBox ID="AccidentCaseName" runat="server" Label="类别" EmptyText="输入查询事故类别"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="200px" LabelWidth="50px"
|
||||
LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="AccidentName" runat="server" Label="事故名称" EmptyText="输入查询事故名称" AutoPostBack="true"
|
||||
OnTextChanged="TextBox_TextChanged" Width="230px" LabelWidth="80px" LabelAlign="Right">
|
||||
<f:TextBox ID="AccidentName" runat="server" Label="名称" EmptyText="输入查询事故名称" AutoPostBack="true"
|
||||
OnTextChanged="TextBox_TextChanged" Width="200px" LabelWidth="50px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnNewDetail" ToolTip="新增" Icon="Add" runat="server" OnClick="btnNewDetail_Click"
|
||||
Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnSelectColumns" runat="server" ToolTip="导出" Icon="FolderUp" EnablePostBack="false" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取事故案例库" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
|
|
|
@ -502,5 +502,23 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
|||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getEduTrain_AccidentCaseList();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -165,6 +165,15 @@ namespace FineUIPro.Web.HSSE.EduTrain {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSelectColumns;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lblActivities 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -60,6 +60,8 @@
|
|||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="导出" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取培训教材库" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
|
|
|
@ -550,5 +550,23 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
|||
return sb.ToString();
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getTraining_TrainingList();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -174,6 +174,15 @@ namespace FineUIPro.Web.HSSE.EduTrain {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lbNumber 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -60,6 +60,8 @@
|
|||
</f:Button>
|
||||
<f:Button ID="btnSelectColumns" runat="server" ToolTip="导出" Icon="FolderUp" EnablePostBack="false" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取安全试题库" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
|
|
|
@ -519,5 +519,22 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
|||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getTraining_TrainTestDBList();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -156,6 +156,15 @@ namespace FineUIPro.Web.HSSE.EduTrain {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSelectColumns;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lblTrainTestItemCode 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -39,6 +39,8 @@
|
|||
</f:Button>
|
||||
<f:Button ID="btnSelectColumns" runat="server" ToolTip="导出" Icon="FolderUp" EnablePostBack="false" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取安全标准规范信息" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
|
|
|
@ -329,5 +329,23 @@ namespace FineUIPro.Web.HSSE.Law
|
|||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getLaw_HSSEStandardsList();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -102,6 +102,15 @@ namespace FineUIPro.Web.HSSE.Law {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSelectColumns;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lblStandardNo 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -36,11 +36,13 @@
|
|||
</f:Button>
|
||||
<f:Button ID="btnSelectColumns" runat="server" ToolTip="导出" Icon="FolderUp" EnablePostBack="false" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取安全法律法规信息" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center" TextAlign="Center" Locked="true"/>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center" TextAlign="Center" Locked="true" />
|
||||
<f:TemplateField Width="250px" HeaderText="名称" HeaderTextAlign="Center" TextAlign="Left" SortField="LawRegulationName">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblLawRegulationName" runat="server" Text='<%# Bind("LawRegulationName") %>'
|
||||
|
@ -69,7 +71,7 @@
|
|||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:WindowField TextAlign="Center" Width="80px" WindowID="WindowAtt"
|
||||
Text="详细" ToolTip="附件上传查看" DataIFrameUrlFields="LawRegulationId" DataIFrameUrlFormatString="../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/LawRegulation&menuId=F4B02718-0616-4623-ABCE-885698DDBEB1"/>
|
||||
Text="详细" ToolTip="附件上传查看" DataIFrameUrlFields="LawRegulationId" DataIFrameUrlFormatString="../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/LawRegulation&menuId=F4B02718-0616-4623-ABCE-885698DDBEB1" />
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
|
|
|
@ -360,5 +360,23 @@
|
|||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getLaw_LawRegulationList();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -93,6 +93,15 @@ namespace FineUIPro.Web.HSSE.Law {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSelectColumns;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lblLawRegulationName 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
</f:Button>
|
||||
<f:Button ID="btnSelectColumns" runat="server" ToolTip="导出" Icon="FolderUp" EnablePostBack="false" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取安全管理规定" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
|
|
|
@ -360,5 +360,23 @@ namespace FineUIPro.Web.HSSE.Law
|
|||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getLaw_ManageRule();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -102,6 +102,15 @@ namespace FineUIPro.Web.HSSE.Law {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSelectColumns;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lblManageRuleCode 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
</f:Button>
|
||||
<f:Button ID="btnSelectColumns" runat="server" ToolTip="导出" Icon="FolderUp" EnablePostBack="false" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取安全规章制度" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
|
|
|
@ -357,5 +357,23 @@ namespace FineUIPro.Web.HSSE.Law
|
|||
{
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getLaw_RulesRegulations();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -93,6 +93,15 @@ namespace FineUIPro.Web.HSSE.Law {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSelectColumns;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lblRulesRegulationsCode 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
</f:Button>
|
||||
<f:Button ID="btnSelectColumns" runat="server" ToolTip="导出" Icon="FolderUp" EnablePostBack="false" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取应急预案" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
|
|
|
@ -384,5 +384,23 @@ namespace FineUIPro.Web.HSSE.Technique
|
|||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getTechnique_Emergency();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -111,6 +111,15 @@ namespace FineUIPro.Web.HSSE.Technique {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSelectColumns;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lblEmergencyCode 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -73,6 +73,8 @@
|
|||
</f:Button>
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="导出" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取危险源清单" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
|
|
|
@ -670,5 +670,23 @@ namespace FineUIPro.Web.HSSE.Technique
|
|||
{
|
||||
PageContext.RegisterStartupScript(Window6.GetShowReference(String.Format("HazardListOut.aspx?IsCompany=False", "导出 - "),"导出",1200,650));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getTechnique_HazardList();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -183,6 +183,15 @@ namespace FineUIPro.Web.HSSE.Technique {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lbNumber 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -59,6 +59,8 @@
|
|||
<f:Button ID="btnNewDetail" ToolTip="新增" Hidden="true" Icon="Add" runat="server" OnClick="btnNewDetail_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnSelectColumns" runat="server" Hidden="true" ToolTip="导出" Icon="FolderUp" EnablePostBack="false">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取安全隐患" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
|
|
|
@ -557,5 +557,24 @@ namespace FineUIPro.Web.HSSE.Technique
|
|||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getTechnique_RectifyList();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -165,6 +165,15 @@ namespace FineUIPro.Web.HSSE.Technique {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSelectColumns;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// lblRectifyName 控件。
|
||||
/// </summary>
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
</f:Button>
|
||||
<f:Button ID="btnSelectColumns" runat="server" ToolTip="导出" Icon="FolderUp" EnablePostBack="false" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnGet" Text="获取" ToolTip="从集团获取专项方案" Icon="FolderPage" runat="server" OnClick="btnGet_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
|
|
|
@ -341,5 +341,23 @@ namespace FineUIPro.Web.HSSE.Technique
|
|||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getTechnique_SpecialScheme();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -102,6 +102,15 @@ namespace FineUIPro.Web.HSSE.Technique {
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSelectColumns;
|
||||
|
||||
/// <summary>
|
||||
/// btnGet 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnGet;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue