feat: 关闭健康检查工具栏
This commit is contained in:
parent
97eeba961a
commit
87438838b5
|
@ -7,7 +7,8 @@
|
|||
ShowEmpty="true" EmptyText="暂无数据" EmptyImage="images/empty.svg"
|
||||
UseInjectDataService="true" DataService="DataService" SortList="SortList"
|
||||
OnQueryAsync="OnQueryAsync!" OnDeleteAsync="OnDeleteAsync!" OnSaveAsync="OnSaveAsync!"
|
||||
ShowSkeleton="true" ShowLoading="true" ShowToolbar="true" ShowExtendButtons="ShowExtendButtons" ShowSearch="true"
|
||||
ShowSkeleton="true" ShowLoading="true" ShowSearch="ShowSearch"
|
||||
ShowToolbar="ShowToolbar" ShowExtendButtons="ShowExtendButtons"
|
||||
ShowCardView="true" ShowColumnList="true" ExtendButtonColumnWidth="@ExtendButtonColumnWidth"
|
||||
CustomerSearchModel="CustomerSearchModel" SelectedRows="SelectedRows"
|
||||
ShowEditButtonCallback="ShowEditButtonCallback!" ShowDeleteButtonCallback="ShowDeleteButtonCallback!"
|
||||
|
|
|
@ -76,6 +76,18 @@ namespace BootstrapAdmin.Web.Components
|
|||
[Parameter]
|
||||
public bool IsTree { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public bool ShowToolbar { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public bool ShowSearch { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
</div>
|
||||
</CardHeader>
|
||||
<CardBody>
|
||||
<AdminTable TItem="HealthCheckReportItem" OnQueryAsync="OnQueryAsync" @ref="HealthTable">
|
||||
<AdminTable TItem="HealthCheckReportItem" IsFixedHeader="false" @ref="HealthTable"
|
||||
ShowToolbar="false" ShowSearch="false" OnQueryAsync="OnQueryAsync">
|
||||
<TableColumns>
|
||||
<TableColumn @bind-Field="@context.Name" Lookup="@GetNameLookup()" Text="检查项"></TableColumn>
|
||||
<TableColumn @bind-Field="@context.Description" Text="描述"></TableColumn>
|
||||
|
|
Loading…
Reference in New Issue