<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <script th:replace="common/head"></script>
    <link xmlns:th="http://www.thymeleaf.org" rel="stylesheet" th:href="${'/css/estate/access.css'}" media="all">
    <link xmlns:th="http://www.thymeleaf.org" rel="stylesheet"
          th:href="${'/css/estate/server-user-open-permission.css'}" media="all">
</head>
<body>
<div class="layui-fluid">
    <div class="layui-upload">
        <div class="layui-form">
            <div class="" style="margin-top: 20px;">
                <div class="layui-form-item">
                    <input type="hidden" name="resId" th:value="${residentialId}"/>
                    <div class="layui-inline">
                        <label class="layui-form-label">发卡住户：</label>
                        <div class="layui-input-block">
                            <input  readonly="readonly" id="user_name" autocomplete="off" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">卡号：</label>
                        <div class="layui-input-block">
                            <input readonly="readonly" id="card_no" name="cardNo"
                                   th:value="${cardNo}" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <br/>
                    <br/>
                    <hr/>
                    <div style="padding-bottom: 10px;">
                        <span style="size: 18px">选择发卡住户</span>
                    </div>
                    <br/>
                    <br/>
                    <div class="layui-inline">
                        <label class="layui-form-label">所属单元</label>
                        <div class="layui-input-block">
                            <div id="unit_name"></div>
                            <input id="unit_id" type="hidden"/>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">所属房间</label>
                        <div class="layui-input-block">
                            <div id="room_name"></div>
                            <input id="room_id" type="hidden"/>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">姓名</label>
                        <div class="layui-input-block">
                            <input type="text" name="name" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">手机号</label>
                        <div class="layui-input-block">
                            <input type="text" name="tel" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">身份证</label>
                        <div class="layui-input-block">
                            <input type="text" name="idCard" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline" style="margin-left: 38px;">
                        <button class="layui-btn layuiadmin-btn-useradmin"  lay-submit lay-filter="query">查询</button>
                        <button class="layui-btn  layui-btn-primary"  lay-submit lay-filter="reset">重置</button>
                    </div>

                    <div class="layui-card-body" style="padding:0;">
                        <table id="table_id" lay-filter="table_data"></table>
                    </div>

                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-filter="submit_button" lay-submit >保存</button>
                    <button type="reset" class="layui-btn layui-btn-primary">取消</button>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- javascript -->
<script th:src="@{'/layui/layui.js'}"></script>
<script>
    layui.config({
        base: '/' //静态资源所在路径
    });
</script>
<script th:src="@{'/js/estate/real-name-registration.js'}"></script>

<script>
    function f() {
        var user_name = document.getElementById("radioData")
    }
</script>
</body>
</html>
