feat: 用户维护增加分配按钮空函数
This commit is contained in:
parent
91627fac3f
commit
2d1506ba8d
|
@ -5,6 +5,10 @@
|
|||
<LgbInputText ColumnClass="col-sm-auto" @bind-Value="@context.UserName" maxlength="50" />
|
||||
<LgbInputText ColumnClass="col-sm-auto" @bind-Value="@context.DisplayName" maxlength="50" />
|
||||
</QueryBody>
|
||||
<TableToolbarTemplate>
|
||||
<TableToolbarButton class="btn btn-info" Icon="fa fa-bank" Title="分配部门" OnClick="AssignGroups" />
|
||||
<TableToolbarButton class="btn btn-warning" Icon="fa fa-sitemap" Title="分配角色" OnClick="AssignRoles" />
|
||||
</TableToolbarTemplate>
|
||||
<TableHeader>
|
||||
<LgbTableHeader TItem="string" @bind-Value="@context.UserName"></LgbTableHeader>
|
||||
<LgbTableHeader TItem="string" @bind-Value="@context.DisplayName"></LgbTableHeader>
|
||||
|
|
|
@ -35,5 +35,21 @@ namespace Bootstrap.Pages.Admin.Components
|
|||
/// 删除方法
|
||||
/// </summary>
|
||||
protected override bool Delete(IEnumerable<User> users) => UserHelper.Delete(users.Select(item => item.Id ?? ""));
|
||||
|
||||
/// <summary>
|
||||
/// 分配部门方法
|
||||
/// </summary>
|
||||
protected void AssignGroups()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分配角色方法
|
||||
/// </summary>
|
||||
protected void AssignRoles()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue