增加商品分类、商品、用户组、用户管理
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
@model IList<MemberRoles>
|
||||
@{
|
||||
ViewBag.title = "用户组管理";
|
||||
}
|
||||
<div class="wrapper wrapper-content ">
|
||||
<div class="ibox float-e-margins">
|
||||
<div class="ibox-title">
|
||||
<h5>@ViewBag.Title</h5>
|
||||
</div>
|
||||
<div class="ibox-content">
|
||||
@*<div id="toolbar" class="btn-group">
|
||||
<button id="btn_add" type="button" class="btn btn-outline btn-default" onclick="top.showDialog('addmemberrole', '添加用户组', '/Admin/Member/AddMemberRole', 0, 0)">
|
||||
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新增
|
||||
</button>
|
||||
</div>*@
|
||||
|
||||
<div id="toolbar2" class="btn-group pull-right">
|
||||
<button id="btn_refresh" type="button" class="btn btn-outline btn-default" onclick="refresh();">
|
||||
<span class="fa fa-refresh" aria-hidden="true"></span>刷新
|
||||
</button>
|
||||
</div>
|
||||
<table class="tree table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>用户组名称</th>
|
||||
<th class="text-center">是否不许删除</th>
|
||||
<th class="text-center">排序</th>
|
||||
<th class="hide">我的提成</th>
|
||||
<th>用户组介绍</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@if (Model.Count == 0)
|
||||
{
|
||||
<tr><td colspan="6" class="text-center">暂无记录...</td></tr>
|
||||
}
|
||||
@foreach (var m in Model)
|
||||
{
|
||||
<tr>
|
||||
<td>@m.Id</td>
|
||||
<td>
|
||||
@m.RoleName
|
||||
</td>
|
||||
<td class="text-center">
|
||||
@if (m.NotAllowDel == 1)
|
||||
{
|
||||
<i class="fa fa-check"></i>
|
||||
}
|
||||
</td>
|
||||
<td class="text-center">@m.Rank</td>
|
||||
<td class="hide">@m.CashBack.ToString("N2")%</td>
|
||||
<td>@m.RoleDescription</td>
|
||||
<td>
|
||||
<a href="javascript:;" class="btn btn-xs btn-primary" title="编辑" onclick="top.showDialog('eidtrole', '编辑用户组详情', '/AdminCP/Member/EditMemberRole/@m.Id', 0, 0)"><i class="fa fa-edit"></i> 编辑</a>
|
||||
@*<a href="javascript:;" class="btn btn-xs btn-danger" title="删除" onclick="doDel('/Admin/Member/DelMemberRole',@m.Id);"><i class="fa fa-close"></i> 删除</a>*@
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user