修改专项检查
This commit is contained in:
@@ -155,5 +155,26 @@ namespace BLL
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 检查项明细下拉框
|
||||
/// </summary>
|
||||
/// <param name="dropName">下拉框名字</param>
|
||||
/// <param name="isShowPlease">是否显示请选择</param>
|
||||
public static void InitCheckItemDetailDropDownList(FineUIPro.DropDownList dropName, string checkItemSetId, bool isShowPlease)
|
||||
{
|
||||
dropName.DataValueField = "CheckContent";
|
||||
dropName.DataTextField = "CheckContent";
|
||||
dropName.DataSource = (from x in Funs.DB.Technique_CheckItemDetail
|
||||
where x.CheckItemSetId == checkItemSetId
|
||||
orderby x.SortIndex
|
||||
select x).ToList();
|
||||
dropName.DataBind();
|
||||
if (isShowPlease)
|
||||
{
|
||||
Funs.FineUIPleaseSelect(dropName);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user