合并最新
This commit is contained in:
@@ -9,98 +9,102 @@
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="检查项" ID="drpRegisterTypes" >
|
||||
</f:DropDownList>
|
||||
<f:RadioButtonList ID="ckType" runat="server" Label="巡检周期"
|
||||
Width="330px" Hidden="true">
|
||||
<f:RadioItem Value="D" Selected="True" Text="日检" />
|
||||
<f:RadioItem Value="W" Text="周检" />
|
||||
<f:RadioItem Value="M" Text="月检" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="责任单位" ID="drpUnit"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpUnit_OnSelectedIndexChanged">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="单位工程" ID="drpWorkArea">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="级别" ID="dpRiskLevel" >
|
||||
<f:ListItem Text="一般" Value="一般"/>
|
||||
<f:ListItem Text="重大" Value="重大"/>
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="检查项" ID="DropDownList1" Hidden="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRegisterDef" runat="server" Label="问题描述" ShowRedStar="true" Required="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtHandleIdea" Label="复检问题描述" Hidden="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="责任人" ID="drpResponsibleMan"
|
||||
>
|
||||
</f:DropDownList>
|
||||
<f:DatePicker ID="txtRectificationPeriod" runat="server" Label="整改期限" LabelAlign="Right" Required="True" ShowRedStar="true"
|
||||
>
|
||||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCheckManName" runat="server" Label="检查人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtCheckTime" runat="server" Label="检查时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttach" runat="server" Label="整改前照片" Text="上传和查看" OnClick="btnAttachUrl_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
<f:NumberBox ID="txtCutPayment" runat="server" Label="罚款金额" LabelAlign="Right" Text="0" NoNegative="true" NoDecimal="true"></f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:HiddenField ID="hdCheckManId" runat="server"></f:HiddenField>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="Window1" Title="文件上传" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="680px"
|
||||
Height="480px">
|
||||
</f:Window>
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:RadioButtonList ID="ckType" runat="server" Label="巡检周期" ShowRedStar="true" Required="true">
|
||||
<f:RadioItem Value="D" Selected="True" Text="日检" />
|
||||
<f:RadioItem Value="W" Text="周检" />
|
||||
<f:RadioItem Value="M" Text="月检" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRegisterDef" runat="server" Label="问题描述" ShowRedStar="true" Required="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="问题类型" ID="drpRegisterTypes">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="受检区域" ID="drpWorkArea">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="责任单位" ID="drpUnit"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="drpUnit_OnSelectedIndexChanged" ShowRedStar="true" Required="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="责任人" ID="drpResponsibleMan" ShowRedStar="true" Required="true">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRequirements" runat="server" Label="整改要求" Height="50px" MaxLength="400">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" Label="问题级别" ID="dpRiskLevel" LabelAlign="Right">
|
||||
<f:ListItem Text="一般" Value="1" Selected="true" />
|
||||
<f:ListItem Text="较大" Value="2" />
|
||||
<f:ListItem Text="重大" Value="3" />
|
||||
</f:DropDownList>
|
||||
<f:DatePicker ID="txtRectificationPeriod" runat="server" Label="整改期限"
|
||||
LabelAlign="Right" Required="True" ShowRedStar="true">
|
||||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtHandleIdea" Label="复检问题描述" Hidden="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCheckManName" runat="server" Label="检查人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtCheckTime" runat="server" Label="检查时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttach" runat="server" Label="整改前照片" Text="上传和查看" OnClick="btnAttachUrl_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
<f:NumberBox ID="txtCutPayment" runat="server" Label="罚款金额"
|
||||
LabelAlign="Right" Text="0" NoNegative="true" NoDecimal="true" Hidden="true">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:HiddenField ID="hdCheckManId" runat="server"></f:HiddenField>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="Window1" Title="文件上传" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="680px"
|
||||
Height="480px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
}
|
||||
if (!string.IsNullOrEmpty(registration.CheckCycle))
|
||||
{
|
||||
this.ckType.SelectedValue = registration.CheckCycle;
|
||||
this.ckType.SelectedValue = registration.CheckCycle ?? "D";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(registration.ResponsibleMan))
|
||||
{
|
||||
@@ -125,6 +125,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
}
|
||||
|
||||
this.txtRegisterDef.Text = registration.RegisterDef;
|
||||
this.txtRequirements.Text = registration.Requirements;
|
||||
this.txtCutPayment.Text = registration.CutPayment.ToString();
|
||||
this.txtCheckManName.Text = registration.CheckManName;
|
||||
this.hdCheckManId.Text = registration.CheckManId;
|
||||
@@ -213,13 +214,16 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// <param name="p"></param>
|
||||
private void SaveData(bool isClosed)
|
||||
{
|
||||
Model.HSSE_Hazard_HazardRegister register = new Model.HSSE_Hazard_HazardRegister();
|
||||
register.ProjectId = this.CurrUser.LoginProjectId;
|
||||
register.ProblemTypes = "1"; //安全隐患问题
|
||||
register.RegisterTypesId = this.drpRegisterTypes.SelectedValue;
|
||||
register.CheckCycle = this.ckType.SelectedValue;
|
||||
register.IsEffective = "1";
|
||||
register.Risk_Level = this.dpRiskLevel.SelectedText;
|
||||
Model.HSSE_Hazard_HazardRegister register = new Model.HSSE_Hazard_HazardRegister
|
||||
{
|
||||
ProjectId = this.CurrUser.LoginProjectId,
|
||||
ProblemTypes = "1", //安全隐患问题
|
||||
RegisterTypesId = this.drpRegisterTypes.SelectedValue,
|
||||
CheckCycle = this.ckType.SelectedValue ?? "D",
|
||||
IsEffective = "1",
|
||||
Risk_Level = this.dpRiskLevel.SelectedValue,
|
||||
Requirements = this.txtRequirements.Text.Trim()
|
||||
};
|
||||
if (this.drpUnit.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
register.ResponsibleUnit = this.drpUnit.SelectedValue;
|
||||
|
||||
+69
-71
@@ -7,13 +7,11 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
{
|
||||
|
||||
|
||||
public partial class HiddenRectificationAdd
|
||||
{
|
||||
|
||||
namespace FineUIPro.Web.HSSE.HiddenInspection {
|
||||
|
||||
|
||||
public partial class HiddenRectificationAdd {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -22,7 +20,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -31,7 +29,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
@@ -40,16 +38,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// drpRegisterTypes 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpRegisterTypes;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ckType 控件。
|
||||
/// </summary>
|
||||
@@ -58,43 +47,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.RadioButtonList ckType;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnit;
|
||||
|
||||
/// <summary>
|
||||
/// drpWorkArea 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpWorkArea;
|
||||
|
||||
/// <summary>
|
||||
/// dpRiskLevel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpRiskLevel;
|
||||
|
||||
/// <summary>
|
||||
/// DropDownList1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList DropDownList1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtRegisterDef 控件。
|
||||
/// </summary>
|
||||
@@ -103,16 +56,34 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtRegisterDef;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtHandleIdea 控件。
|
||||
/// drpRegisterTypes 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHandleIdea;
|
||||
|
||||
protected global::FineUIPro.DropDownList drpRegisterTypes;
|
||||
|
||||
/// <summary>
|
||||
/// drpWorkArea 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpWorkArea;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnit;
|
||||
|
||||
/// <summary>
|
||||
/// drpResponsibleMan 控件。
|
||||
/// </summary>
|
||||
@@ -121,7 +92,25 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpResponsibleMan;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtRequirements 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtRequirements;
|
||||
|
||||
/// <summary>
|
||||
/// dpRiskLevel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpRiskLevel;
|
||||
|
||||
/// <summary>
|
||||
/// txtRectificationPeriod 控件。
|
||||
/// </summary>
|
||||
@@ -130,7 +119,16 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtRectificationPeriod;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtHandleIdea 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHandleIdea;
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckManName 控件。
|
||||
/// </summary>
|
||||
@@ -139,7 +137,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCheckManName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckTime 控件。
|
||||
/// </summary>
|
||||
@@ -148,7 +146,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCheckTime;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// UploadAttach 控件。
|
||||
/// </summary>
|
||||
@@ -157,7 +155,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.LinkButton UploadAttach;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtCutPayment 控件。
|
||||
/// </summary>
|
||||
@@ -166,7 +164,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtCutPayment;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
@@ -175,7 +173,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -184,7 +182,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// hdCheckManId 控件。
|
||||
/// </summary>
|
||||
@@ -193,7 +191,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdCheckManId;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
@@ -202,7 +200,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnClose 控件。
|
||||
/// </summary>
|
||||
@@ -211,7 +209,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnClose;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -9,107 +9,123 @@
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtRegisterTypesName" runat="server" Label="问题类型" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtType" runat="server" Label="巡检周期" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUnitName" runat="server" Label="责任单位" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRegisterDef" runat="server" Label="问题描述" Readonly="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtOldHandleIdea" Label="之前复检问题描述" Hidden="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtResponsibleManName" runat="server" Label="责任人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtRectificationPeriod" runat="server" Label="整改期限" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCheckManName" runat="server" Label="检查人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtCheckTime" runat="server" Label="检查时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttach" runat="server" Label="整改前照片" Text="上传和查看" OnClick="btnAttachUrl_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
<f:NumberBox ID="txtCutPayment" runat="server" Label="罚款金额" LabelAlign="Right" Text="0" NoNegative="true" NoDecimal="true" Readonly="true"></f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRectification" runat="server" Label="采取措施" Readonly="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttachR" runat="server" Label="整改后照片" Text="查看" OnClick="btnAttachUrlR_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:RadioButtonList ID="ckConfirm" runat="server" Label="是否通过" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||
Width="330px">
|
||||
<f:RadioItem Value="True" Selected="True" Text="通过" />
|
||||
<f:RadioItem Value="False" Text="不通过" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtHandleIdea" Label="复检问题描述" Hidden="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="Window1" Title="文件上传" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="680px"
|
||||
Height="480px">
|
||||
</f:Window>
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:RadioButtonList ID="ckType" runat="server" Label="巡检周期" Readonly="true">
|
||||
<f:RadioItem Value="D" Selected="True" Text="日检" />
|
||||
<f:RadioItem Value="W" Text="周检" />
|
||||
<f:RadioItem Value="M" Text="月检" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRegisterDef" runat="server" Label="问题描述" Readonly="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtRegisterTypesName" runat="server" Label="问题类型" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtWorkAreaName" runat="server" Label="受检区域" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUnitName" runat="server" Label="责任单位" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtResponsibleManName" runat="server" Label="责任人" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRequirements" runat="server" Label="整改要求" Height="50px" MaxLength="400">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" Label="问题级别" ID="dpRiskLevel" LabelAlign="Right" Readonly="true">
|
||||
<f:ListItem Text="一般" Value="1" Selected="true" />
|
||||
<f:ListItem Text="较大" Value="2" />
|
||||
<f:ListItem Text="重大" Value="3" />
|
||||
</f:DropDownList>
|
||||
<f:TextBox ID="txtRectificationPeriod" runat="server" Label="整改期限" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtOldHandleIdea" Label="之前复检问题描述" Hidden="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCheckManName" runat="server" Label="检查人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtCheckTime" runat="server" Label="检查时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttach" runat="server" Label="整改前照片" Text="上传和查看" OnClick="btnAttachUrl_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
<f:NumberBox ID="txtCutPayment" runat="server" Label="罚款金额" LabelAlign="Right" Text="0" NoNegative="true" NoDecimal="true" Readonly="true"></f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRectification" runat="server" Label="采取措施" Readonly="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttachR" runat="server" Label="整改后照片" Text="查看" OnClick="btnAttachUrlR_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:RadioButtonList ID="ckConfirm" runat="server" Label="是否通过" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||
Width="330px">
|
||||
<f:RadioItem Value="True" Selected="True" Text="通过" />
|
||||
<f:RadioItem Value="False" Text="不通过" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtHandleIdea" Label="复检问题描述" Hidden="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="Window1" Title="文件上传" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="680px"
|
||||
Height="480px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -74,17 +74,13 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
this.txtUnitName.Text = registration.ResponsibilityUnitName;
|
||||
this.txtWorkAreaName.Text = registration.WorkAreaName;
|
||||
this.txtRegisterTypesName.Text = registration.RegisterTypesName;
|
||||
if (registration.CheckCycle == "D")
|
||||
if (!string.IsNullOrEmpty(registration.CheckCycle))
|
||||
{
|
||||
this.txtType.Text = "日检";
|
||||
this.ckType.SelectedValue = registration.CheckCycle ?? "D";
|
||||
}
|
||||
else if (registration.CheckCycle == "W")
|
||||
if (!string.IsNullOrEmpty(registration.Risk_Level))
|
||||
{
|
||||
this.txtType.Text = "周检";
|
||||
}
|
||||
else if (registration.CheckCycle == "M")
|
||||
{
|
||||
this.txtType.Text = "月检";
|
||||
this.dpRiskLevel.SelectedValue = registration.Risk_Level ?? "1";
|
||||
}
|
||||
this.txtResponsibleManName.Text = registration.ResponsibilityManName;
|
||||
if (registration.RectificationPeriod != null)
|
||||
@@ -92,6 +88,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
this.txtRectificationPeriod.Text = string.Format("{0:yyyy-MM-dd HH:mm:ss}", registration.RectificationPeriod);
|
||||
}
|
||||
this.txtRegisterDef.Text = registration.RegisterDef;
|
||||
this.txtRequirements.Text = registration.Requirements;
|
||||
this.txtCutPayment.Text = registration.CutPayment.ToString();
|
||||
this.txtCheckManName.Text = registration.CheckManName;
|
||||
if (registration.CheckTime != null)
|
||||
|
||||
+49
-31
@@ -40,40 +40,13 @@ namespace FineUIPro.Web.HSSE.HiddenInspection {
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// txtRegisterTypesName 控件。
|
||||
/// ckType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRegisterTypesName;
|
||||
|
||||
/// <summary>
|
||||
/// txtType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtType;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnitName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkAreaName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkAreaName;
|
||||
protected global::FineUIPro.RadioButtonList ckType;
|
||||
|
||||
/// <summary>
|
||||
/// txtRegisterDef 控件。
|
||||
@@ -85,13 +58,31 @@ namespace FineUIPro.Web.HSSE.HiddenInspection {
|
||||
protected global::FineUIPro.TextArea txtRegisterDef;
|
||||
|
||||
/// <summary>
|
||||
/// txtOldHandleIdea 控件。
|
||||
/// txtRegisterTypesName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtOldHandleIdea;
|
||||
protected global::FineUIPro.TextBox txtRegisterTypesName;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkAreaName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkAreaName;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnitName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibleManName 控件。
|
||||
@@ -102,6 +93,24 @@ namespace FineUIPro.Web.HSSE.HiddenInspection {
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtResponsibleManName;
|
||||
|
||||
/// <summary>
|
||||
/// txtRequirements 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtRequirements;
|
||||
|
||||
/// <summary>
|
||||
/// dpRiskLevel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpRiskLevel;
|
||||
|
||||
/// <summary>
|
||||
/// txtRectificationPeriod 控件。
|
||||
/// </summary>
|
||||
@@ -111,6 +120,15 @@ namespace FineUIPro.Web.HSSE.HiddenInspection {
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRectificationPeriod;
|
||||
|
||||
/// <summary>
|
||||
/// txtOldHandleIdea 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtOldHandleIdea;
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckManName 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -22,60 +22,56 @@
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:TextBox runat="server" Label="检查人" ID="txtCheckMan" EmptyText="输入查询条件" AutoPostBack="true"
|
||||
OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="210px" LabelWidth="80px">
|
||||
<f:TextBox runat="server" ID="txtCheckMan" EmptyText="按检查人查询" AutoPostBack="true"
|
||||
OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="150px">
|
||||
</f:TextBox>
|
||||
<f:TextBox runat="server" Label="检查项" ID="txtType" EmptyText="输入查询条件" AutoPostBack="true"
|
||||
OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="210px" LabelWidth="80px">
|
||||
<f:TextBox runat="server" ID="txtType" EmptyText="按检查项查询" AutoPostBack="true"
|
||||
OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="150px">
|
||||
</f:TextBox>
|
||||
<f:TextBox runat="server" Label="单位工程" ID="txtWorkAreaName" EmptyText="输入查询条件" AutoPostBack="true"
|
||||
OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="210px" LabelWidth="80px">
|
||||
<f:TextBox runat="server" ID="txtWorkAreaName" EmptyText="按单位工程查询" AutoPostBack="true"
|
||||
OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="150px">
|
||||
</f:TextBox>
|
||||
<f:TextBox runat="server" Label="责任单位" ID="txtResponsibilityUnitName" EmptyText="输入查询条件"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="250px"
|
||||
LabelWidth="80px">
|
||||
<f:TextBox runat="server" ID="txtResponsibilityUnitName" EmptyText="按责任单位查询"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="150px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:DatePicker ID="txtStartTime" runat="server" Label="检查时间" LabelAlign="Right"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="200px" LabelWidth="80px">
|
||||
<f:DatePicker ID="txtStartTime" runat="server" LabelAlign="Right" EmptyText="检查开始时间"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="150px">
|
||||
</f:DatePicker>
|
||||
<f:Label ID="Label3" runat="server" Text="至">
|
||||
</f:Label>
|
||||
<f:DatePicker ID="txtEndTime" runat="server" AutoPostBack="true" OnTextChanged="TextBox_TextChanged"
|
||||
Width="130px">
|
||||
<f:DatePicker ID="txtEndTime" runat="server" EmptyText="检查结束时间"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="150px">
|
||||
</f:DatePicker>
|
||||
<f:DatePicker ID="txtStartRectificationTime" runat="server" Label="整改时间" LabelAlign="Right"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="200px" LabelWidth="80px">
|
||||
<f:DatePicker ID="txtStartRectificationTime" runat="server" EmptyText="整改开始时间" LabelAlign="Right"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="150px">
|
||||
</f:DatePicker>
|
||||
<f:Label ID="Label1" runat="server" Text="至">
|
||||
</f:Label>
|
||||
<f:DatePicker ID="txtEndRectificationTime" runat="server" AutoPostBack="true" OnTextChanged="TextBox_TextChanged"
|
||||
Width="130px">
|
||||
<f:DatePicker ID="txtEndRectificationTime" runat="server" EmptyText="整改结束时间"
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged"
|
||||
Width="150px">
|
||||
</f:DatePicker>
|
||||
<f:DropDownList ID="drpStates" runat="server" Label="状态" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||
LabelWidth="70px" LabelAlign="Right" Width="210px">
|
||||
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" EmptyText="按巡检周期" ID="drpType" LabelAlign="Right" Width="150px"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
|
||||
<f:ListItem Text="按巡检周期" Value="" />
|
||||
<f:ListItem Text="日检" Value="D" />
|
||||
<f:ListItem Text="周检" Value="W" />
|
||||
<f:ListItem Text="月检" Value="M" />
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpProblemTypes" runat="server" Label="检查类型" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||
LabelWidth="100px" LabelAlign="Right" Width="200px">
|
||||
<f:DropDownList ID="drpStates" runat="server" EmptyText="按状态" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||
LabelAlign="Right" Width="150px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpProblemTypes" runat="server" EmptyText="按检查类型" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||
LabelAlign="Right" Width="150px" Hidden="true">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EmptyText="按级别" ID="dpRiskLevel" LabelAlign="Right" Width="150px"
|
||||
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
|
||||
<f:ListItem Text="按级别" Value="" />
|
||||
<f:ListItem Text="一般" Value="1" />
|
||||
<f:ListItem Text="较大" Value="2" />
|
||||
<f:ListItem Text="重大" Value="3" />
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="级别" ID="dpRiskLevel" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">
|
||||
<f:ListItem Text="-请选择-" Value=""/>
|
||||
<f:ListItem Text="低" Value="低"/>
|
||||
<f:ListItem Text="一般" Value="一般"/>
|
||||
<f:ListItem Text="较高" Value="较高"/>
|
||||
<f:ListItem Text="高" Value="高"/>
|
||||
</f:DropDownList>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:HiddenField runat="server" ID="hdRemark">
|
||||
</f:HiddenField>
|
||||
<f:Button ID="btnNew" Icon="Add" runat="server" OnClick="btnNew_Click" ToolTip="编制" Hidden="true">0
|
||||
<f:Button ID="btnNew" Icon="Add" runat="server" OnClick="btnNew_Click" ToolTip="编制" Hidden="true">
|
||||
</f:Button>
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="导出" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false">
|
||||
@@ -92,8 +88,11 @@
|
||||
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:TemplateField ColumnID="ProblemTypes" Width="120px" HeaderText="检查类型" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
<f:RenderField Width="80px" ColumnID="CheckCycleName" DataField="CheckCycleName" SortField="CheckCycleName"
|
||||
HeaderText="巡检周期" TextAlign="Left" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:TemplateField ColumnID="ProblemTypes" Width="90px" HeaderText="检查类型" HeaderTextAlign="Center"
|
||||
TextAlign="Left" Hidden="true">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lbProblemTypes" runat="server" Text='<%# ConvertProblemTypes(Eval("ProblemTypes")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
@@ -104,7 +103,7 @@
|
||||
<f:RenderField Width="120px" ColumnID="WorkAreaName" DataField="WorkAreaName" SortField="WorkAreaName"
|
||||
FieldType="String" HeaderText="区域" TextAlign="Left" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="120px" ColumnID="RegisterTypesName" DataField="RegisterTypesName"
|
||||
<f:RenderField Width="100px" ColumnID="RegisterTypesName" DataField="RegisterTypesName"
|
||||
SortField="RegisterTypesName" FieldType="String" HeaderText="问题类型" TextAlign="Left"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
@@ -147,7 +146,7 @@
|
||||
<f:RenderField Width="90px" ColumnID="StatesStr" DataField="StatesStr" SortField="StatesStr"
|
||||
FieldType="String" HeaderText="状态" HeaderTextAlign="Center" TextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="90px" ColumnID="Risk_Level" DataField="Risk_Level" SortField="Risk_Level"
|
||||
<f:RenderField Width="90px" ColumnID="Risk_LevelName" DataField="Risk_LevelName" SortField="Risk_LevelName"
|
||||
FieldType="String" HeaderText="级别" HeaderTextAlign="Center" TextAlign="Center">
|
||||
</f:RenderField>
|
||||
<%--<f:TemplateField ColumnID="tfImageUrl" Width="280px" HeaderText="整改前图片" HeaderTextAlign="Center"
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
//handleSteps.Add(handleStep4);
|
||||
this.drpStates.DataSource = handleSteps; ;
|
||||
this.drpStates.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpStates);
|
||||
Funs.FineUIPleaseSelect(this.drpStates,"按状态");
|
||||
ListItem[] ProblemTypes = new ListItem[2];
|
||||
ProblemTypes[0] = new ListItem("日常巡检", "1");
|
||||
ProblemTypes[1] = new ListItem("专项巡检", "2");
|
||||
@@ -72,7 +72,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
this.drpProblemTypes.DataTextField = "Text";
|
||||
this.drpProblemTypes.DataSource = ProblemTypes;
|
||||
this.drpProblemTypes.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpProblemTypes);
|
||||
Funs.FineUIPleaseSelect(this.drpProblemTypes, "按检查类型");
|
||||
// 绑定表格
|
||||
BindGrid();
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = "SELECT * FROM View_Hazard_HazardRegister WHERE ProblemTypes in ('1' ,'2') ";
|
||||
string strSql = "SELECT * FROM View_Hazard_HazardRegister WHERE ProblemTypes ='1' "; //ProblemTypes in ('1' ,'2')
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||
{
|
||||
@@ -110,11 +110,11 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
strSql += " AND Risk_Level = @Risk_Level";
|
||||
listStr.Add(new SqlParameter("@Risk_Level", this.dpRiskLevel.SelectedText) );
|
||||
}
|
||||
//if (this.ckType.SelectedValue != "0")
|
||||
//{
|
||||
// strSql += " AND CheckCycle=@CheckCycle";
|
||||
// listStr.Add(new SqlParameter("@CheckCycle", this.ckType.SelectedValue));
|
||||
//}
|
||||
if (!string.IsNullOrEmpty(this.drpType.SelectedValue.Trim()))
|
||||
{
|
||||
strSql += " AND CheckCycle=@CheckCycle";
|
||||
listStr.Add(new SqlParameter("@CheckCycle", this.drpType.SelectedValue));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtResponsibilityUnitName.Text.Trim()))
|
||||
{
|
||||
strSql += " AND ResponsibilityUnitName LIKE @ResponsibilityUnitName";
|
||||
@@ -462,18 +462,14 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
Model.HSSE_Hazard_HazardRegister hazardRegister = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByHazardRegisterId(rowID);
|
||||
if (hazardRegister.States == Const.State_3 || this.CurrUser.UserId == BLL.Const.hfnbdId) //待整改
|
||||
var hazardRegister = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByHazardRegisterId(rowID);
|
||||
if (hazardRegister != null)
|
||||
{
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, hazardRegister.HazardCode, hazardRegister.HazardRegisterId, BLL.Const.HSSE_HiddenRectificationListMenuId, BLL.Const.BtnDelete);
|
||||
BLL.HSSE_Hazard_HazardRegisterService.DeleteHazardRegisterByHazardRegisterId(rowID);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("已闭环,无法删除!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
BindGrid();
|
||||
ShowNotify("删除成功!", MessageBoxIcon.Success);
|
||||
}
|
||||
@@ -536,7 +532,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
var registration = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByHazardRegisterId(registrationId.ToString());
|
||||
if (registration != null)
|
||||
{
|
||||
url = BLL.UploadAttachmentService.ShowImage(ConfigurationManager.AppSettings["CEMS_IMG_URL"], registration.ImageUrl);
|
||||
url = BLL.UploadAttachmentService.ShowImage(ConfigurationManager.AppSettings["SGGLUrl"], registration.ImageUrl);
|
||||
}
|
||||
}
|
||||
return url;
|
||||
@@ -555,7 +551,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
var registration = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByHazardRegisterId(registrationId.ToString());
|
||||
if (registration != null)
|
||||
{
|
||||
url = BLL.UploadAttachmentService.ShowAttachment(ConfigurationManager.AppSettings["CEMS_IMG_URL"], registration.RectificationImageUrl);
|
||||
url = BLL.UploadAttachmentService.ShowAttachment(ConfigurationManager.AppSettings["SGGLUrl"], registration.RectificationImageUrl);
|
||||
}
|
||||
}
|
||||
return url;
|
||||
|
||||
+49
-69
@@ -7,13 +7,11 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
{
|
||||
|
||||
|
||||
public partial class HiddenRectificationList
|
||||
{
|
||||
|
||||
namespace FineUIPro.Web.HSSE.HiddenInspection {
|
||||
|
||||
|
||||
public partial class HiddenRectificationList {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -22,7 +20,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -31,7 +29,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
@@ -40,7 +38,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
@@ -49,7 +47,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
@@ -58,7 +56,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckMan 控件。
|
||||
/// </summary>
|
||||
@@ -67,7 +65,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCheckMan;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtType 控件。
|
||||
/// </summary>
|
||||
@@ -76,7 +74,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtType;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkAreaName 控件。
|
||||
/// </summary>
|
||||
@@ -85,7 +83,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkAreaName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibilityUnitName 控件。
|
||||
/// </summary>
|
||||
@@ -94,16 +92,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtResponsibilityUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtStartTime 控件。
|
||||
/// </summary>
|
||||
@@ -112,16 +101,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtStartTime;
|
||||
|
||||
/// <summary>
|
||||
/// Label3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtEndTime 控件。
|
||||
/// </summary>
|
||||
@@ -130,7 +110,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtEndTime;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtStartRectificationTime 控件。
|
||||
/// </summary>
|
||||
@@ -139,16 +119,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtStartRectificationTime;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtEndRectificationTime 控件。
|
||||
/// </summary>
|
||||
@@ -157,7 +128,16 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtEndRectificationTime;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpType;
|
||||
|
||||
/// <summary>
|
||||
/// drpStates 控件。
|
||||
/// </summary>
|
||||
@@ -166,7 +146,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpStates;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpProblemTypes 控件。
|
||||
/// </summary>
|
||||
@@ -175,7 +155,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpProblemTypes;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// dpRiskLevel 控件。
|
||||
/// </summary>
|
||||
@@ -184,7 +164,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpRiskLevel;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -193,7 +173,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// hdRemark 控件。
|
||||
/// </summary>
|
||||
@@ -202,7 +182,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdRemark;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnNew 控件。
|
||||
/// </summary>
|
||||
@@ -211,7 +191,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
@@ -220,7 +200,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblPageIndex 控件。
|
||||
/// </summary>
|
||||
@@ -229,7 +209,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPageIndex;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lbProblemTypes 控件。
|
||||
/// </summary>
|
||||
@@ -238,7 +218,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbProblemTypes;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lbImageUrl 控件。
|
||||
/// </summary>
|
||||
@@ -247,7 +227,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbImageUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Label2 控件。
|
||||
/// </summary>
|
||||
@@ -256,7 +236,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
@@ -265,7 +245,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
@@ -274,7 +254,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
@@ -283,7 +263,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
@@ -292,7 +272,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window2 控件。
|
||||
/// </summary>
|
||||
@@ -301,7 +281,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window3 控件。
|
||||
/// </summary>
|
||||
@@ -310,7 +290,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
@@ -319,7 +299,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnModify 控件。
|
||||
/// </summary>
|
||||
@@ -328,7 +308,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnModify;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnRectify 控件。
|
||||
/// </summary>
|
||||
@@ -337,7 +317,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnRectify;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnConfirm 控件。
|
||||
/// </summary>
|
||||
@@ -346,7 +326,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnConfirm;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuSee 控件。
|
||||
/// </summary>
|
||||
@@ -355,7 +335,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuSee;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -9,93 +9,113 @@
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtRegisterTypesName" runat="server" Label="问题类型" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtType" runat="server" Label="巡检周期" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUnitName" runat="server" Label="责任单位" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRegisterDef" runat="server" Label="问题描述" Readonly="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtHandleIdea" Label="复检问题描述" Hidden="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtResponsibleManName" runat="server" Label="责任人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtRectificationPeriod" runat="server" Label="整改期限" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCheckManName" runat="server" Label="检查人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtCheckTime" runat="server" Label="检查时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttach" runat="server" Label="整改前照片" Text="查看" OnClick="btnAttachUrl_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
<f:NumberBox ID="txtCutPayment" runat="server" Label="罚款金额" LabelAlign="Right" Text="0" NoNegative="true" NoDecimal="true" Readonly="true"></f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRectification" runat="server" Label="采取措施">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttachR" runat="server" Label="整改后照片" Text="上传和查看" OnClick="btnAttachUrlR_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="Window1" Title="文件上传" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="680px"
|
||||
Height="480px">
|
||||
</f:Window>
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:RadioButtonList ID="ckType" runat="server" Label="巡检周期" Readonly="true">
|
||||
<f:RadioItem Value="D" Selected="True" Text="日检" />
|
||||
<f:RadioItem Value="W" Text="周检" />
|
||||
<f:RadioItem Value="M" Text="月检" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRegisterDef" runat="server" Label="问题描述" Readonly="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtRegisterTypesName" runat="server" Label="问题类型" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtWorkAreaName" runat="server" Label="受检区域" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUnitName" runat="server" Label="责任单位" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtResponsibleManName" runat="server" Label="责任人" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRequirements" runat="server" Label="整改要求" Height="50px"
|
||||
MaxLength="400" Readonly="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox runat="server" ID="txtHandleIdea" Label="复检问题描述" Hidden="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" Label="问题级别" ID="dpRiskLevel" LabelAlign="Right" Readonly="true">
|
||||
<f:ListItem Text="一般" Value="1" Selected="true" />
|
||||
<f:ListItem Text="较大" Value="2" />
|
||||
<f:ListItem Text="重大" Value="3" />
|
||||
</f:DropDownList>
|
||||
<f:TextBox ID="txtRectificationPeriod" runat="server" Label="整改期限" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCheckManName" runat="server" Label="检查人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtCheckTime" runat="server" Label="检查时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttach" runat="server" Label="整改前照片" Text="查看" OnClick="btnAttachUrl_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
<f:NumberBox ID="txtCutPayment" runat="server" Label="罚款金额"
|
||||
LabelAlign="Right" Text="0" NoNegative="true" NoDecimal="true" Readonly="true">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRectification" runat="server" Label="采取措施">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:LinkButton ID="UploadAttachR" runat="server" Label="整改后照片" Text="上传和查看" OnClick="btnAttachUrlR_Click" LabelAlign="Right">
|
||||
</f:LinkButton>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:Window ID="Window1" Title="文件上传" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="680px"
|
||||
Height="480px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -78,17 +78,13 @@ namespace FineUIPro.Web.HiddenInspection
|
||||
this.txtUnitName.Text = registration.ResponsibilityUnitName;
|
||||
this.txtWorkAreaName.Text = registration.WorkAreaName;
|
||||
this.txtRegisterTypesName.Text = registration.RegisterTypesName;
|
||||
if (registration.CheckCycle == "D")
|
||||
if (!string.IsNullOrEmpty(registration.CheckCycle))
|
||||
{
|
||||
this.txtType.Text = "日检";
|
||||
this.ckType.SelectedValue = registration.CheckCycle ?? "D";
|
||||
}
|
||||
else if (registration.CheckCycle == "W")
|
||||
if (!string.IsNullOrEmpty(registration.Risk_Level))
|
||||
{
|
||||
this.txtType.Text = "周检";
|
||||
}
|
||||
else if (registration.CheckCycle == "M")
|
||||
{
|
||||
this.txtType.Text = "月检";
|
||||
this.dpRiskLevel.SelectedValue = registration.Risk_Level ?? "1";
|
||||
}
|
||||
this.txtResponsibleManName.Text = registration.ResponsibilityManName;
|
||||
if (registration.RectificationPeriod != null)
|
||||
@@ -96,6 +92,7 @@ namespace FineUIPro.Web.HiddenInspection
|
||||
this.txtRectificationPeriod.Text = string.Format("{0:yyyy-MM-dd HH:mm:ss}", registration.RectificationPeriod);
|
||||
}
|
||||
this.txtRegisterDef.Text = registration.RegisterDef;
|
||||
this.txtRequirements.Text = registration.Requirements;
|
||||
this.txtCutPayment.Text = registration.CutPayment.ToString();
|
||||
this.txtCheckManName.Text = registration.CheckManName;
|
||||
if (registration.CheckTime != null)
|
||||
|
||||
+49
-31
@@ -40,40 +40,13 @@ namespace FineUIPro.Web.HiddenInspection {
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// txtRegisterTypesName 控件。
|
||||
/// ckType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRegisterTypesName;
|
||||
|
||||
/// <summary>
|
||||
/// txtType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtType;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnitName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkAreaName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkAreaName;
|
||||
protected global::FineUIPro.RadioButtonList ckType;
|
||||
|
||||
/// <summary>
|
||||
/// txtRegisterDef 控件。
|
||||
@@ -85,13 +58,31 @@ namespace FineUIPro.Web.HiddenInspection {
|
||||
protected global::FineUIPro.TextArea txtRegisterDef;
|
||||
|
||||
/// <summary>
|
||||
/// txtHandleIdea 控件。
|
||||
/// txtRegisterTypesName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHandleIdea;
|
||||
protected global::FineUIPro.TextBox txtRegisterTypesName;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkAreaName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkAreaName;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnitName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibleManName 控件。
|
||||
@@ -102,6 +93,33 @@ namespace FineUIPro.Web.HiddenInspection {
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtResponsibleManName;
|
||||
|
||||
/// <summary>
|
||||
/// txtRequirements 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtRequirements;
|
||||
|
||||
/// <summary>
|
||||
/// txtHandleIdea 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHandleIdea;
|
||||
|
||||
/// <summary>
|
||||
/// dpRiskLevel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpRiskLevel;
|
||||
|
||||
/// <summary>
|
||||
/// txtRectificationPeriod 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -5,113 +5,132 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title>查看日常巡检</title>
|
||||
<link href="~/res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
<link href="~/res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtWorkAreaName" runat="server" Label="区域" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtResponsibilityUnitName" runat="server" Label="责任单位" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtRegisterTypesName" runat="server" Label="检查项" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtRiskLevel" runat="server" Label="级别" Readonly="true">
|
||||
</f:TextBox>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtProblemDescription" runat="server" Label="问题描述" Readonly="true" Height="64px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtTakeSteps" runat="server" Label="采取措施" Readonly="true" Height="50px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtResponsibilityManName" runat="server" Label="责任人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtRectificationPeriod" runat="server" Label="整改期限" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCheckManName" runat="server" Label="检查人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtCheckTime" runat="server" Label="检查时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtRectificationTime" runat="server" Label="整改时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtStates" runat="server" Label="状态" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="8% 92%">
|
||||
<Items>
|
||||
<f:Label runat="server" ID="lblImageUrl" Label="整改前图片">
|
||||
</f:Label>
|
||||
<f:ContentPanel ID="ContentPanel2" runat="server" ShowHeader="false" ShowBorder="false"
|
||||
Title="整改前图片">
|
||||
<table style="width">
|
||||
<tr style="height: 28px">
|
||||
<td align="left">
|
||||
<div id="divImageUrl" runat="server">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="8% 92%">
|
||||
<Items>
|
||||
<f:Label runat="server" ID="lblRectificationImageUrl" Label="整改后图片">
|
||||
</f:Label>
|
||||
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" ShowBorder="false"
|
||||
Title="整改后图片">
|
||||
<table>
|
||||
<tr style="height: 28px">
|
||||
<td align="left">
|
||||
<div id="divRectificationImageUrl" runat="server">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false"
|
||||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:RadioButtonList ID="ckType" runat="server" Label="巡检周期" Readonly="true">
|
||||
<f:RadioItem Value="D" Selected="True" Text="日检" />
|
||||
<f:RadioItem Value="W" Text="周检" />
|
||||
<f:RadioItem Value="M" Text="月检" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtProblemDescription" runat="server" Label="问题描述" Readonly="true" Height="64px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtRegisterTypesName" runat="server" Label="问题类型" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtWorkAreaName" runat="server" Label="受检区域区域" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtResponsibilityUnitName" runat="server" Label="责任单位" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtResponsibilityManName" runat="server" Label="责任人" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRequirements" runat="server" Label="整改要求" Height="50px"
|
||||
MaxLength="400" Readonly="true">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" Label="问题级别" ID="dpRiskLevel" LabelAlign="Right" Readonly="true">
|
||||
<f:ListItem Text="一般" Value="1" Selected="true" />
|
||||
<f:ListItem Text="较大" Value="2" />
|
||||
<f:ListItem Text="重大" Value="3" />
|
||||
</f:DropDownList>
|
||||
<f:TextBox ID="txtRectificationPeriod" runat="server" Label="整改期限" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtTakeSteps" runat="server" Label="采取措施" Readonly="true" Height="50px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCheckManName" runat="server" Label="检查人" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtCheckTime" runat="server" Label="检查时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtRectificationTime" runat="server" Label="整改时间" Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtStates" runat="server" Label="状态" Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="8% 92%">
|
||||
<Items>
|
||||
<f:Label runat="server" ID="lblImageUrl" Label="整改前图片">
|
||||
</f:Label>
|
||||
<f:ContentPanel ID="ContentPanel2" runat="server" ShowHeader="false" ShowBorder="false"
|
||||
Title="整改前图片">
|
||||
<table style="width">
|
||||
<tr style="height: 28px">
|
||||
<td align="left">
|
||||
<div id="divImageUrl" runat="server">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="8% 92%">
|
||||
<Items>
|
||||
<f:Label runat="server" ID="lblRectificationImageUrl" Label="整改后图片">
|
||||
</f:Label>
|
||||
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" ShowBorder="false"
|
||||
Title="整改后图片">
|
||||
<table>
|
||||
<tr style="height: 28px">
|
||||
<td align="left">
|
||||
<div id="divRectificationImageUrl" runat="server">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -83,10 +83,18 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
this.txtRectificationTime.Text = string.Format("{0:yyyy-MM-dd HH:mm:ss}", registration.RectificationTime);
|
||||
this.txtStates.Text = registration.StatesStr;
|
||||
this.ImageUrl = registration.ImageUrl;
|
||||
this.txtRiskLevel.Text = registration.Risk_Level;
|
||||
this.txtRequirements.Text = registration.Requirements;
|
||||
this.RectificationImageUrl = registration.RectificationImageUrl;
|
||||
this.divImageUrl.InnerHtml = BLL.UploadAttachmentService.ShowAttachment("../../", this.ImageUrl);
|
||||
this.divRectificationImageUrl.InnerHtml = BLL.UploadAttachmentService.ShowAttachment("../../", this.RectificationImageUrl);
|
||||
if (!string.IsNullOrEmpty(registration.CheckCycle))
|
||||
{
|
||||
this.ckType.SelectedValue = registration.CheckCycle ?? "D";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(registration.Risk_Level))
|
||||
{
|
||||
this.dpRiskLevel.SelectedValue = registration.Risk_Level ?? "1";
|
||||
}
|
||||
//var punishRecords = (from x in Funs.DB.View_Common_PunishRecord
|
||||
// where x.HazardRegisterId == this.HazardRegisterId
|
||||
// orderby x.PunishDate descending
|
||||
|
||||
+74
-58
@@ -7,13 +7,11 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
{
|
||||
|
||||
|
||||
public partial class HiddenRectificationView
|
||||
{
|
||||
|
||||
namespace FineUIPro.Web.HSSE.HiddenInspection {
|
||||
|
||||
|
||||
public partial class HiddenRectificationView {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -22,7 +20,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -31,7 +29,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
@@ -40,43 +38,16 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkAreaName 控件。
|
||||
/// ckType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkAreaName;
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibilityUnitName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtResponsibilityUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// txtRegisterTypesName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRegisterTypesName;
|
||||
|
||||
/// <summary>
|
||||
/// txtRiskLevel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRiskLevel;
|
||||
|
||||
protected global::FineUIPro.RadioButtonList ckType;
|
||||
|
||||
/// <summary>
|
||||
/// txtProblemDescription 控件。
|
||||
/// </summary>
|
||||
@@ -85,16 +56,34 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtProblemDescription;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtTakeSteps 控件。
|
||||
/// txtRegisterTypesName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtTakeSteps;
|
||||
|
||||
protected global::FineUIPro.TextBox txtRegisterTypesName;
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkAreaName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWorkAreaName;
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibilityUnitName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtResponsibilityUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibilityManName 控件。
|
||||
/// </summary>
|
||||
@@ -103,7 +92,25 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtResponsibilityManName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtRequirements 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtRequirements;
|
||||
|
||||
/// <summary>
|
||||
/// dpRiskLevel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpRiskLevel;
|
||||
|
||||
/// <summary>
|
||||
/// txtRectificationPeriod 控件。
|
||||
/// </summary>
|
||||
@@ -112,7 +119,16 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRectificationPeriod;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtTakeSteps 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtTakeSteps;
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckManName 控件。
|
||||
/// </summary>
|
||||
@@ -121,7 +137,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCheckManName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckTime 控件。
|
||||
/// </summary>
|
||||
@@ -130,7 +146,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCheckTime;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtRectificationTime 控件。
|
||||
/// </summary>
|
||||
@@ -139,7 +155,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtRectificationTime;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtStates 控件。
|
||||
/// </summary>
|
||||
@@ -148,7 +164,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtStates;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblImageUrl 控件。
|
||||
/// </summary>
|
||||
@@ -157,7 +173,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lblImageUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel2 控件。
|
||||
/// </summary>
|
||||
@@ -166,7 +182,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// divImageUrl 控件。
|
||||
/// </summary>
|
||||
@@ -175,7 +191,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divImageUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblRectificationImageUrl 控件。
|
||||
/// </summary>
|
||||
@@ -184,7 +200,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lblRectificationImageUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// </summary>
|
||||
@@ -193,7 +209,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// divRectificationImageUrl 控件。
|
||||
/// </summary>
|
||||
@@ -202,7 +218,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divRectificationImageUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
@@ -211,7 +227,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -220,7 +236,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnClose 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user