<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>用户维护</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="../../../static/assets/library/layui/css/layui.css"
          th:href="@{/assets/library/layui/css/layui.css}"/>
    <link rel="stylesheet" href="../../../static/assets/library/fonts/fontawesome/css/all.css"
          th:href="@{/assets/library/fonts/fontawesome/css/all.css}"/>

    <link rel="stylesheet" href="../../../static/business/upms/user/css/edit.css" th:href="@{/business/upms/user/css/edit.css}">

</head>
<body>
<form class="layui-form">
    <!--<input type="hidden" id="id" name="id" th:value="${session.role.id}"/>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">用户名称</label>
            <div class="layui-input-block">
                <input type="text" id="userName" name="userName" class="layui-input" placeholder="请输入用户名称">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">角色类型</label>
            <div class="layui-input-inline">
                <input type="text" id="roleType" name="roleType" class="layui-input roleType" lay-verify="required" th:value="${session.role.roleType}"
                       placeholder="请输入角色类型">
            </div>
        </div>
    </div>-->
    <div class="layui-row childrenRow">
        <input type="hidden" id="id" name="id">
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <input type="text" id="userName" name="userName" class="layui-input userName" lay-verify="required"
                       placeholder="请输入用户名">
            </div>
        </div>
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">登录名</label>
            <div class="layui-input-block">
                <input type="text" id="loginName" name="loginName" class="layui-input loginName" lay-verify="required"
                       placeholder="请输入登录名">
            </div>
        </div>
    </div>
    <div class="layui-row childrenRow">
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">身份证号</label>
            <div class="layui-input-block">
                <input type="text" id="userIdCard" name="userIdCard" class="layui-input userIdCard" lay-verify="required"
                       placeholder="请输入身份证号">
            </div>
        </div>
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">单点登陆</label>
            <div class="layui-input-block">
                <select id="isDifferentIpLogin" name="isDifferentIpLogin" class="isDifferentIpLogin" lay-filter="isDifferentIpLogin">
                    <option value="0">不支持</option>
                    <option value="1">支持</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-row childrenRow">
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">用户地址</label>
            <div class="layui-input-block">
                <input type="text" id="userAddress" name="userAddress" class="layui-input userAddress"
                       placeholder="请输入用户地址">
            </div>
        </div>
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">手机号码</label>
            <div class="layui-input-block">
                <input type="text" id="userMobilePhone" name="userMobilPhone" class="layui-input userMobilePhone"
                       lay-verify="phone" placeholder="请输入手机号码">
            </div>
        </div>
    </div>

    <div class="layui-row childrenRow">
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">用户昵称</label>
            <div class="layui-input-block">
                <input type="text" id="userNickName" name="userAddress" class="layui-input userNickName"
                       placeholder="请输入用户昵称">
            </div>
        </div>
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">网络类型</label>
            <div class="layui-input-block">
                <select id="dncnet" name="dncnet" class="dncnet" lay-filter="dncnet">
                    <option value="">全部</option>
                    <option value="0">内网</option>
                    <option value="1">外网</option>
                    <option value="2">专用</option>
                </select>
            </div>
        </div>
    </div>

    <div class="layui-row childrenRow">
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">邮箱</label>
            <div class="layui-input-block">
                <input type="text" id="userEmail" name="userEmail" class="layui-input userEmail" lay-verify="email" placeholder="请输入邮箱">
            </div>
        </div>
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">性别</label>
            <div id="userGender" class="layui-input-block userGender">
                <input type="radio" name="userGender" value="0" title="男">
                <input type="radio" name="userGender" value="1" title="女">
                <input type="radio" name="userGender" value="2" title="保密" checked>
            </div>
        </div>
    </div>

    <div class="layui-row childrenRow">
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">用户类型</label>
            <div class="layui-input-block">
                <select id="userType" name="userType" class="userType" lay-filter="userType">
                    <option value="0">系统默认</option>
                    <option value="1">普通管理员</option>
                    <option value="2">系统管理员</option>
                    <option value="9">超级管理员</option>
                </select>
            </div>
        </div>
        <div class="magb15 layui-col-md6 layui-col-xs12">
            <label class="layui-form-label">用户状态</label>
            <div class="layui-input-block">
                <select id="userStatus" name="userStatus" class="userStatus" lay-filter="userStatus">
                    <option value="0">正常使用</option>
                    <option value="1">无效用户</option>
                    <option value="2">已经删除</option>
                    <option value="3">暂停使用</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12 childrenRow">
        <label class="layui-form-label">用户简介</label>
        <div class="layui-input-block">
            <textarea placeholder="请输入用户简介" id="userDesc" name="userDesc" class="layui-textarea userDesc"></textarea>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12 childrenRow">
        <label class="layui-form-label">备注</label>
        <div class="layui-input-block">
            <textarea placeholder="请输入备注" id="remark" name="remark" class="layui-textarea remark"></textarea>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="save">保存</button>
            <button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">清除</button>
        </div>
    </div>
</form>
<script src="../../../static/assets/library/jquery/jquery.js" th:src="@{/assets/library/jquery/jquery.js}"></script>
<script src="../../../static/assets/library/layui/layui.js" th:src="@{/assets/library/layui/layui.js}"></script>
<script type="text/javascript" src="../../../static/business/upms/user/js/edit.js" th:src="@{/business/upms/user/js/edit.js}"></script>
</body>
</html>