增加app 版本管理
This commit is contained in:
@@ -17,19 +17,19 @@
|
||||
<Form @ref="searchForm" Model="search" Layout="FormLayout.Inline" Class="search-form" OnFinish="OnSearchFinish">
|
||||
<Row Justify="RowJustify.Start" Gutter="16">
|
||||
<Col>
|
||||
<FormItem Label="帐号">
|
||||
<Input @bind-Value="search.Name" Placeholder="帐号" AllowClear />
|
||||
<FormItem Label="名称">
|
||||
<Input @bind-Value="search.Name" Placeholder="名称" AllowClear />
|
||||
</FormItem>
|
||||
</Col>
|
||||
<Col>
|
||||
<FormItem Label="状态">
|
||||
@* <SimpleSelect DefaultValue="" @bind-Value="search.Status">
|
||||
<SimpleSelect DefaultValue="" Style="width:120px;" @bind-Value="@context.Status">
|
||||
<SelectOptions>
|
||||
<SimpleSelectOption Value="">全部</SimpleSelectOption>
|
||||
<SimpleSelectOption Value="1">启用</SimpleSelectOption>
|
||||
<SimpleSelectOption Value="0">禁用</SimpleSelectOption>
|
||||
<SimpleSelectOption Value="" Label="全部"></SimpleSelectOption>
|
||||
<SimpleSelectOption Value="1" Label="草稿"></SimpleSelectOption>
|
||||
<SimpleSelectOption Value="2" Label="已发布"></SimpleSelectOption>
|
||||
</SelectOptions>
|
||||
</SimpleSelect> *@
|
||||
</SimpleSelect>
|
||||
</FormItem>
|
||||
</Col>
|
||||
<Col>
|
||||
@@ -46,7 +46,7 @@
|
||||
<Table DataSource="PagingList.Items" PageSize="100" HidePagination="true" Resizable>
|
||||
<TitleTemplate>
|
||||
<Flex Justify="FlexJustify.SpaceBetween">
|
||||
帐号列表
|
||||
版本记录
|
||||
<div>
|
||||
<AuthorizeCheck Permission="@Permissions.Admin.Create">
|
||||
<Button Class="me-3" OnClick="OnCreateClick" Type="ButtonType.Primary">新增</Button>
|
||||
@@ -110,11 +110,11 @@
|
||||
<PropertyColumn Property="c => c.Status" Title="状态" Width="80px" Align="ColumnAlign.Center">
|
||||
@if (context.Status == 1)
|
||||
{
|
||||
<Tag T="string" Size="Size.Small" Variant="Variant.Text">草稿</Tag>
|
||||
<Tag>草稿</Tag>
|
||||
}
|
||||
else if (context.Status == 2)
|
||||
{
|
||||
<Tag T="string" Size="Size.Small" Variant="Variant.Text">发布</Tag>
|
||||
<Tag>发布</Tag>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user