<!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/notice-add.css'}" media="all">
</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-card-body" >
                    <div class="layui-form" lay-filter="">
                        <input type="hidden" name="beginTime" th:value="${#dates.format(bean?.beginTime, 'yyyy-MM-dd hh:mm:ss')}">
                        <input type="hidden" name="createTime" th:value="${#dates.format(bean?.createTime, 'yyyy-MM-dd hh:mm:ss')}">
                        <input type="hidden" name="endTime" th:value="${#dates.format(bean?.endTime, 'yyyy-MM-dd hh:mm:ss')}">
                        <input type="hidden" name="estimateStatus" th:value="${bean?.estimateStatus}">
                        <input type="hidden" name="memberId" th:value="${bean?.memberId}">
                        <input type="hidden" name="orgPosition" th:value="${bean?.orgPosition}">
                        <input type="hidden" name="phone" th:value="${bean?.phone}">
                        <input type="hidden" name="repairNo" th:value="${bean?.repairNo}">
                        <input type="hidden" name="reportPosition" th:value="${bean?.reportPosition}">
                        <input type="hidden" name="status" th:value="${bean?.status}">
                        <input type="hidden" name="userId" th:value="${bean?.userId}">
                        <div class="layui-form-item">
                            <label class="layui-form-label"><span class="must">*</span>报修小区</label>
                            <div class="layui-input-inline">
                                <input type="text" name="residentialName" lay-verify="required" placeholder="请输入标题" autocomplete="off"
                                       class="layui-input" th:value="${bean?.residentialName}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label"><span class="must">*</span>报修详情</label>
                            <div class="layui-input-block">
                                <textarea maxlength="200" name="reportDetail" lay-verify="required" placeholder="请输入200字以内介绍" class="layui-textarea w500" th:text="${bean?.reportDetail}" disabled></textarea>
                            </div>
                        </div>
                      <!--  <div class="layui-form-item">
                            <label class="layui-form-label">公告图片</label>
                            <div class="layui-input-block">
                                <div class="layui-upload ">
                                    <div class="layui-upload-list layui-inline" id="imgListId">
                                            <div class="layer-photos-content" th:each="noticeImg:${bean?.noticeImages}">
                                                <input type="hidden" name="imgUri"   th:attr="value=${noticeImg?.imgUri},md5=${noticeImg?.imgMd5}"/>
                                                    <img class="layui-upload-img" src="" th:src="${fastDfsServer+noticeImg?.imgUri}">
                                                <span class="layui-layer-setwin">
                                                    <a class="layui-layer-ico layui-layer-close layui-layer-close2" href="javascript:;"></a>'
                                                </span>
                                                <a href="javascript:;" class="layui-laypage-next">
                                                    <i class="layui-icon"></i>
                                                </a>
                                                <a href="javascript:;" class="layui-laypage-prev ">
                                                    <i class="layui-icon"></i>
                                                </a>
                                            </div>
                                           &lt;!&ndash; <div class="layer-photos-content"  >
                                             <img class="layui-upload-img" src="http://192.168.0.98:8880/group1/M00/00/02/wKgAYlvtUEyAYJu3AAA_mInbr1g681.jpg">
                                             <span class="layui-layer-setwin"><a class="layui-layer-ico layui-layer-close layui-layer-close2" href="javascript:;"></a>'</span>
                                             </div>&ndash;&gt;
                                    </div>
                                    <div class="layui-inline" id="uploadImage">
                                        <div class="upload-btn">
                                            <i class="layui-icon layui-icon-add-1"></i>
                                            <p>上传图片(最多5张)</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>-->
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input type="hidden" name="id"  class="layui-input" th:value="${bean?.id}">
                                <input type="hidden" id="fastDfsServer"   th:value="${fastDfsServer}">
                                <button class="layui-btn" lay-submit lay-filter="submitButton">处理完成</button>
                                <button type="reset" class="layui-btn layui-btn-primary" id="cancel_btn">取消</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- javascript -->
<script th:src="@{'/layui/layui.js'}"></script>
<script>
    layui.config({
        base: '/' //静态资源所在路径
    });
</script>
<script th:src="@{'/js/estate/repair-add.js'}"></script>
</body>
</html>
