@if (formGroup) {
} @else {
}
@if (formContentChild) {
}
@for (c of options.columns; track $index) {
-
}
@if (tableAction) {
}
@if (actionContentChild && selected.size > 0) {
已选择 ({{ selected.size }}) 项目
}
@if (options.config.selectable) {
| 0 && tableRef.data.length > 0"
[nzIndeterminate]="indeterminate"
(nzCheckedChange)="onAllChecked($event)"
> |
}
@for (th of options.columns; track th.key) {
@if (th.visible) {
{{ th.title }} |
}
}
@if (options.operate.length > 0) {
操作 |
}
@if (options.columns.length > 3) {
|
}
@for (data of tableRef.data; track $index) {
@if (options.config.selectable) {
|
}
@for (td of options.columns; track td.key) {
@if (td.visible) {
@if (renderColumn) {
} @else {
{{ data[td.key] }}
}
|
} @else {}
}
@if (options.operate.length > 0) {
@for (operate of options.operate; track operate.title) {
@if (operate?.visible(data)) {
-
{{ operate.title }}
}
}
|
}
@if (options.columns.length > 3) {
|
}
}
共{{ total }}条