public ActionResult GetTreeListJson(string itemId, string condition, string keyword)
        {
            var data = dataItemDetailBLL.GetDataItemDetailList(itemId).ToList();

            if (!string.IsNullOrEmpty(keyword))
            {
                #region 多条件查询

                switch (condition)
                {
                case "ItemName":            //项目名
                    data = data.TreeWhere(t => t.ItemName.Contains(keyword), "ItemDetailId");
                    break;

                case "ItemValue":          //项目值
                    data = data.TreeWhere(t => t.ItemValue.Contains(keyword), "ItemDetailId");
                    break;

                case "SimpleSpelling":     //拼音
                    data = data.TreeWhere(t => t.SimpleSpelling.Contains(keyword), "ItemDetailId");
                    break;

                default:
                    break;
                }

                #endregion 多条件查询
            }
            var treeList = new List <TreeGridEntity>();
            foreach (DataItemDetailEntity item in data)
            {
                TreeGridEntity tree        = new TreeGridEntity();
                bool           hasChildren = data.Count(t => t.ParentId == item.Id) != 0;
                tree.id          = item.Id;
                tree.parentId    = item.ParentId;
                tree.expanded    = true;
                tree.hasChildren = hasChildren;
                tree.entityJson  = item.TryToJson();
                treeList.Add(tree);
            }
            return(Content(treeList.TreeJson()));
        }