Code-NFine:下来框和复选框
ylbtech-Code-NFine:下来框和复选框 1. 返回顶部 1、 1.1 html $("#F_OrganizeId").bindSelect({ url: "/SystemManage/Organize/GetTreeSelectJson", }); - <select id="F_OrganizeId" name="F_OrganizeId" class="form-control required"> </select> 1.2 cs [HttpGet] [HandlerAjaxOnly] public ActionResult GetTreeSelectJson() { var data = organizeApp.GetList(); var treeList = new List<TreeSelectModel>(); foreach (OrganizeEntity item in data) { TreeSelectModel treeModel = new TreeSelectModel(); treeModel.id = item.F_Id; treeModel.text = item.F_FullName; treeModel.parentId = item.F_ParentId; treeModel.data = item; treeList.Add