20220923 焊接测试修改
This commit is contained in:
@@ -17,6 +17,7 @@ namespace FineUIPro.Web.HJGL.DataImport
|
||||
|
||||
//this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
this.InitTreeMenu();//加载树
|
||||
Funs.FineUIPleaseSelect(DropImportType);
|
||||
GetButtonPower();
|
||||
}
|
||||
}
|
||||
@@ -122,11 +123,13 @@ namespace FineUIPro.Web.HJGL.DataImport
|
||||
if (tvControlItem.SelectedNodeID == "1" || tvControlItem.SelectedNodeID == "2")
|
||||
{
|
||||
this.btnNew.Hidden = true;
|
||||
this.btnDelete.Hidden = true;
|
||||
this.btnSearch.Hidden = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.btnNew.Hidden = false;
|
||||
this.btnDelete.Hidden = false;
|
||||
this.btnSearch.Hidden = false;
|
||||
|
||||
|
||||
@@ -158,6 +161,11 @@ namespace FineUIPro.Web.HJGL.DataImport
|
||||
strSql += " AND Import.FileName LIKE @FileName";
|
||||
listStr.Add(new SqlParameter("@FileName", "%" + this.txtfilename.Text.Trim() + "%"));
|
||||
}
|
||||
if (DropImportType.SelectedValue !=Const._Null)
|
||||
{
|
||||
strSql += " AND Import.ImportType=@ImportType";
|
||||
listStr.Add(new SqlParameter("@ImportType", DropImportType.SelectedValue));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
// 2.获取当前分页数据
|
||||
|
||||
Reference in New Issue
Block a user