<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <script th:replace="common/head"></script>
    <style type="text/css">
    </style>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-form" lay-filter="entity_form">
                    <!-- 下发设备选择页面 -->
                    <script th:replace="device/access-device-select"></script>
                    <!-- 下发时间选择 -->
                    <div class="layui-form-item" style="margin-left: 30px">
                        <div class="layui-input-inline">
                            <button class="layui-btn" lay-submit lay-filter="push">下发</button>
                            <button class="layui-btn layui-btn-primary" type="reset">取消</button>
                        </div>
                        <div class="layui-input-inline">
                            <label class="layui-form-label"><span class="must">*</span>有效期：</label>
                            <div class="layui-input-block">
                                <input type="text"  class="layui-input date-icon" id="push_date"  placeholder="请选择下发有效期" autocomplete="off">
                                <input type="hidden" id="begin_date"  name="beginDate"/>
                                <input type="hidden" id="end_date"  name="endDate" />
                            </div>
                        </div>
                    </div>
                    <!-- 按钮 -->
                    <!--<div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="push">下发</button>
                            <button class="layui-btn layui-btn-primary" type="reset">取消</button>
                        </div>
                    </div>-->
                    <input type="hidden" name="userId"  class="layui-input" th:value="${user?.id}"/>
                    <input type="hidden" name="userType"  class="layui-input" th:value="${userType}"/>
                    <input type="hidden" name="residentialId"  class="layui-input" th:value="${residentialId}"/>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<!-- javascript -->
<script type="text/javascript" th:src="@{'/layui/layui.js'}" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
    layui.config({
        base: '/' //静态资源所在路径
    });
</script>
<script type="text/javascript" th:src="@{'/js/estate/access-devices-manual-push.js'}" charset="utf-8"></script>
</html>
