/// <summary> /// 树组合框 /// </summary> /// <param name="name">name,用于服务端接收值</param> /// <param name="id">Id</param> /// <param name="url">远程Url</param> /// <param name="value">选中的值</param> public IComboTree ComboTree(string name, string id, string url, string value) { return(EasyUiFactory.CreateComboTree(name, id, url, value)); }
/// <summary> /// 字典控件 /// </summary> /// <param name="name">控件name属性</param> /// <param name="code">字典编码</param> /// <param name="value">字典Id</param> public IComboTree Dic(string name, string code, string value = "") { return(EasyUiFactory.CreateComboTree(name, "control_Commons_Dic", "/Commons/Dic/DicControl", value).Params(new { code }).Editable(false).Width(150).SelectLeafOnly()); }
/// <summary> /// 树组合框 /// </summary> /// <param name="url">设置远程url</param> /// <param name="id">Id</param> public IComboTree ComboTree(string url, string id = "") { return(EasyUiFactory.CreateComboTree().Url(url).Id(id)); }