|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
var index = 0;
|
|
|
|
|
}
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-3">
|
|
|
|
|
<div class="col-sm-2">
|
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<div class="col-sm-10">
|
|
|
|
|
<form method="post" action="/" target="_self">
|
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="card-header">
|
|
|
|
@ -62,64 +62,71 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
<table class="table table-hover text-nowrap">
|
|
|
|
|
<tr>
|
|
|
|
|
<th><input type="checkbox" class="select_all" /></th>
|
|
|
|
|
<th>行号</th>
|
|
|
|
|
<th>申请修改状态</th>
|
|
|
|
|
<th>审核状态</th>
|
|
|
|
|
<th>姓名</th>
|
|
|
|
|
<th>性别</th>
|
|
|
|
|
<th>民族</th>
|
|
|
|
|
<th>籍贯</th>
|
|
|
|
|
<th>审核</th>
|
|
|
|
|
<th>编辑</th>
|
|
|
|
|
<th>审计</th>
|
|
|
|
|
</tr>
|
|
|
|
|
@foreach (var item in Model.List)
|
|
|
|
|
{
|
|
|
|
|
index++;
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="checkbox" name="list[]" value="@item.Id" />
|
|
|
|
|
</td>
|
|
|
|
|
<td>@index</td>
|
|
|
|
|
<td>@item.RequestEditStatus</td>
|
|
|
|
|
<td>@item.CheckStatus</td>
|
|
|
|
|
<td>@item.RealName</td>
|
|
|
|
|
<td>@item.Sex</td>
|
|
|
|
|
<td>@item.Nation</td>
|
|
|
|
|
<td>@item.NativePlace</td>
|
|
|
|
|
<td>
|
|
|
|
|
@if (User.IsInRole("局管理员") && Model.CheckStatus == "待局级审核")
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Details", new { userId = item.UserId })">审核</a>
|
|
|
|
|
}
|
|
|
|
|
@if (User.IsInRole("校管理员") && Model.CheckStatus == "待校级审核")
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Details", new { userId = item.UserId })">审核</a>
|
|
|
|
|
}
|
|
|
|
|
@if (User.IsInRole("局管理员") && Model.CheckStatus == "局级审核成功")
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Details", new { userId = item.UserId })">重置</a>
|
|
|
|
|
}
|
|
|
|
|
@if (User.IsInRole("校管理员") && Model.CheckStatus == "待校级审核")
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Details", new { userId = item.UserId })">重置</a>
|
|
|
|
|
}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@if (User.Identity.Name == item.UserName)
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Edit",new { userId=item.UserId})">我的</a>
|
|
|
|
|
}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="@Url.Action("History",new { UserName=item.UserName})">日志</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
}
|
|
|
|
|
</table>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-12" style="overflow-x:auto;">
|
|
|
|
|
<table class="table table-bordered text-nowrap">
|
|
|
|
|
<tr>
|
|
|
|
|
<th><input type="checkbox" class="select_all" /></th>
|
|
|
|
|
<th>行号</th>
|
|
|
|
|
<th>申请修改状态</th>
|
|
|
|
|
<th>审核状态</th>
|
|
|
|
|
<th>姓名</th>
|
|
|
|
|
<th>性别</th>
|
|
|
|
|
<th>民族</th>
|
|
|
|
|
<th>籍贯</th>
|
|
|
|
|
<th>审核</th>
|
|
|
|
|
<th>重置</th>
|
|
|
|
|
<th>编辑</th>
|
|
|
|
|
<th>审计</th>
|
|
|
|
|
</tr>
|
|
|
|
|
@foreach (var item in Model.List)
|
|
|
|
|
{
|
|
|
|
|
index++;
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<input type="checkbox" name="list[]" value="@item.Id" />
|
|
|
|
|
</td>
|
|
|
|
|
<td>@index</td>
|
|
|
|
|
<td>@item.RequestEditStatus</td>
|
|
|
|
|
<td>@item.CheckStatus</td>
|
|
|
|
|
<td>@item.RealName</td>
|
|
|
|
|
<td>@item.Sex</td>
|
|
|
|
|
<td>@item.Nation</td>
|
|
|
|
|
<td>@item.NativePlace</td>
|
|
|
|
|
<td>
|
|
|
|
|
@if (User.IsInRole("局管理员") && item.CheckStatus == "待局级审核")
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Details", new { userId = item.UserId })">局级审核</a>
|
|
|
|
|
}
|
|
|
|
|
@if (User.IsInRole("校管理员") && item.CheckStatus == "待校级审核")
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Details", new { userId = item.UserId })">校级审核</a>
|
|
|
|
|
}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@if (User.IsInRole("局管理员") && item.CheckStatus == "局级审核成功")
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Details", new { userId = item.UserId })">重置</a>
|
|
|
|
|
}
|
|
|
|
|
@if (User.IsInRole("校管理员") && item.CheckStatus == "待校级审核")
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Details", new { userId = item.UserId })">重置</a>
|
|
|
|
|
}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
@if (User.Identity.Name == item.UserName)
|
|
|
|
|
{
|
|
|
|
|
<a href="@Url.Action("Edit",new { userId=item.UserId})">我的</a>
|
|
|
|
|
}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="@Url.Action("History",new { UserName=item.UserName})">日志</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
}
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="card-footer">
|
|
|
|
|
@(await Html.PartialAsync("_Paged"))
|
|
|
|
|