集团三库
This commit is contained in:
@@ -104,9 +104,10 @@
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
|
||||
<f:Window ID="Window1" Title="HSE事故(含未遂)处理" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="1024px"
|
||||
Height="550px">
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="1080px"
|
||||
Height="720px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" Icon="Pencil" EnablePostBack="true"
|
||||
|
||||
@@ -12,96 +12,158 @@
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1"/>
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" Title="HSE事故(含未遂)处理"
|
||||
AutoScroll="true" BodyPadding="10px" runat="server" RedStarPosition="BeforeText"
|
||||
LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow ColumnWidths="20% 20% 20% 40%">
|
||||
<Items>
|
||||
<f:TextBox ID="txtAccidentHandleCode" runat="server" Label="编号" LabelAlign="Right"
|
||||
MaxLength="50" Readonly="true" LabelWidth="80px">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtAccidentHandleName" runat="server" Label="名称" LabelAlign="Right"
|
||||
Required="true" ShowRedStar="true" MaxLength="50" FocusOnPageLoad="true" LabelWidth="80px">
|
||||
</f:TextBox>
|
||||
<f:DatePicker ID="txtAccidentDate" runat="server" Label="时间" LabelAlign="Right"
|
||||
EnableEdit="true" Required="true" ShowRedStar="true" LabelWidth="80px">
|
||||
</f:DatePicker>
|
||||
<f:DropDownList ID="drpUnitId" runat="server" Label="事故单位" EnableEdit="true"
|
||||
LabelAlign="Right" LabelWidth="80px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtMoneyLoss" runat="server" Label="经济损失" LabelWidth="80px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtWorkHoursLoss" runat="server" Label="工时损失" LabelWidth="80px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtMinorInjuriesPersonNum" runat="server" Label="轻伤人数" LabelWidth="80px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtInjuriesPersonNum" runat="server" Label="重伤人数" LabelWidth="80px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtDeathPersonNum" runat="server" Label="死亡人数" LabelWidth="80px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtAccidentDef" runat="server" Label="事故摘要" LabelAlign="Right"
|
||||
MaxLength="500" Height="90px" LabelWidth="80px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtAccidentHandle" runat="server" Label="善后处理" LabelAlign="Right"
|
||||
MaxLength="500" Height="70px" LabelWidth="80px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" EnableCollapse="true"
|
||||
BodyPadding="0px">
|
||||
<uc1:FlowOperateControl ID="ctlAuditFlow" runat="server" />
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:Label runat="server" ID="lbTemp">
|
||||
</f:Label>
|
||||
<f:Button ID="btnAttachUrl" Text="附件" ToolTip="附件上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnAttachUrl_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="保存" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" ToolTip="提交" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSubmit_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="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" Title="HSE事故(含未遂)处理"
|
||||
AutoScroll="true" BodyPadding="10px" runat="server" RedStarPosition="BeforeText"
|
||||
LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtAccidentHandleCode" runat="server" Label="编号" LabelAlign="Right"
|
||||
MaxLength="50" Readonly="true" LabelWidth="80px">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtAccidentHandleName" runat="server" Label="名称" LabelAlign="Right"
|
||||
Required="true" ShowRedStar="true" MaxLength="50" FocusOnPageLoad="true" LabelWidth="110px">
|
||||
</f:TextBox>
|
||||
<f:DatePicker ID="txtAccidentDate" runat="server" Label="时间" LabelAlign="Right"
|
||||
EnableEdit="true" Required="true" ShowRedStar="true" LabelWidth="110px">
|
||||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtWorkHoursLoss" runat="server" Label="工时损失" LabelWidth="80px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtMoneyLoss" runat="server" Label="直接经济损失" LabelWidth="110px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtIndirectMoneyLoss" runat="server" Label="间接经济损失" LabelWidth="110px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtMinorInjuriesPersonNum" runat="server" Label="轻伤人数" LabelWidth="80px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtInjuriesPersonNum" runat="server" Label="重伤人数" LabelWidth="110px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtDeathPersonNum" runat="server" Label="死亡人数" LabelWidth="110px"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="事故等级" ID="dpAccidentLevel" LabelWidth="80px">
|
||||
<%--<f:ListItem Text="-请选择-" Selected="true"></f:ListItem>--%>
|
||||
<f:ListItem Text="一般事故" Value="一般事故" />
|
||||
<f:ListItem Text="较大事故" Value="较大事故" />
|
||||
<f:ListItem Text="重大事故" Value="重大事故" />
|
||||
<f:ListItem Text="特别重大事故" Value="特别重大事故" />
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="事故类型" ID="dpAccidentType" LabelWidth="80px">
|
||||
<%--<f:ListItem Text="-请选择-" Selected="true"></f:ListItem>--%>
|
||||
<f:ListItem Text="高处坠落" Value="高处坠落" />
|
||||
<f:ListItem Text="物体打击" Value="物体打击" />
|
||||
<f:ListItem Text="机械伤害" Value="机械伤害" />
|
||||
<f:ListItem Text="触电" Value="触电" />
|
||||
<f:ListItem Text="坍塌" Value="坍塌" />
|
||||
<f:ListItem Text="火灾" Value="火灾" />
|
||||
<f:ListItem Text="其他" Value="其他" />
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpUnitId" runat="server" Label="事故单位" EnableEdit="true" LabelAlign="Right" LabelWidth="80px" AutoPostBack="true" OnSelectedIndexChanged="drpUnit_OnSelectedIndexChanged">
|
||||
</f:DropDownList>
|
||||
<f:TextBox ID="txtAccidentLocation" runat="server" Label="地点" LabelAlign="Right" MaxLength="50" LabelWidth="80px" EmptyText="填写事故发生的项目现场具体部位或区域">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtAccidentDef" runat="server" Label="事故摘要" LabelAlign="Right" EmptyText="填写事故发生经过完整描述,内容应客观、准确、完整"
|
||||
MaxLength="500" Height="90px" LabelWidth="80px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtAccidentHandle" runat="server" Label="善后处理" LabelAlign="Right"
|
||||
MaxLength="500" Height="70px" LabelWidth="80px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtContractingResponsibility" runat="server" Label="业主责任认定" LabelAlign="Right" EmptyText="填写事故调查单位对业主的责任认定结果,内容应明确责任归属或责任类型"
|
||||
MaxLength="500" Height="70px" LabelWidth="80px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpPost" runat="server" Label="岗位名称" LabelAlign="Right" EnableEdit="true" LabelWidth="80px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="责任类型" ID="dpResponsibilityType" LabelWidth="110px">
|
||||
<%--<f:ListItem Text="-请选择-" Selected="true"></f:ListItem>--%>
|
||||
<f:ListItem Text="直接责任" Value="直接责任" />
|
||||
<f:ListItem Text="管理责任" Value="管理责任" />
|
||||
<f:ListItem Text="主要责任" Value="主要责任" />
|
||||
<f:ListItem Text="次要责任" Value="次要责任" />
|
||||
<f:ListItem Text="其他" Value="其他" />
|
||||
</f:DropDownList>
|
||||
<f:DropDownList runat="server" EnableSimulateTree="True" Label="责任人员" ID="drpResponsibleMan" EnableEdit="true" LabelWidth="110px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtResponsibilityDesc" runat="server" Label="责任说明" EmptyText="内容应客观说明责任事实" LabelAlign="Right"
|
||||
MaxLength="500" Height="70px" LabelWidth="80px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" EnableCollapse="true"
|
||||
BodyPadding="0px">
|
||||
<uc1:FlowOperateControl ID="ctlAuditFlow" runat="server" />
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:Label runat="server" ID="lbTemp">
|
||||
</f:Label>
|
||||
<f:Button ID="btnAttachUrl" Text="附件" ToolTip="附件上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnAttachUrl_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="保存" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" ToolTip="提交" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSubmit_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="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -49,13 +49,17 @@ namespace FineUIPro.Web.HSSE.Accident
|
||||
{
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnitId, this.ProjectId, true);
|
||||
UnitService.InitUnitDropDownList(this.drpUnitId, this.ProjectId, true);
|
||||
this.drpUnitId.SelectedValue = this.CurrUser.UnitId;
|
||||
WorkPostService.InitWorkPostNameDropDownList(this.drpPost, true);
|
||||
UserService.InitUserProjectIdUnitTypeDropDownList(this.drpResponsibleMan, this.CurrUser.LoginProjectId, null, true);
|
||||
Funs.FineUIPleaseSelect(this.dpAccidentLevel);
|
||||
Funs.FineUIPleaseSelect(this.dpAccidentType);
|
||||
Funs.FineUIPleaseSelect(this.dpResponsibilityType);
|
||||
if (BLL.ProjectUnitService.GetProjectUnitTypeByProjectIdUnitId(this.ProjectId, this.CurrUser.UnitId))
|
||||
{
|
||||
this.drpUnitId.Enabled = false;
|
||||
}
|
||||
|
||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||
this.AccidentHandleId = Request.Params["AccidentHandleId"];
|
||||
if (!string.IsNullOrEmpty(this.AccidentHandleId))
|
||||
@@ -68,7 +72,7 @@ namespace FineUIPro.Web.HSSE.Accident
|
||||
if (this.ProjectId != this.CurrUser.LoginProjectId)
|
||||
{
|
||||
BLL.UnitService.InitUnitDropDownList(this.drpUnitId, this.ProjectId, true);
|
||||
this.drpUnitId.SelectedValue = this.CurrUser.UnitId;
|
||||
this.drpUnitId.SelectedValue = this.CurrUser.UnitId;
|
||||
}
|
||||
|
||||
this.txtAccidentHandleCode.Text = BLL.CodeRecordsService.ReturnCodeByDataId(this.AccidentHandleId);
|
||||
@@ -100,6 +104,33 @@ namespace FineUIPro.Web.HSSE.Accident
|
||||
}
|
||||
this.txtAccidentHandle.Text = accidentHandle.AccidentHandle;
|
||||
//this.txtRemark.Text = accidentHandle.Remark;
|
||||
if (!string.IsNullOrWhiteSpace(accidentHandle.AccidentLevel))
|
||||
{
|
||||
this.dpAccidentLevel.SelectedValue = accidentHandle.AccidentLevel.ToString();
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(accidentHandle.AccidentType))
|
||||
{
|
||||
this.dpAccidentType.SelectedValue = accidentHandle.AccidentType.ToString();
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(accidentHandle.PositionName))
|
||||
{
|
||||
this.drpPost.SelectedValue = accidentHandle.PositionName.ToString();
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(accidentHandle.ResponsibilityType))
|
||||
{
|
||||
this.dpResponsibilityType.SelectedValue = accidentHandle.ResponsibilityType.ToString();
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(accidentHandle.ResponsibleMan))
|
||||
{
|
||||
this.drpResponsibleMan.SelectedValue = accidentHandle.ResponsibleMan.ToString();
|
||||
}
|
||||
this.txtAccidentLocation.Text = accidentHandle.AccidentLocation;
|
||||
this.txtContractingResponsibility.Text = accidentHandle.ContractingResponsibility;
|
||||
this.txtResponsibilityDesc.Text = accidentHandle.ResponsibilityDesc;
|
||||
if (accidentHandle.IndirectMoneyLoss != null)
|
||||
{
|
||||
this.txtIndirectMoneyLoss.Text = accidentHandle.IndirectMoneyLoss.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -115,6 +146,28 @@ namespace FineUIPro.Web.HSSE.Accident
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
/// <summary>
|
||||
/// 单位选择事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void drpUnit_OnSelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
this.drpResponsibleMan.Items.Clear();
|
||||
if (this.drpUnitId.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
this.drpResponsibleMan.DataSource = from x in db.Sys_User
|
||||
join y in db.Project_ProjectUser on x.UserId equals y.UserId
|
||||
where y.ProjectId == this.CurrUser.LoginProjectId && x.UnitId == this.drpUnitId.SelectedValue
|
||||
select x;
|
||||
this.drpResponsibleMan.DataBind();
|
||||
}
|
||||
Funs.FineUIPleaseSelect(this.drpResponsibleMan);
|
||||
this.drpResponsibleMan.SelectedValue = BLL.Const._Null;
|
||||
}
|
||||
}
|
||||
|
||||
#region 保存、提交
|
||||
/// <summary>
|
||||
@@ -166,12 +219,38 @@ namespace FineUIPro.Web.HSSE.Accident
|
||||
//Remark = this.txtRemark.Text.Trim(),
|
||||
CompileMan = this.CurrUser.UserId,
|
||||
CompileDate = DateTime.Now,
|
||||
States = BLL.Const.State_0
|
||||
States = BLL.Const.State_0,
|
||||
AccidentLocation = this.txtAccidentLocation.Text.Trim(),
|
||||
IndirectMoneyLoss = Funs.GetNewDecimalOrZero(this.txtIndirectMoneyLoss.Text.Trim()),
|
||||
ContractingResponsibility = this.txtContractingResponsibility.Text.Trim(),
|
||||
ResponsibilityDesc = this.txtResponsibilityDesc.Text.Trim(),
|
||||
|
||||
};
|
||||
if (this.drpUnitId.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
accidentHandle.UnitId = this.drpUnitId.SelectedValue;
|
||||
}
|
||||
if (this.dpAccidentLevel.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
accidentHandle.AccidentLevel = this.dpAccidentLevel.SelectedValue;
|
||||
}
|
||||
if (this.dpAccidentType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
accidentHandle.AccidentType = this.dpAccidentType.SelectedValue;
|
||||
}
|
||||
if (this.drpPost.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
accidentHandle.PositionName = this.drpPost.SelectedValue;
|
||||
}
|
||||
if (this.dpResponsibilityType.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
accidentHandle.ResponsibilityType = this.dpResponsibilityType.SelectedValue;
|
||||
}
|
||||
if (this.drpResponsibleMan.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
accidentHandle.ResponsibleMan = this.drpResponsibleMan.SelectedValue;
|
||||
accidentHandle.ResponsibleManName = this.drpResponsibleMan.SelectedText;
|
||||
}
|
||||
|
||||
if (type == BLL.Const.BtnSubmit)
|
||||
{
|
||||
@@ -198,6 +277,14 @@ namespace FineUIPro.Web.HSSE.Accident
|
||||
BLL.AccidentHandleService.AddAccidentHandle(accidentHandle);
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, this.txtAccidentHandleCode.Text, this.AccidentHandleId, BLL.Const.ProjectAccidentHandleMenuId, Const.BtnAdd);
|
||||
}
|
||||
//更新三库事故事件
|
||||
string message = string.Empty;
|
||||
SanKuDataSummaryReportService.UpdateAccidentRecord(this.AccidentHandleId, ref message);
|
||||
if (!string.IsNullOrWhiteSpace(message))
|
||||
{
|
||||
ShowNotify(message, MessageBoxIcon.Warning);
|
||||
}
|
||||
|
||||
////保存流程审核数据
|
||||
this.ctlAuditFlow.btnSaveData(this.ProjectId, BLL.Const.ProjectAccidentHandleMenuId, this.AccidentHandleId, (type == BLL.Const.BtnSubmit ? true : false), accidentHandle.AccidentHandleName, "../Accident/AccidentHandleView.aspx?AccidentHandleId={0}");
|
||||
}
|
||||
|
||||
+127
-44
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.Accident {
|
||||
|
||||
|
||||
public partial class AccidentHandleEdit {
|
||||
|
||||
namespace FineUIPro.Web.HSSE.Accident
|
||||
{
|
||||
|
||||
|
||||
public partial class AccidentHandleEdit
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentHandleCode 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAccidentHandleCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentHandleName 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAccidentHandleName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentDate 控件。
|
||||
/// </summary>
|
||||
@@ -65,25 +67,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtAccidentDate;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitId;
|
||||
|
||||
/// <summary>
|
||||
/// txtMoneyLoss 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtMoneyLoss;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkHoursLoss 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +76,25 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtWorkHoursLoss;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtMoneyLoss 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtMoneyLoss;
|
||||
|
||||
/// <summary>
|
||||
/// txtIndirectMoneyLoss 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtIndirectMoneyLoss;
|
||||
|
||||
/// <summary>
|
||||
/// txtMinorInjuriesPersonNum 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtMinorInjuriesPersonNum;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtInjuriesPersonNum 控件。
|
||||
/// </summary>
|
||||
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtInjuriesPersonNum;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtDeathPersonNum 控件。
|
||||
/// </summary>
|
||||
@@ -119,7 +121,43 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtDeathPersonNum;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// dpAccidentLevel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpAccidentLevel;
|
||||
|
||||
/// <summary>
|
||||
/// dpAccidentType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpAccidentType;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitId;
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentLocation 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAccidentLocation;
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentDef 控件。
|
||||
/// </summary>
|
||||
@@ -128,7 +166,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAccidentDef;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentHandle 控件。
|
||||
/// </summary>
|
||||
@@ -137,7 +175,52 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAccidentHandle;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtContractingResponsibility 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtContractingResponsibility;
|
||||
|
||||
/// <summary>
|
||||
/// drpPost 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpPost;
|
||||
|
||||
/// <summary>
|
||||
/// dpResponsibilityType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList dpResponsibilityType;
|
||||
|
||||
/// <summary>
|
||||
/// drpResponsibleMan 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpResponsibleMan;
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibilityDesc 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtResponsibilityDesc;
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// </summary>
|
||||
@@ -146,7 +229,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ctlAuditFlow 控件。
|
||||
/// </summary>
|
||||
@@ -155,7 +238,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Web.Controls.FlowOperateControl ctlAuditFlow;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
@@ -164,7 +247,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lbTemp 控件。
|
||||
/// </summary>
|
||||
@@ -173,7 +256,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lbTemp;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnAttachUrl 控件。
|
||||
/// </summary>
|
||||
@@ -182,7 +265,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttachUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -191,7 +274,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
@@ -200,7 +283,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnSubmit 控件。
|
||||
/// </summary>
|
||||
@@ -209,7 +292,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSubmit;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnClose 控件。
|
||||
/// </summary>
|
||||
@@ -218,7 +301,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnClose;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// WindowAtt 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -12,88 +12,137 @@
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1"/>
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" Title="HSE事故(含未遂)处理"
|
||||
AutoScroll="true" BodyPadding="10px" runat="server" RedStarPosition="BeforeText"
|
||||
LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow ColumnWidths="20% 20% 20% 40%">
|
||||
<Items>
|
||||
<f:TextBox ID="txtAccidentHandleCode" runat="server" Label="事故编号" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtAccidentHandleName" runat="server" Label="事故名称" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtAccidentDate" runat="server" Label="发生时间" LabelAlign="Right" Readonly="true" LabelWidth="90px">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtUnitName" runat="server" Label="事故单位" LabelAlign="Right" Readonly="true" LabelWidth="90px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtMoneyLoss" runat="server" Label="经济损失" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtWorkHoursLoss" runat="server" Label="工时损失" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtMinorInjuriesPersonNum" runat="server" Label="轻伤人数" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtInjuriesPersonNum" runat="server" Label="重伤人数" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtDeathPersonNum" runat="server" Label="死亡人数" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtAccidentDef" runat="server" Label="事故摘要" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true" Height="90px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtAccidentHandle" runat="server" Label="善后处理" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true" Height="90px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" EnableCollapse="true"
|
||||
BodyPadding="0px">
|
||||
<uc1:FlowOperateControl ID="ctlAuditFlow" runat="server" />
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:Label runat="server" ID="lbTemp">
|
||||
</f:Label>
|
||||
<f:Button ID="btnAttachUrl" Text="附件" ToolTip="附件上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnAttachUrl_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
<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:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" Title="HSE事故(含未遂)处理"
|
||||
AutoScroll="true" BodyPadding="10px" runat="server" RedStarPosition="BeforeText"
|
||||
LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtAccidentHandleCode" runat="server" Label="事故编号" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtAccidentHandleName" runat="server" Label="事故名称" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtAccidentDate" runat="server" Label="发生时间" LabelAlign="Right" Readonly="true" LabelWidth="90px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtWorkHoursLoss" runat="server" Label="工时损失" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtMoneyLoss" runat="server" Label="直接经济损失" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtIndirectMoneyLoss" runat="server" Label="间接经济损失" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:NumberBox ID="txtMinorInjuriesPersonNum" runat="server" Label="轻伤人数" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtInjuriesPersonNum" runat="server" Label="重伤人数" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
<f:NumberBox ID="txtDeathPersonNum" runat="server" Label="死亡人数" Readonly="true"
|
||||
NoNegative="True" EmptyText="0" DecimalPrecision="0" NoDecimal="False" LabelWidth="90px">
|
||||
</f:NumberBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtAccidentLevel" runat="server" Label="事故等级" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtAccidentType" runat="server" Label="事故类型" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUnitName" runat="server" Label="事故单位" LabelAlign="Right" Readonly="true" LabelWidth="90px">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtAccidentLocation" runat="server" Label="事故地点" LabelAlign="Right" Readonly="true" LabelWidth="90px">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtAccidentDef" runat="server" Label="事故摘要" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true" Height="90px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtAccidentHandle" runat="server" Label="善后处理" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true" Height="90px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtContractingResponsibility" runat="server" Label="业主责任认定" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true" Height="90px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtPositionName" runat="server" Label="岗位名称" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtResponsibilityType" runat="server" Label="责任类型" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtResponsibleMan" runat="server" Label="责任人员" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtResponsibilityDesc" runat="server" Label="责任说明" LabelAlign="Right" LabelWidth="90px"
|
||||
Readonly="true" Height="90px">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" EnableCollapse="true"
|
||||
BodyPadding="0px">
|
||||
<uc1:FlowOperateControl ID="ctlAuditFlow" runat="server" />
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:Label runat="server" ID="lbTemp">
|
||||
</f:Label>
|
||||
<f:Button ID="btnAttachUrl" Text="附件" ToolTip="附件上传及查看" Icon="TableCell" runat="server"
|
||||
OnClick="btnAttachUrl_Click" ValidateForms="SimpleForm1">
|
||||
</f:Button>
|
||||
<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:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
||||
Height="500px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -65,8 +65,49 @@ namespace FineUIPro.Web.HSSE.Accident
|
||||
{
|
||||
this.txtDeathPersonNum.Text = accidentHandle.DeathPersonNum.ToString();
|
||||
}
|
||||
this.txtAccidentHandle.Text = accidentHandle.AccidentHandle;
|
||||
this.txtAccidentHandle.Text = accidentHandle.AccidentHandle;
|
||||
this.txtUnitName.Text = BLL.UnitService.GetUnitNameByUnitId(accidentHandle.UnitId);
|
||||
|
||||
if (accidentHandle.IndirectMoneyLoss != null)
|
||||
{
|
||||
this.txtIndirectMoneyLoss.Text = accidentHandle.IndirectMoneyLoss.ToString();
|
||||
}
|
||||
if (accidentHandle.AccidentLevel != null)
|
||||
{
|
||||
this.txtAccidentLevel.Text = accidentHandle.AccidentLevel.ToString();
|
||||
}
|
||||
if (accidentHandle.AccidentType != null)
|
||||
{
|
||||
this.txtAccidentType.Text = accidentHandle.AccidentType.ToString();
|
||||
}
|
||||
if (accidentHandle.AccidentLocation != null)
|
||||
{
|
||||
this.txtAccidentLocation.Text = accidentHandle.AccidentLocation.ToString();
|
||||
}
|
||||
if (accidentHandle.AccidentHandle != null)
|
||||
{
|
||||
this.txtAccidentHandle.Text = accidentHandle.AccidentHandle;
|
||||
}
|
||||
if (accidentHandle.ContractingResponsibility != null)
|
||||
{
|
||||
this.txtContractingResponsibility.Text = accidentHandle.ContractingResponsibility.ToString();
|
||||
}
|
||||
if (accidentHandle.PositionName != null)
|
||||
{
|
||||
this.txtPositionName.Text = accidentHandle.PositionName.ToString();
|
||||
}
|
||||
if (accidentHandle.ResponsibilityType != null)
|
||||
{
|
||||
this.txtResponsibilityType.Text = accidentHandle.ResponsibilityType.ToString();
|
||||
}
|
||||
if (accidentHandle.ResponsibleMan != null)
|
||||
{
|
||||
this.txtResponsibleMan.Text = accidentHandle.ResponsibleMan.ToString();
|
||||
}
|
||||
if (accidentHandle.ResponsibilityDesc != null)
|
||||
{
|
||||
this.txtResponsibilityDesc.Text = accidentHandle.ResponsibilityDesc.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
///初始化审核菜单
|
||||
|
||||
+125
-42
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.Accident {
|
||||
|
||||
|
||||
public partial class AccidentHandleView {
|
||||
|
||||
namespace FineUIPro.Web.HSSE.Accident
|
||||
{
|
||||
|
||||
|
||||
public partial class AccidentHandleView
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentHandleCode 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAccidentHandleCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentHandleName 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAccidentHandleName;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentDate 控件。
|
||||
/// </summary>
|
||||
@@ -65,25 +67,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAccidentDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnitName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// txtMoneyLoss 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtMoneyLoss;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtWorkHoursLoss 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +76,25 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtWorkHoursLoss;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtMoneyLoss 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtMoneyLoss;
|
||||
|
||||
/// <summary>
|
||||
/// txtIndirectMoneyLoss 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtIndirectMoneyLoss;
|
||||
|
||||
/// <summary>
|
||||
/// txtMinorInjuriesPersonNum 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtMinorInjuriesPersonNum;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtInjuriesPersonNum 控件。
|
||||
/// </summary>
|
||||
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtInjuriesPersonNum;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtDeathPersonNum 控件。
|
||||
/// </summary>
|
||||
@@ -119,7 +121,43 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.NumberBox txtDeathPersonNum;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentLevel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAccidentLevel;
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAccidentType;
|
||||
|
||||
/// <summary>
|
||||
/// txtUnitName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentLocation 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAccidentLocation;
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentDef 控件。
|
||||
/// </summary>
|
||||
@@ -128,7 +166,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAccidentDef;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtAccidentHandle 控件。
|
||||
/// </summary>
|
||||
@@ -137,7 +175,52 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAccidentHandle;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtContractingResponsibility 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtContractingResponsibility;
|
||||
|
||||
/// <summary>
|
||||
/// txtPositionName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtPositionName;
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibilityType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtResponsibilityType;
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibleMan 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtResponsibleMan;
|
||||
|
||||
/// <summary>
|
||||
/// txtResponsibilityDesc 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtResponsibilityDesc;
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// </summary>
|
||||
@@ -146,7 +229,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ctlAuditFlow 控件。
|
||||
/// </summary>
|
||||
@@ -155,7 +238,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Web.Controls.FlowOperateControl ctlAuditFlow;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
@@ -164,7 +247,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lbTemp 控件。
|
||||
/// </summary>
|
||||
@@ -173,7 +256,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lbTemp;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnAttachUrl 控件。
|
||||
/// </summary>
|
||||
@@ -182,7 +265,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAttachUrl;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -191,7 +274,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnClose 控件。
|
||||
/// </summary>
|
||||
@@ -200,7 +283,7 @@ namespace FineUIPro.Web.HSSE.Accident {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnClose;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// WindowAtt 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user