/// <summary> /// 配置表格包装器分页信息 /// </summary> private void ConfigTableWrapperPage(TagBuilder builder) { builder.AddAttribute("[showPagination]", _config.GetBoolValue(UiConst.ShowPagination)); builder.AddAttribute("[pageSizeOptions]", _config.GetValue(UiConst.PageSizeOptions)); }
/// <summary> /// 配置标识 /// </summary> protected override void ConfigId(TagBuilder builder) { builder.AddAttribute($"#{_config.Id}"); builder.AddAttribute("key", _config.GetValue(UiConst.Key)); }
/// <summary> /// 配置查询参数 /// </summary> private void ConfigQueryParam(TagBuilder builder) { builder.AddAttribute("[queryParam]", _config.GetValue(UiConst.QueryParam)); }
/// <summary> /// 配置表格包装器标识 /// </summary> protected void ConfigWrapperId(TagBuilder builder) { builder.AddAttribute($"#{GetWrapperId()}"); builder.AddAttribute("key", _config.GetValue(UiConst.Key)); }
/// <summary> /// 配置事件 /// </summary> private void ConfigEvents(TagBuilder builder) { builder.AddAttribute("(onExpand)", _config.GetValue(UiConst.OnExpand)); }
/// <summary> /// 配置选择叶节点 /// </summary> private void ConfigCheckLeafOnly(TagBuilder builder) { builder.AddAttribute("[checkLeafOnly]", _config.GetValue(UiConst.CheckLeafOnly)); }
/// <summary> /// 配置查询参数 /// </summary> private void ConfigQueryParam(TagBuilder builder) { builder.AddAttribute("[queryParam]", _config.GetValue(UiConst.QueryParam)); builder.AddAttribute("(onQueryRestore)", _config.GetValue(MaterialConst.OnQueryRestore)); }