20230530集团看板数据来源页面添加

This commit is contained in:
2023-05-30 08:52:00 +08:00
parent 9c804196e7
commit f4b1c42fa9
118 changed files with 18934 additions and 137 deletions
@@ -58,7 +58,7 @@ namespace FineUIPro.Web.HSSE.Accident
+ @" FROM Accident_AccidentPersonRecord AS AccidentPersonRecord "
+ @" LEFT JOIN Base_AccidentType AS AccidentType ON AccidentType.AccidentTypeId = AccidentPersonRecord.AccidentTypeId "
+ @" LEFT JOIN WBS_UnitWork AS WorkArea ON WorkArea.UnitWorkId = AccidentPersonRecord.WorkAreaId "
+ @" LEFT JOIN SitePerson_Person AS Person ON Person.PersonId = AccidentPersonRecord.PersonId "
+ @" LEFT JOIN SitePerson_Person AS Person ON AccidentPersonRecord.ProjectId =Person.ProjectId AND Person.PersonId = AccidentPersonRecord.PersonId "
+ @" LEFT JOIN Base_WorkPost AS WorkPost ON WorkPost.WorkPostId = Person.WorkPostId "
+ @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON AccidentPersonRecord.AccidentPersonRecordId = FlowOperate.DataId AND FlowOperate.IsClosed <> 1"
+ @" LEFT JOIN Person_Persons AS OperateUser ON FlowOperate.OperaterId = OperateUser.PersonId"
@@ -19,18 +19,23 @@
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtProjectName" runat="server" Label="项目" LabelAlign="Right" MaxLength="50" LabelWidth="110px"
<f:TextBox ID="txtProjectName" runat="server" Label="项目" LabelAlign="Right" MaxLength="50" LabelWidth="110px"
Readonly="true">
</f:TextBox>
<f:DropDownList ID="drpAccidentTypeId" runat="server" Label="事故类别" LabelAlign="Right"
EnableEdit="true" Required="true" ShowRedStar="true" LabelWidth="110px">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpWorkAreaId" runat="server" Label="单位工程" LabelAlign="Right"
EnableEdit="true" Required="true" ShowRedStar="true" LabelWidth="110px">
</f:DropDownList>
<f:DatePicker ID="txtAccidentDate" runat="server" Label="发生时间" LabelAlign="Right"
EnableEdit="true" Required="true" ShowRedStar="true" LabelWidth="110px">
</f:DatePicker>
<f:DropDownList ID="drpAccidentTypeId" runat="server" Label="事故类别" LabelAlign="Right"
EnableEdit="true" Required="true" ShowRedStar="true" LabelWidth="110px">
</f:DropDownList>
<f:CheckBox runat="server" ID="ckIsAttempt" Label="未遂"> </f:CheckBox>
</Items>
</f:FormRow>
<f:FormRow>
@@ -98,6 +98,10 @@ namespace FineUIPro.Web.HSSE.Accident
this.txtPreventiveAction.Text = accidentPersonRecord.PreventiveAction;
this.txtHandleOpinion.Text = accidentPersonRecord.HandleOpinion;
this.txtFileContents.Text = HttpUtility.HtmlDecode(accidentPersonRecord.FileContent);
if (accidentPersonRecord.IsAttempt == "1")
{
this.ckIsAttempt.Checked = true;
}
}
}
else
@@ -218,7 +222,14 @@ namespace FineUIPro.Web.HSSE.Accident
{
accidentPersonRecord.Injury = this.drpInjury.SelectedValue;
}
if (this.ckIsAttempt.Checked == true)
{
accidentPersonRecord.IsAttempt = "1";
}
else
{
accidentPersonRecord.IsAttempt = "0";
}
accidentPersonRecord.InjuryPart = this.txtInjuryPart.Text.Trim();
accidentPersonRecord.HssePersons = this.txtHssePersons.Text.Trim();
accidentPersonRecord.InjuryResult = this.txtInjuryResult.Text.Trim();
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.Accident {
public partial class AccidentPersonRecordEdit {
namespace FineUIPro.Web.HSSE.Accident
{
public partial class AccidentPersonRecordEdit
{
/// <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>
/// txtProjectName 控件。
/// </summary>
@@ -47,16 +49,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// drpAccidentTypeId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpAccidentTypeId;
/// <summary>
/// drpWorkAreaId 控件。
/// </summary>
@@ -65,7 +58,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpWorkAreaId;
/// <summary>
/// txtAccidentDate 控件。
/// </summary>
@@ -74,7 +67,25 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtAccidentDate;
/// <summary>
/// drpAccidentTypeId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpAccidentTypeId;
/// <summary>
/// ckIsAttempt 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBox ckIsAttempt;
/// <summary>
/// drpPersonId 控件。
/// </summary>
@@ -83,7 +94,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpPersonId;
/// <summary>
/// drpInjury 控件。
/// </summary>
@@ -92,7 +103,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpInjury;
/// <summary>
/// txtInjuryPart 控件。
/// </summary>
@@ -101,7 +112,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtInjuryPart;
/// <summary>
/// txtHssePersons 控件。
/// </summary>
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtHssePersons;
/// <summary>
/// txtInjuryResult 控件。
/// </summary>
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtInjuryResult;
/// <summary>
/// txtPreventiveAction 控件。
/// </summary>
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtPreventiveAction;
/// <summary>
/// txtHandleOpinion 控件。
/// </summary>
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtHandleOpinion;
/// <summary>
/// txtFileContents 控件。
/// </summary>
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HtmlEditor txtFileContents;
/// <summary>
/// ContentPanel1 控件。
/// </summary>
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary>
/// ctlAuditFlow 控件。
/// </summary>
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Web.Controls.FlowOperateControl ctlAuditFlow;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// lbTemp 控件。
/// </summary>
@@ -182,7 +193,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbTemp;
/// <summary>
/// btnAttachUrl 控件。
/// </summary>
@@ -191,7 +202,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -200,7 +211,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -209,7 +220,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnSubmit 控件。
/// </summary>
@@ -218,7 +229,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSubmit;
/// <summary>
/// btnClose 控件。
/// </summary>
@@ -227,7 +238,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -19,15 +19,20 @@
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtProjectName" runat="server" Label="项目" LabelAlign="Right" Readonly="true" LabelWidth="110px">
<f:TextBox ID="txtProjectName" runat="server" Label="项目" LabelAlign="Right" Readonly="true" LabelWidth="110px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" LabelAlign="Right" Readonly="true" LabelWidth="110px">
</f:TextBox>
<f:TextBox ID="txtAccidentTypeName" runat="server" Label="事故类别" LabelAlign="Right" LabelWidth="110px"
Readonly="true">
</f:TextBox>
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" LabelAlign="Right" Readonly="true" LabelWidth="110px">
</f:TextBox>
</f:TextBox>
<f:TextBox ID="txtAccidentDate" runat="server" Label="发生时间" LabelAlign="Right" Readonly="true" LabelWidth="110px">
</f:TextBox>
<f:CheckBox runat="server" ID="ckIsAttempt" Label="未遂" Readonly="true"> </f:CheckBox>
</Items>
</f:FormRow>
<f:FormRow>
@@ -87,6 +87,10 @@ namespace FineUIPro.Web.HSSE.Accident
this.txtInjury.Text = "轻伤";
}
}
if (accidentPersonRecord.IsAttempt == "1")
{
this.ckIsAttempt.Checked = true;
}
this.txtInjuryPart.Text = accidentPersonRecord.InjuryPart;
this.txtHssePersons.Text = accidentPersonRecord.HssePersons;
this.txtInjuryResult.Text = accidentPersonRecord.InjuryResult;
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HSSE.Accident {
public partial class AccidentPersonRecordView {
namespace FineUIPro.Web.HSSE.Accident
{
public partial class AccidentPersonRecordView
{
/// <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>
/// txtProjectName 控件。
/// </summary>
@@ -47,16 +49,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// txtAccidentTypeName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtAccidentTypeName;
/// <summary>
/// txtWorkAreaName 控件。
/// </summary>
@@ -65,7 +58,16 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtWorkAreaName;
/// <summary>
/// txtAccidentTypeName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtAccidentTypeName;
/// <summary>
/// txtAccidentDate 控件。
/// </summary>
@@ -74,7 +76,16 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtAccidentDate;
/// <summary>
/// ckIsAttempt 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBox ckIsAttempt;
/// <summary>
/// txtPersonName 控件。
/// </summary>
@@ -83,7 +94,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtPersonName;
/// <summary>
/// txtInjury 控件。
/// </summary>
@@ -92,7 +103,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtInjury;
/// <summary>
/// txtInjuryPart 控件。
/// </summary>
@@ -101,7 +112,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtInjuryPart;
/// <summary>
/// txtHssePersons 控件。
/// </summary>
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtHssePersons;
/// <summary>
/// txtInjuryResult 控件。
/// </summary>
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtInjuryResult;
/// <summary>
/// txtPreventiveAction 控件。
/// </summary>
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtPreventiveAction;
/// <summary>
/// txtHandleOpinion 控件。
/// </summary>
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtHandleOpinion;
/// <summary>
/// txtFileContents 控件。
/// </summary>
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HtmlEditor txtFileContents;
/// <summary>
/// ContentPanel1 控件。
/// </summary>
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary>
/// ctlAuditFlow 控件。
/// </summary>
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Web.Controls.FlowOperateControl ctlAuditFlow;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// lbTemp 控件。
/// </summary>
@@ -182,7 +193,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbTemp;
/// <summary>
/// btnAttachUrl 控件。
/// </summary>
@@ -191,7 +202,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -200,7 +211,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnClose 控件。
/// </summary>
@@ -209,7 +220,7 @@ namespace FineUIPro.Web.HSSE.Accident {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// WindowAtt 控件。
/// </summary>