增加风险巡检类型

This commit is contained in:
李鹏飞 2024-06-12 09:34:42 +08:00
parent d2670e3774
commit 9574a1dff8
6 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@ -69,7 +69,7 @@
LabelAlign="Right" Width="150px">
</f:DropDownList>
<f:DropDownList ID="drpProblemTypes" runat="server" EmptyText="按检查类型" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
LabelAlign="Right" Width="150px" Hidden="true">
LabelAlign="Right" Width="150px" >
</f:DropDownList>
<f:DropDownList runat="server" EmptyText="按级别" ID="dpRiskLevel" LabelAlign="Right" Width="150px"
AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged">

View File

@ -72,7 +72,8 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
this.drpStates.SelectedValue = "1";
ListItem[] ProblemTypes = new ListItem[2];
ProblemTypes[0] = new ListItem("日常巡检", "1");
ProblemTypes[1] = new ListItem("专项巡检", "2");
// ProblemTypes[1] = new ListItem("专项巡检", "2");
ProblemTypes[1] = new ListItem("风险巡检", "3");
this.drpProblemTypes.DataValueField = "Value";
this.drpProblemTypes.DataTextField = "Text";
this.drpProblemTypes.DataSource = ProblemTypes;
@ -88,7 +89,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
/// </summary>
private void BindGrid()
{
string strSql = "SELECT * FROM View_Hazard_HazardRegister WHERE ProblemTypes ='1' "; //ProblemTypes in ('1' ,'2')
string strSql = "SELECT * FROM View_Hazard_HazardRegister WHERE ProblemTypes in ('1' ,'3') "; //ProblemTypes in ('1' ,'2')
List<SqlParameter> listStr = new List<SqlParameter>();
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 694 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB