cwhelp/admin/src/main/resources/templates/system/user/detail.html

56 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
>
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="timo-detail-page">
<div class="timo-detail-title">基本信息</div>
<table class="layui-table timo-detail-table">
<tbody>
<tr>
<th width='100px'>用户编号</th>
<td th:text="${user.id}"></td>
<th width='100px'>用户账号</th>
<td th:text="${user.username}"></td>
</tr>
<tr>
<th>用户昵称</th>
<td th:text="${user.nickname}"></td>
<th>用户性别</th>
<td th:text="${#dicts.keyValue('USER_SEX', user.sex)}"></td>
</tr>
<tr>
<th>系统</th>
<td th:text="${user.dept?.title}"></td>
<th>类型</th>
<td th:text="${#dicts.keyValue('USER_TYPE', user.type)}"></td>
</tr>
<tr>
<th>所属</th>
<td th:text="${user.bssPlatform.name}" colspan="4"></td>
</tr>
<tr>
<th>电话号码</th>
<td th:text="${user.phone}"></td>
<th>邮箱</th>
<td th:text="${user.email}"></td>
</tr>
<tr>
<th>创建时间</th>
<td th:text="${#dates.format(user.createDate, 'yyyy-MM-dd HH:mm:ss')}"></td>
<th>最后修改</th>
<td th:text="${#dates.format(user.updateDate, 'yyyy-MM-dd HH:mm:ss')}"></td>
</tr>
<tr>
<th>备注</th>
<td th:text="${user.remark}" colspan="4"></td>
</tr>
</tbody>
</table>
<div th:replace="/common/fragment :: log(${user})"></div>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>