增加风险巡检类型
This commit is contained in:
parent
d2670e3774
commit
9574a1dff8
Binary file not shown.
|
@ -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">
|
||||
|
|
|
@ -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 |
Loading…
Reference in New Issue