提交首页修改
This commit is contained in:
@@ -120,5 +120,25 @@ namespace BLL
|
||||
}
|
||||
return isDelete;
|
||||
}
|
||||
|
||||
public static void InitRectifyDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease, string itemText)
|
||||
{
|
||||
dropName.DataValueField = "RectifyName";
|
||||
dropName.DataTextField = "RectifyName";
|
||||
dropName.DataSource = GetRectifyList();
|
||||
dropName.DataBind();
|
||||
if (isShowPlease)
|
||||
{
|
||||
Funs.FineUIPleaseSelect(dropName, itemText);
|
||||
}
|
||||
}
|
||||
|
||||
public static List<Model.Technique_Rectify> GetRectifyList()
|
||||
{
|
||||
var q = from x in Funs.DB.Technique_Rectify
|
||||
where x.SupRectifyId == "0"
|
||||
select x;
|
||||
return q.ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user