<%@ page import="com.lightinit.hsdataplatformresdir.dictionary.DicUserAccountLockType" %>
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String basePath = request.getContextPath();
%>
<jsp:include page="../../../common/admin/modal_content_pre.jsp">
    <jsp:param name="modal_title" value="用户详情"/>
</jsp:include>
<form id="formAdd"  action="<%=basePath%>/admin/user/edit.action" method="post" class="form-horizontal">
    <div class="form-group">
        <div class="form-group">
            <label for="username" class="col-sm-3 control-label">用户账号</label>
            <div class="col-sm-8">
                <input type="text" id="username" name="username" class="form-control" value="${admin.username}" readonly/>
            </div>
        </div>
        <div class="form-group">
            <label for="showname" class="col-sm-3 control-label">用户全称</label>
            <div class="col-sm-8">
                <input type="text" id="showname" name="showname" class="form-control" value="${admin.showname}" readonly/>
            </div>
        </div>
        <div class="form-group">
            <label for="orgName" class="col-sm-3 control-label">部门</label>
            <div class="col-sm-8">
                <input type="text" id="orgName" name="orgName" class="form-control" value="${admin.orgName}" readonly/>
            </div>
        </div>
        <div class="form-group">
            <label for="salt" class="col-sm-3 control-label">密码盐</label>
            <div class="col-sm-8">
                <input type="text" id="salt" name="salt" class="form-control"
                value="${admin.salt}" readonly/>
            </div>
        </div>
        <div class="form-group">
            <label for="accountlock" class="col-sm-3 control-label">用户状态</label>
            <div  class="col-sm-8">
                <input type="text" id="accountlock" name="salt" class="form-control"
                       value="<c:if test="${admin.accountlock==0}"><%=DicUserAccountLockType.NORMAL%></c:if>
                    <c:if test="${admin.accountlock==1}"><%=DicUserAccountLockType.LOCKING%></c:if>" readonly/>

            </div>
        </div>

    </div>
</form>
<jsp:include page="../../../common/admin/modal_content_post.jsp"></jsp:include>
<jsp:include page="../../../common/admin/modal_footer_pre.jsp"></jsp:include>
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-close"></i>取消</button>
<jsp:include page="../../../common/admin/modal_footer_post.jsp"></jsp:include>
<script type="text/javascript">
</script>