Files
zszq-trs/YLErpWeb/Views/client/ClientOperationHistory.cshtml
T

57 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@model IEnumerable<ClientAuditLog>
@{
ViewBag.Title = "客户操作历史";
Layout = "~/Views/Shared/_LayoutMini.cshtml";
}
@section CSS{
<link href="~/Statics/libs/bstable/bootstrap-table.css" rel="stylesheet" />
}
@section JS{
<script src="~/Statics/libs/bstable/bootstrap-table.min.js?v=@(HtmlUtil.JsVersion)"></script>
<script src="~/Statics/libs/bstable/bootstrap-table-zh-CN.js?v=@(HtmlUtil.JsVersion)"></script>
}
<div class="p-4">
<table id="table1" class="table-sm" data-toggle="table">
<colgroup>
<col span="1" width="150" />
<col span="1" width="120" />
<col span="1" />
<col span="1" width="300" />
</colgroup>
<thead>
<tr>
<th class="text-center">操作时间</th>
<th class="text-center">操作人</th>
<th class="text-left">操作内容</th>
<th class="text-left">说明</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model)
{
<tr>
<td>@(item.OptDate.ToString("yyyy-MM-dd HH:mm:ss"))</td>
<td>@(item.OptName)</td>
<td>@(item.OptType)</td>
<td>
@{
if (!string.IsNullOrWhiteSpace(item.Changes))
{
var change = item.Changes.Split('');
foreach (var c in change)
{
@c
<br />
}
}
}
</td>
</tr>
}
</tbody>
</table>
</div>