移动端检查修改
This commit is contained in:
+11
-6
@@ -78,6 +78,11 @@
|
||||
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="250px"
|
||||
LabelWidth="80px">
|
||||
</f:TextBox>
|
||||
<f:DropDownList ID="drpProblemTypes" runat="server" Label="问题类别" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||
LabelWidth="80px" LabelAlign="Right" Width="170px">
|
||||
<f:ListItem Text="安全" Value="1" Selected="True"/>
|
||||
<f:ListItem Text="质量" Value="0"/>
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
@@ -160,12 +165,12 @@
|
||||
</f:RenderField>
|
||||
|
||||
|
||||
<f:TemplateField ColumnID="ProblemTypes" Width="120px" HeaderText="检查类型" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lbProblemTypes" runat="server" Text='<%# ConvertProblemTypes(Eval("ProblemTypes")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<%-- <f:TemplateField ColumnID="ProblemTypes" Width="120px" HeaderText="检查类型" HeaderTextAlign="Center" --%>
|
||||
<%-- TextAlign="Left"> --%>
|
||||
<%-- <ItemTemplate> --%>
|
||||
<%-- <asp:Label ID="lbProblemTypes" runat="server" Text='<%# ConvertProblemTypes(Eval("ProblemTypes")) %>'></asp:Label> --%>
|
||||
<%-- </ItemTemplate> --%>
|
||||
<%-- </f:TemplateField> --%>
|
||||
<%-- <f:TemplateField ColumnID="CheckCycle" Width="120px" HeaderText="检查周期" HeaderTextAlign="Center" Hidden="true"
|
||||
TextAlign="Left">
|
||||
<ItemTemplate>
|
||||
|
||||
+6
-1
@@ -114,8 +114,13 @@ namespace FineUIPro.Web.Customization.ZJ.HSSE.HiddenInspection
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.ProjectId) || !string.IsNullOrEmpty(this.UnintId))
|
||||
{
|
||||
string strSql = "SELECT * FROM View_Hazard_HazardRegister_Unit WHERE ProblemTypes ='1' ";
|
||||
string strSql = "SELECT * FROM View_Hazard_HazardRegister_Unit WHERE 1=1 ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
if (this.drpProblemTypes.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
strSql += " AND ProblemTypes = @ProblemTypes";
|
||||
listStr.Add(new SqlParameter("@ProblemTypes", this.drpProblemTypes.SelectedValue));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(ProjectId))
|
||||
{
|
||||
strSql += " AND ProjectId = @ProjectId";
|
||||
|
||||
+9
-9
@@ -131,6 +131,15 @@ namespace FineUIPro.Web.Customization.ZJ.HSSE.HiddenInspection
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtResponsibilityUnitName;
|
||||
|
||||
/// <summary>
|
||||
/// drpProblemTypes 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpProblemTypes;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
@@ -275,15 +284,6 @@ namespace FineUIPro.Web.Customization.ZJ.HSSE.HiddenInspection
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblPageIndex;
|
||||
|
||||
/// <summary>
|
||||
/// lbProblemTypes 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lbProblemTypes;
|
||||
|
||||
/// <summary>
|
||||
/// lbImageUrl1 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user