@{ if eq .options.Step.IsOptionTreeTable false }
@{end}
@{ if eq .options.Step.IsOptionTreeTable true }
@{ if eq .options.Step.HasAdd true }
添加
@{end}
@{ if eq .options.Step.HasEdit true }
编辑
@{end}
@{ if eq .options.Step.HasBatchDel true }
删除
@{end}
{{ expandedKeys.length ? '收起' : '展开' }}
正在编辑 {{ selectedState.title }}
添加
@{end}
@{ if eq .isSearchForm true }
0"
@{end}ref="searchFormRef"
@register="register"
@submit="reloadTable"
@reset="reloadTable"
@keyup.enter="reloadTable"
>
@{end}
0"
@{end}ref="actionRef"
@{ if eq .options.Step.HasCheck true }openChecked
@{end}:columns="columns"
:request="loadDataTable"
:row-key="(row) => row.@{.pk.TsName}"
:actionColumn="actionColumn"
:scroll-x="scrollX"
:resizeHeightOffset="-10000"
@{ if and (eq .options.Step.IsTreeTable true) (eq .options.Step.IsOptionTreeTable false) }:cascade="false"
:expanded-row-keys="expandedKeys"
@update:expanded-row-keys="updateExpandedKeys"
@{end}@{ if eq .options.Step.HasCheck true }:checked-row-keys="checkedIds"
@{end}@{ if eq .options.Step.HasCheck true }@update:checked-row-keys="handleOnCheckedRow"
@{end}
>
@{ if eq .options.Step.HasAdd true }
添加
@{end}
@{ if eq .options.Step.HasBatchDel true }
批量删除
@{end}
@{ if eq .options.Step.HasExport true }
导出
@{end}
@{ if and (eq .options.Step.IsTreeTable true) (eq .options.Step.IsOptionTreeTable false) }
全部{{ expandedKeys.length ? '收起' : '展开' }}
@{end}
@{ if eq .options.Step.IsOptionTreeTable true }
@{end}
@{ if eq .options.Step.HasEdit true } @{end}
@{ if eq .options.Step.HasView true } @{end}