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