<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<!DOCTYPE HTML>
<html>
<head>
    <meta name="decorator" content="base"/>
    <link rel="stylesheet" href="${ctxPlugin}/lib/layuiAdmin/dist/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${ctxPlugin}/lib/layuiAdmin/dist/layuiadmin/style/admin.css" media="all">
    <link rel="stylesheet" href="${ctxPlugin}/static/css/reset.css">
    <link rel="stylesheet" href="${ctxPlugin}/lib/layuiAdmin/dist/layuiadmin/dist/viewer.css" media="all">
    <style>
        html {
            background-color: #fff;
            padding-bottom: 50px;
        }
        .form-span {
            display: inline-block;
            padding: 8px 0;
        }

        .page-iframe {
            border: none;
            width: 100%;
            min-height: calc(100vh - 250px);
        }
        .mb-10{
            margin-bottom: 10px !important;
        }
        .pd-10{
            padding: 10px;
        }
        .idea-text{
            width: 320px; height: 100px;outline: none; padding: 3px
        }
        .msg-title{
            text-align: center;
            margin: 10px 0;
            font-size: 16px;
        }
        .title1 {
            border-left: 4px solid #1b6073;
            padding-left: 20px;
            font-size: 14px;
            margin: 10px auto;
            font-weight: 600;
            height: 34px;
            line-height: 34px;
            background-color: #f4f6f9;
            color: #666666;
        }
        .layui-input-block {
            margin-left: 110px;
        }

        .layui-form-label {
            width: 110px;
        }
        .clearfix{*zoom:1;}
        .clearfix:before,.clearfix:after{display:table; line-height:0; content:"";}
        .clearfix:after{clear:both;}

        .layui-tab-title{
            margin: 0 0 0 20px;
        }
        .layui-tab-content{
            margin: 0 0 0 20px;
        }
       /* .bj-img {
            margin-right: 0px;
        }*/
        .blank-img {
            background: url('${ctxPlugin}/static/imgs/blankImg.png') center center no-repeat;
            width: 80px;
            height: 80px;
            display: inline-block;
        }

        input[type="radio"]:disabled, textarea:disabled, .layui-disabled {
            background-color: #ffffff;
        }

        .layui-select-title .layui-disabled{
            background-color: #eee !important;
        }

        .img-box2 > div {
            margin-right: -4px;
        }
        .layui-form-item .layui-input-inline {
            float: left;
            width: 300px;
            margin-right: 10px;
        }

    </style>
</head>
<body>
<div class="layui-form">
    <div class="layui-card">
        <button class="layui-btn" style="margin-left: 92.5%;" onclick="approvalRecord()">审批记录</button>
        <div class="layui-card-body layui-col-xs12" id="LAY_app">
            <div class="layui-card">
                <blockquote class="layui-elem-quote">项目信息</blockquote>
                <div class="layui-card-body">
                    <div class="layui-row layui-col-space12 layui-form-item">
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">产品编号：</label>
                            <div class="layui-input-block">
                                <input type="text" id="projectCode" disabled class="layui-input " value="${entry.projectCode}"
                                       disabled>
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">产品名称：</label>
                            <div class="layui-input-block">
                                <select name="projectId" id="projectId" lay-filter="projectId" disabled>
                                    <option value="">请选择</option>
                                    <c:forEach items="${project}" var="ject">
                                        <option value="${ject.columns.id}" title="${ject.columns.code}" <c:if
                                                test="${ject.columns.id eq entry.projectId}"> selected</c:if>
                                                >${ject.columns.name}</option>
                                    </c:forEach>
                                </select>
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">代理商：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input " value="${entry.traderName}">
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">项目公司：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input " value="${entry.projectCompanyName}">
                            </div>
                        </div>
                    </div>
                    <div class="layui-row layui-col-space12 layui-form-item">
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">电站状态：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input"
                                <c:choose>
                                <c:when test="${entry.status eq '0'}">
                                       <c:if test="${entry.credit eq '0'}">value="暂存"</c:if>
                                       <c:if test="${entry.credit eq '1'}">value="待预审"</c:if>
                                       <c:if test="${entry.credit eq '2'}">value="预审待审批"</c:if>
                                       <c:if test="${entry.credit eq '3'}">value="预审审批中"</c:if>
                                       <c:if test="${entry.credit eq '4' && entry.designAuditFlag eq '3'}">value="自审驳回"</c:if>
                                       <c:if test="${entry.credit eq '4' && entry.designAuditFlag eq 'a'}">value="待设计"</c:if>
                                       <c:if test="${entry.credit eq '4' && entry.designAuditFlag ne '3' && entry.designAuditFlag ne 'a'}">value="待踏勘"</c:if>
                                       <c:if test="${entry.credit eq '5'}">value="预审拒绝"</c:if>
                                </c:when>
                                <c:when test="${entry.status eq '1'}">
                                       <c:if test="${entry.designAuditFlag eq '1'}">value="待踏勘"</c:if>
                                       <c:if test="${entry.designAuditFlag eq 'a'}">value="待设计"</c:if>
                                       <c:if test="${entry.designAuditFlag eq '2'}">value="待自审"</c:if>
                                       <c:if test="${entry.designAuditFlag eq '3'}">value="自审驳回"</c:if>
                                       <c:if test="${entry.designAuditFlag eq '4'}">value="自审通过"</c:if>
                                       <c:if test="${entry.designAuditFlag eq '5'}">value="设计审核驳回"</c:if>
                                       <c:if test="${entry.designAuditFlag eq '6'}">value="设计审核通过"</c:if>
                                       <c:if test="${entry.designAuditFlag eq '7'}">value="进件审核驳回"</c:if>
                                       <c:if test="${entry.designAuditFlag eq '8'}">value="进件审核中"</c:if>
                                       <c:if test="${entry.designAuditFlag eq '9'}">value="进件审核通过"</c:if>
                                </c:when>
                                <c:when test="${entry.status eq '2'}">
                                       value="审核驳回"
                                </c:when>
                                </c:choose>
                                >
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">备案类型：</label>
                            <div class="layui-input-block">
                                <input type="text" id="filingType" disabled class="layui-input"
                                <c:choose>
                                    <c:when test="${entry.filingType eq '1'}">
                                           value="农户备案"
                                    </c:when>
                                    <c:when test="${entry.filingType eq '2'}">
                                           value="项目公司备案"
                                    </c:when>
                                </c:choose>>
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">保险购买情况：</label>
                            <div class="layui-input-block">
                                <input type="text" id="insuranceFlag" name="insuranceFlag" disabled class="layui-input"
                                       <c:if test="${entry.insuranceFlag eq '1'}">value="控制投放及续保"</c:if>
                                       <c:if test="${entry.insuranceFlag eq '2'}">value="控制投放"</c:if>
                                       <c:if test="${entry.insuranceFlag eq '3'}">value="其他"</c:if>>
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">预计投放日：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input " value="<fmt:formatDate value="${entry.leaseDate}" pattern="yyyy-MM-dd"/>">
                            </div>
                        </div>
                    </div>
                    <div class="layui-row layui-col-space12 layui-form-item">
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">业务员：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input " value="${entry.creator}">
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">创建时间：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input " value="<fmt:formatDate value="${entry.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/>">
                            </div>
                        </div>

                        <div class="layui-col-sm3 layui-col-md3">
                            <label class="layui-form-label">电站名称：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled class="layui-input " value="${stationName}">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-card jibenxinxi ">
                <blockquote class="layui-elem-quote">业主信息</blockquote>
                <div class="layui-card-body ">
                    <c:if test="${empty entry.tenantType || ('1' eq entry.tenantType)}">
                        <div class="layui-row layui-col-space12 layui-form-item">

                            <c:if test="${info.columns.tenant_name.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">业主姓名：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="tenantName" class="layui-input" disabled value="${entry.tenantName}">
                                    </div>
                                </div>
                            </c:if>

                            <c:if test="${info.columns.gender.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">性别：</label>
                                    <div class="layui-input-block">
                                        <input type="radio" name="gender" disabled title="男"
                                               value="MALE" ${entry.gender eq 'MALE' ? 'checked' : ''}/>
                                        <input type="radio" name="gender" disabled title="女"
                                               value="FEMALE" ${entry.gender eq 'FEMALE' ? 'checked' : ''}/>
                                    </div>
                                </div>
                            </c:if>

                            <c:if test="${info.columns.age.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <div>
                                        <label class="layui-form-label">年龄：</label>
                                        <div class="layui-input-block">
                                            <input type="text" name="age" id="age" class="layui-input" value="${entry.age}" disabled>
                                        </div>
                                    </div>
                                </div>
                            </c:if>

                            <c:if test="${info.columns.mobile.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3" style="position:relative;">
                                    <div>
                                        <label class="layui-form-label">联系电话：</label>
                                        <div class="layui-input-block">
                                            <input type="text" name="mobile"
                                                   disabled class="layui-input" value="${entry.mobile}">
                                        </div>
                                    </div>
                                </div>
                            </c:if>

                            <c:if test="${info.columns.id_code.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">身份证号：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="idCode" disabled class="layui-input" value="${entry.idCode}">
                                    </div>
                                </div>
                            </c:if>


                            <div class="layui-col-lg9 layui-col-sm9">
                                <label class="layui-form-label">安装地址：</label>
                                <div class="layui-input-block">
                                    <c:choose>
                                        <c:when test="${entry.province eq entry.city}">
                                            <input type="text" class="layui-input" value="${entry.province}${entry.area}${entry.address}" disabled>
                                        </c:when>
                                        <c:otherwise>
                                            <input type="text" class="layui-input" value="${entry.province}${entry.city}${entry.area}${entry.address}" disabled>
                                        </c:otherwise>
                                    </c:choose>
                                </div>
                            </div>
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label">风压：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="windPressure" id="windPressure"  value="${entry.windPressure}" disabled
                                           autocomplete="off" class="layui-input ">
                                    <span class="pos-a h-32 lh-32 layui-span-unit">kN/㎡</span>
                                </div>
                            </div>
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label">雪压：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="snowPressure" id="snowPressure" value="${entry.snowPressure}"  disabled
                                           autocomplete="off" class="layui-input ">
                                    <span class="pos-a h-32 lh-32 layui-span-unit">kN/㎡</span>
                                </div>
                            </div>
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label">风雪压等级：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="pressureLevel" id="pressureLevel" value="${entry.pressureLevel}"  disabled
                                           autocomplete="off" class="layui-input ">
                                </div>
                            </div>
                        <c:if test="${entry.tenantType eq '1'}">
                            <c:if test="${info3.columns.birthday_date.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">出生日期：</label>
                                    <div class="layui-input-block">
                                        <input type="text" id="birthdayDate" name="birthdayDate" disabled class="layui-input" value="<fmt:formatDate value="${entry.birthdayDate}" pattern="yyyy-MM-dd"/>">
                                    </div>
                                </div>
                            </c:if>

                            <c:if test="${info3.columns.ic_validity_begin.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">身份证生效日：</label>
                                    <div class="layui-input-block">
                                        <input type="text" id="icValidityBegin" name="icValidityBegin" disabled class="layui-input" value="<fmt:formatDate value="${entry.icValidityBegin}" pattern="yyyy-MM-dd"/>">
                                    </div>
                                </div>
                            </c:if>

                            <c:if test="${info3.columns.ic_validity_end.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">身份证到期日：</label>
                                    <div class="layui-input-block">
                                        <input type="text" id="icValidityEnd" name="icValidityEnd" disabled class="layui-input" value="<fmt:formatDate value="${entry.icValidityEnd}" pattern="yyyy-MM-dd"/>">
                                    </div>
                                </div>
                            </c:if>
                        </c:if>
                            <div class="layui-row layui-col-space12 layui-form-item">
                                <c:if test="${info.columns.id_card_front.status eq '1'}">
                                    <div class="layui-col-lg4 layui-col-sm4">
                                        <label class="layui-form-label">身份证：</label>
                                        <div class="layui-input-block img-box img-box2">
                                            <div>
                                                <div>
                                                    <c:if test="${not empty entry.idCardFront}">
                                                        <div class="bj-img imgSpan">
                                                            <img src="${commonStaticImgPath}${entry.idCardFront}" height="700" width="1200"/>
                                                            <input type="hidden" class="idCardFront" value="${entry.idCardFront}"/>
                                                        </div>
                                                    </c:if>
                                                </div>
                                                <div style="width: 80px; text-align: center; color: #FF0000">正面</div>
                                            </div>
                                            <div>
                                                <div>
                                                    <c:if test="${not empty entry.idCardBack}">
                                                        <div class="bj-img imgSpan">
                                                            <img src="${commonStaticImgPath}${entry.idCardBack}" height="700" width="1200"/>
                                                            <input type="hidden" class="idCardBack" value="${entry.idCardBack}"/>
                                                        </div>
                                                    </c:if>
                                                </div>
                                                <div style="width: 80px; text-align: center; color: #FF0000">反面</div>
                                            </div>
                                        </div>
                                    </div>
                                </c:if>

                                <c:if test="${info.columns.residence_booklet.status eq '1'}">
                                    <div class="layui-col-lg4 layui-col-sm4">
                                        <label class="layui-form-label w-120">户口本复印件：</label>
                                        <div class="layui-input-block img-box ml-120">
                                            <div>
                                                <div>
                                                    <c:if test="${not empty entry.residenceBooklet}">
                                                        <c:forEach var="quaim" items="${entry.residenceBooklet.split(',')}" varStatus="vs">
                                                            <div class="bj-img imgSpan">
                                                                <img src="${commonStaticImgPath}${quaim}" height="700" width="1200"/>
                                                                <input type="hidden" class="residenceBooklet" value="${quaim}"/>
                                                            </div>
                                                        </c:forEach>
                                                    </c:if>
                                                    <div class="upload-container <c:if test="${not empty entry.residenceBooklet}">hide</c:if>" id="uploader3">
                                                        <img src="" alt="img placeholder" id="imgsAdd3">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </c:if>
                            </div>


                            <c:if test="${info3.columns.house_ownership.status eq '1'}">
                                <div class="layui-row layui-col-space12 layui-form-item">
                                    <div class="layui-col-lg11 layui-col-sm11">
                                        <label class="layui-form-label">房产证明：</label>
                                        <div class="layui-input-block img-box">
                                            <div>
                                                <div>
                                                <c:if test="${not empty surveyRecord.houseOwnership}">
                                                    <c:forEach items="${surveyRecord.houseOwnership}" var="img">
                                                    <div class="bj-img imgSpan">
                                                        <img src="${commonStaticImgPath}${img}" height="700" width="1200"/>
                                                    </div>
                                                    </c:forEach>
                                                </c:if>
                                                    <c:if test="${ empty surveyRecord.houseOwnership}">
                                                        <div class="upload-container">
                                                            <img src="" alt="img placeholder">
                                                        </div>
                                                    </c:if>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                            <div class="layui-row layui-col-space12 layui-form-item">
                                    <c:if test="${info.columns.bank_card.status eq '1'}">
                                        <div class="layui-col-lg4 layui-col-sm4">
                                            <label class="layui-form-label">银行卡照片：</label>
                                            <div class="layui-input-block img-box">
                                                <div>
                                                    <div>
                                                        <c:if test="${not empty entry.bankCard}">
                                                            <div class="bj-img imgSpan">
                                                                <img src="${commonStaticImgPath}${entry.bankCard}" height="700" width="1200"/>
                                                                <input type="hidden" class="bankCard" value="${entry.bankCard}"/>
                                                            </div>
                                                        </c:if>
                                                        <c:if test="${ empty entry.bankCard}">
                                                            <div class="upload-container">
                                                                <img src="" alt="img placeholder">
                                                            </div>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </c:if>
                                    <c:if test="${info3.columns.credit_certificate.status eq '1'}">
                                        <div class="layui-col-lg8 layui-col-sm8">
                                            <label class="layui-form-label"><c:if test="${info3.columns.credit_certificate.mustFillFlag eq '1'}"><i class="mark">*</i></c:if>信誉凭证：</label>
                                            <div class="layui-input-block img-box">
                                                <div style="display: flex">
                                                    <div>
                                                        <c:if test="${not empty orgFiles.creditCertificate}">
                                                            <c:forEach var="quaim" items="${orgFiles.creditCertificate.split(',')}" varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700" width="1200"/>
                                                                    <input type="hidden" class="creditCertificate" value="${quaim}"/>
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                    </div>
                                                    <c:if test="${ empty orgFiles.creditCertificate}">
                                                        <div class="upload-container">
                                                            <img src="" alt="img placeholder">
                                                        </div>
                                                    </c:if>
                                                </div>
                                            </div>
                                        </div>
                                    </c:if>
                                </div>
                            <div class="layui-row layui-col-space12 layui-form-item">
                                <c:if test="${info3.columns.exigence_name.status eq '1'}">
                                    <div class="layui-col-lg3 layui-col-sm3">
                                        <label class="layui-form-label"><c:if test="${info3.columns.exigence_name.mustFillFlag eq '1'}"><i class="mark">*</i></c:if>紧急联系人：</label>
                                        <div class="layui-input-block">
                                            <input type="text" name="exigenceName" id="exigenceName" lay-verify="required" disabled
                                                   autocomplete="off" class="layui-input " value="${entry.exigenceName}">
                                        </div>
                                    </div>
                                </c:if>
                                <c:if test="${info3.columns.exigence_phone.status eq '1'}">
                                    <div class="layui-col-lg3 layui-col-sm3">
                                        <label class="layui-form-label"><c:if test="${info3.columns.exigence_phone.mustFillFlag eq '1'}"><i class="mark">*</i></c:if>联系方式：</label>
                                        <div class="layui-input-block">
                                            <input type="text" name="exigencePhone" id="exigencePhone" lay-verify="required" disabled
                                                   autocomplete="off" class="layui-input " value="${entry.exigencePhone}">
                                        </div>
                                    </div>
                                </c:if>
                            </div>
                            <c:if test="${info.columns.bank_name.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">银行账户名：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="bankName" id="bankName" disabled class="layui-input" value="${entry.bankName}">
                                    </div>
                                </div>
                            </c:if>

                            <c:if test="${info.columns.bank_code.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">银行账户：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="bankCode" id="bankCode" disabled class="layui-input" value="${entry.bankCode}">
                                    </div>
                                </div>
                            </c:if>

                            <c:if test="${info.columns.tss_bank_num_name.status eq '1'}">
                                <div class="layui-col-xs12"></div>
                                <div class="layui-col-lg6 layui-col-sm6">
                                    <label class="layui-form-label">开户行：</label>
                                    <div class="layui-input-block">
                                        <select name="tssBankNum" id="tssBankNum" lay-verify="required" disabled>
                                            <option value="${entry.tssBankNum}" selected>${entry.tssBankNumName}</option>
                                        </select>
                                    </div>
                                </div>
                            </c:if>

                            <div class="layui-row layui-col-space12 layui-form-item">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">划转方式：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="repaymentMethod" id="repaymentMethod" disabled class="layui-input"
                                               <c:if test="${surveyRecord.repaymentMethod eq '1'}">value="二类卡"</c:if>
                                               <c:if test="${surveyRecord.repaymentMethod eq '2'}">value="光E宝"</c:if>
                                               <c:if test="${surveyRecord.repaymentMethod eq '0'}">value="其他"</c:if>
                                               lay-data="${surveyRecord.repaymentMethod}" >
                                    </div>
                                </div>
                                <c:if test="${surveyRecord.repaymentMethod ne '0'}">
                                    <div class="layui-col-lg3 layui-col-sm3">
                                        <label class="layui-form-label">账号名称：</label>
                                        <div class="layui-input-block">
                                            <input type="text" disabled class="layui-input" value="${card.name}">
                                        </div>
                                    </div>
                                    <div class="layui-col-lg3 layui-col-sm3">
                                        <label class="layui-form-label">二类卡号：</label>
                                        <div class="layui-input-block">
                                            <input type="text" disabled class="layui-input" value="${card.accountCode}">
                                        </div>
                                    </div>
                                </c:if>
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">联行号：</label>
                                    <div class="layui-input-block">
                                        <input type="text" disabled class="layui-input" value="${entry.tssBankNum}">
                                    </div>
                                </div>
                            </div>

                            <div class="layui-row layui-col-space12 layui-form-item" style="margin-top: 5px">
                                <label class="layui-form-label" >信息授权书：</label>
                                <c:if test="${not empty authorizationUrl}">
                                    <div class="layui-input-block">
                                        <a style="color:#2890ac;" href="${commonStaticImgPath}${authorizationUrl}"
                                           download="${authorizationUrl}"
                                           class="download-link">${fns:substringAfterLast(authorizationUrl, '/')}</a>
                                        <a style="color:#2890ac;" target="_blank"
                                           onclick="previewUrl('${commonStaticImgPath}${authorizationUrl}')" href="#"
                                           class="download-link">&nbsp &nbsp &nbsp查看</a>
                                        <input type="hidden" class="attachFiles" value="${authorizationUrl}">
                                    </div>
                                </c:if>
                            </div>
                        </div>
                    </c:if>

                    <c:if test="${entry.tenantType eq '2'}">

                        <c:if test="${info.columns.tenant_name.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label">单位名称：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="tenantNameAnother" disabled class="layui-input" value="${entry.tenantName}">
                                </div>
                            </div>
                        </c:if>
                        <c:if test="${info.columns.regno.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label">信用代码：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="regno" id="regno" disabled class="layui-input layui-bg-gray" value="${entry.regno}">
                                </div>
                            </div>
                        </c:if>
                        <c:if test="${info.columns.mobile.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3" style="position:relative;">
                                <div>
                                    <label class="layui-form-label">联系方式：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="mobileAnother" disabled class="layui-input layui-bg-gray"  value="${entry.mobile}">
                                    </div>
                                </div>
                            </div>
                        </c:if>
                        <c:if test="${info.columns.corp.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3" style="position:relative;">
                                <div>
                                    <label class="layui-form-label">负责人姓名：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="corp" id="corp" disabled class="layui-input"  value="${entry.corp}">
                                    </div>
                                </div>
                            </div>
                        </c:if>
                        <c:if test="${info.columns.id_code.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label">身份证号：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="idCodeAnother" disabled class="layui-input" value="${entry.idCode}">
                                </div>
                            </div>
                        </c:if>
                        <div class="layui-col-lg9 layui-col-sm9">
                            <label class="layui-form-label">安装地址：</label>
                            <div class="layui-input-block">
                                <c:choose>
                                    <c:when test="${entry.province eq entry.city}">
                                        <input type="text" class="layui-input" value="${entry.province}${entry.area}${entry.address}" disabled>
                                    </c:when>
                                    <c:otherwise>
                                        <input type="text" class="layui-input" value="${entry.province}${entry.city}${entry.area}${entry.address}" disabled>
                                    </c:otherwise>
                                </c:choose>
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">风压：</label>
                            <div class="layui-input-block">
                                <input type="text" name="windPressure"   value="${entry.windPressure}" disabled
                                       autocomplete="off" class="layui-input ">
                                <span class="pos-a h-32 lh-32 layui-span-unit">kN/㎡</span>
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">雪压：</label>
                            <div class="layui-input-block">
                                <input type="text" name="snowPressure"  value="${entry.snowPressure}"  disabled
                                       autocomplete="off" class="layui-input ">
                                <span class="pos-a h-32 lh-32 layui-span-unit">kN/㎡</span>
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">风雪压等级：</label>
                            <div class="layui-input-block">
                                <input type="text" name="pressureLevel"  value="${entry.pressureLevel}"  disabled
                                       autocomplete="off" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-row layui-col-space12 layui-form-item">
                            <c:if test="${info.columns.id_card_front.status eq '1'}">
                                <div class="layui-col-lg4 layui-col-sm4">
                                    <label class="layui-form-label w-120">负责人身份证：</label>
                                    <div class="layui-input-block img-box ml-120">
                                        <div>
                                            <div>
                                                <c:if test="${not empty entry.idCardFront}">
                                                    <div class="bj-img imgSpan">
                                                        <img src="${commonStaticImgPath}${entry.idCardFront}" height="700" width="1200"/>
                                                        <input type="hidden" class="idCardFrontAnother" value="${entry.idCardFront}"/>
                                                    </div>
                                                </c:if>
                                            </div>
                                            <div class="upload-container <c:if test="${not empty entry.idCardFront}">hide</c:if>" id="uploader33">
                                                <img src="" alt="img placeholder" id="imgsAdd33">
                                            </div>
                                            <div style="width: 80px; text-align: center; color: #FF0000">正面</div>
                                        </div>
                                        <div>
                                            <div>
                                                <c:if test="${not empty entry.idCardBack}">
                                                    <div class="bj-img imgSpan">
                                                        <img src="${commonStaticImgPath}${entry.idCardBack}" height="700" width="1200"/>
                                                        <input type="hidden" class="idCardBackAnother" value="${entry.idCardBack}"/>
                                                    </div>
                                                </c:if>
                                            </div>
                                            <div class="upload-container <c:if test="${not empty entry.idCardBack}">hide</c:if>" id="uploader34">
                                                <img src="" alt="img placeholder" id="imgsAdd34">
                                            </div>
                                            <div style="width: 80px; text-align: center; color: #FF0000">反面</div>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                            <c:if test="${info.columns.regno_url.status eq '1'}">
                                <div class="layui-col-lg4 layui-col-sm4">
                                    <label class="layui-form-label">营业执照：</label>
                                    <div class="layui-input-block img-box">
                                        <div>
                                            <div>
                                                <div>
                                                    <c:if test="${not empty tenant and not empty tenant.regnoUrl}">
                                                        <div class="bj-img imgSpan">
                                                            <img src="${commonStaticImgPath}${tenant.regnoUrl}" height="700" width="1200"/>
                                                            <input type="hidden" class="regnoUrl" value="${tenant.regnoUrl}"/>
                                                        </div>
                                                    </c:if>
                                                </div>
                                                <div class="upload-container <c:if test="${not empty tenant and not empty tenant.regnoUrl}">hide</c:if>" id="uploader35">
                                                    <img src="" alt="img placeholder" id="imgsAdd35">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                            <c:if test="${info.columns.bank_card.status eq '1'}">
                                <div class="layui-col-lg4 layui-col-sm4">
                                    <label class="layui-form-label">银行卡照片：</label>
                                    <div class="layui-input-block img-box">
                                        <div>
                                            <div>
                                                <c:if test="${not empty entry.bankCard}">
                                                    <div class="bj-img imgSpan">
                                                        <img src="${commonStaticImgPath}${entry.bankCard}" height="700" width="1200"/>
                                                        <input type="hidden" class="bankCard" value="${entry.bankCard}"/>
                                                    </div>
                                                </c:if>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                        </div>
                        <div class="layui-row layui-col-space12 layui-form-item">
                            <c:if test="${info3.columns.resolution_paper_url.status eq '1'}">
                                <div class="layui-col-lg4 layui-col-sm4">
                                    <label class="layui-form-label">村民代表大会决议书：</label>
                                    <div class="layui-input-block img-box">
                                        <div>
                                            <div>
                                                <c:if test="${not empty orgFiles.resolutionPaperUrl}">
                                                    <div class="bj-img imgSpan">
                                                        <img src="${commonStaticImgPath}${orgFiles.resolutionPaperUrl}" height="700" width="1200"/>
                                                    </div>
                                                </c:if>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                            <c:if test="${info3.columns.yszc_url.status eq '1'}">
                                <div class="layui-col-lg4 layui-col-sm4">
                                    <label class="layui-form-label">村委议事章程：</label>
                                    <div class="layui-input-block img-box">
                                        <div>
                                            <div>
                                                <c:if test="${not empty orgFiles.yszcUrl}">
                                                    <div class="bj-img imgSpan">
                                                        <img src="${commonStaticImgPath}${orgFiles.yszcUrl}" height="700" width="1200"/>
                                                    </div>
                                                </c:if>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                            <c:if test="${info3.columns.account_info_url.status eq '1'}">
                                <div class="layui-col-lg4 layui-col-sm4">
                                    <label class="layui-form-label">对公账户信息：</label>
                                    <div class="layui-input-block img-box">
                                        <div>
                                            <div>
                                                <c:if test="${not empty orgFiles.accountInfoUrl}">
                                                    <div class="bj-img imgSpan">
                                                        <img src="${commonStaticImgPath}${orgFiles.accountInfoUrl}" height="700" width="1200"/>
                                                    </div>
                                                </c:if>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                        </div>
                        <div class="layui-row layui-col-space12 layui-form-item">
                            <c:if test="${info3.columns.ownership_certificate_url.status eq '1'}">
                                <div class="layui-col-lg4 layui-col-sm4">
                                    <label class="layui-form-label">产权证明-集体土地使用证：</label>
                                    <div class="layui-input-block img-box">
                                        <div>
                                            <div>
                                                <c:if test="${not empty orgFiles.ownershipCertificateUrl}">
                                                    <div class="bj-img imgSpan">
                                                        <img src="${commonStaticImgPath}${orgFiles.ownershipCertificateUrl}" height="700" width="1200"/>
                                                    </div>
                                                </c:if>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                            <c:if test="${info3.columns.other_ownership_certificate_url.status eq '1'}">
                                <div class="layui-col-lg4 layui-col-sm4">
                                    <label class="layui-form-label">产权证明-不动产证书/查册证明/相关确权文件：</label>
                                    <div class="layui-input-block img-box">
                                        <div>
                                            <div>
                                                <c:if test="${not empty orgFiles.otherOwnershipCertificateUrl}">
                                                    <div class="bj-img imgSpan">
                                                        <img src="${commonStaticImgPath}${orgFiles.otherOwnershipCertificateUrl}" height="700" width="1200"/>
                                                    </div>
                                                </c:if>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                        </div>
                        <div class="layui-row layui-col-space12 layui-form-item">
                            <c:if test="${info3.columns.exigence_name.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label"><c:if test="${info3.columns.exigence_name.mustFillFlag eq '1'}"><i class="mark">*</i></c:if>紧急联系人：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="exigenceName" id="exigenceName" lay-verify="required" disabled
                                               autocomplete="off" class="layui-input " value="${entry.exigenceName}">
                                    </div>
                                </div>
                            </c:if>
                            <c:if test="${info3.columns.exigence_phone.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label"><c:if test="${info3.columns.exigence_phone.mustFillFlag eq '1'}"><i class="mark">*</i></c:if>联系方式：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="exigencePhone" id="exigencePhone" lay-verify="required" disabled
                                               autocomplete="off" class="layui-input " value="${entry.exigencePhone}">
                                    </div>
                                </div>
                            </c:if>
                        </div>
                    </c:if>
                </div>
            </div>

        <c:if test="${entry.age >= 65}">
            <div class="layui-card">
                <blockquote class="layui-elem-quote">补充信息</blockquote>
                <div class="layui-card-body ">
                    <div class="layui-row layui-col-space12 layui-form-item">
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">共签人名称：</label>
                            <div class="layui-input-block">
                                <input type="text" name="bpName" id="bpName" disabled lay-verify="required" class="layui-input " value="${entry.bpName}" >
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">证件号码：</label>
                            <div class="layui-input-block">
                                <input type="text" name="bpIdCard" id="bpIdCard" disabled lay-verify="required" class="layui-input " value="${entry.bpIdCard}" >
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" name="bpMobile" id="bpMobile" disabled lay-verify="required" class="layui-input " value="${entry.bpMobile}" >
                            </div>
                        </div>

                        <div class="layui-col-lg4 layui-col-sm4">
                            <label class="layui-form-label">身份证：</label>
                            <div class="layui-input-block img-box">
                                <div>
                                    <div>
                                        <c:if test="${not empty entry.bpCardFront}">
                                            <div class="bj-img imgSpan">
                                                    <%--<span class="layui-icon-close layui-icon" onclick="delImg(this,'uploader30')"></span>--%>
                                                <img src="${commonStaticImgPath}${entry.bpCardFront}" height="700" width="1200"/>
                                                <input type="hidden" class="bpCardFront" value="${entry.bpCardFront}"/>
                                            </div>
                                        </c:if>
                                    </div>
                                    <div class="upload-container <c:if test="${not empty entry.bpCardFront}">hide</c:if>" id="uploader30">
                                        <img src="" alt="img placeholder" id="imgsAdd30">
                                    </div>
                                    <div style="width: 80px; text-align: center; color: #FF0000">正面</div>
                                </div>
                                <div>
                                    <div>
                                        <c:if test="${not empty entry.bpCardBack}">
                                            <div class="bj-img imgSpan">
                                                    <%--<span class="layui-icon-close layui-icon" onclick="delImg(this,'uploader31')"></span>--%>
                                                <img src="${commonStaticImgPath}${entry.bpCardBack}" height="700" width="1200"/>
                                                <input type="hidden" class="bpCardBack" value="${entry.bpCardBack}"/>
                                            </div>
                                        </c:if>
                                    </div>
                                    <div class="upload-container <c:if test="${not empty entry.bpCardBack}">hide</c:if>" id="uploader31">
                                        <img src="" alt="img placeholder" id="imgsAdd31">
                                    </div>
                                    <div style="width: 80px; text-align: center; color: #FF0000">反面</div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-lg4 layui-col-sm4">
                            <label class="layui-form-label w-120">子女证明材料：</label>
                            <div class="layui-input-block img-box ml-120">
                                <div>
                                    <div>
                                        <c:if test="${not empty entry.bpFile}">


                                            <c:forEach var="quaim" items="${entry.bpFile.split(',')}" varStatus="vs">
                                                <div class="bj-img imgSpan">
                                                        <%--  <span class="layui-icon-close layui-icon" onclick="delImg(this,'uploader32')"></span>--%>
                                                    <img src="${commonStaticImgPath}${quaim}" height="700" width="1200"/>
                                                    <input type="hidden" class="bpFile" value="${quaim}"/>
                                                </div>
                                            </c:forEach>

                                        </c:if>

                                    </div>

                                    <div class="upload-container <c:if test="${not empty entry.bpFile}">hide</c:if>" id="uploader32">
                                        <img src="" alt="img placeholder" id="imgsAdd32">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </c:if>

            <div class="layui-card jibenxinxi ">
                <blockquote class="layui-elem-quote">勘测信息</blockquote>
                <div class="layui-card-body ">
                    <c:if test="${info2.columns.box_group_set.status eq '1'}">
                        <div class="layui-row layui-col-space12 layui-form-item">
                            <div class="layui-col-lg12 layui-col-sm12">
                                <label class="layui-form-label"><i class="mark">*</i>并网方式：</label>
                                <div class="layui-input-block">

                                    <input type="radio" name="mergeType" title="单户并网" lay-filter="mergeTypeFilter" disabled value="0" <c:if test="${empty recordBox || '0' eq recordBox.columns.type}">checked</c:if>/>
                                    <input type="radio" name="mergeType" title="一户多站" lay-filter="mergeTypeFilter" disabled value="1" <c:if test="${'1' eq recordBox.columns.type}">checked</c:if>/>
                                    <input type="radio" name="mergeType" title="整村汇流" lay-filter="mergeTypeFilter" disabled value="2" <c:if test="${'2' eq recordBox.columns.type}">checked</c:if>/>
                                </div>
                            </div>

                            <div id="boxDiv" class="<c:if test="${empty recordBox || '0' eq recordBox.columns.type}">hide</c:if>">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">本组电站个数：</label>
                                    <div class="layui-input-block">
                                        <input type="text" id="boxTotalCount" class="layui-input layui-bg-gray" disabled value="${recordBox.columns.total_count}">
                                    </div>
                                </div>

                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">汇流组编号：</label>
                                    <div class="layui-input-block">
                                        <input type="text" id="groupNumber" class="layui-input layui-bg-gray" disabled value="${recordBox.columns.group_number}">
                                        <input hidden id="boxGroupId" value="${recordBox.columns.box_group_id}">
                                    </div>
                                </div>

                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label">汇流组名称：</label>
                                    <div class="layui-input-block">
                                        <input type="text" id="groupName" class="layui-input layui-bg-gray" disabled value="${recordBox.columns.group_name}">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <hr>
                    </c:if>
                    <div class="layui-row layui-col-space12 layui-form-item">
                        <c:if test="${info.columns.pca_address.status eq '1'}">
                            <div class="layui-col-lg9 layui-col-sm9">
                                <label class="layui-form-label"><i class="mark"></i>安装地址：</label>
                                <div class="layui-input-block">
                                    <c:choose>
                                        <c:when test="${entry.province eq entry.city}">
                                            <input type="text" class="layui-input" value="${entry.province}${entry.area}${entry.address}" disabled>
                                        </c:when>
                                        <c:otherwise>
                                            <input type="text" class="layui-input" value="${entry.province}${entry.city}${entry.area}${entry.address}" disabled>
                                        </c:otherwise>
                                    </c:choose>
                                </div>
                            </div>
                        </c:if>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">风压：</label>
                            <div class="layui-input-block">
                                <input type="text" name="windPressure"   value="${entry.windPressure}" disabled
                                       autocomplete="off" class="layui-input ">
                                <span class="pos-a h-32 lh-32 layui-span-unit">kN/㎡</span>
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">雪压：</label>
                            <div class="layui-input-block">
                                <input type="text" name="snowPressure"  value="${entry.snowPressure}"  disabled
                                       autocomplete="off" class="layui-input ">
                                <span class="pos-a h-32 lh-32 layui-span-unit">kN/㎡</span>
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label">风雪压等级：</label>
                            <div class="layui-input-block">
                                <input type="text" name="pressureLevel"  value="${entry.pressureLevel}"  disabled
                                       autocomplete="off" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-col-lg3 layui-col-sm3">
                            <label class="layui-form-label"><i class="mark"></i>屋顶类型：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="${surveyRecord.roofType}" disabled>
                            </div>
                        </div>
                        <c:if test="${info2.columns.seal_roof.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label"><i class="mark"></i>是否封屋顶：</label>
                                <div class="layui-input-block">
                                    <input type="text" class="layui-input" value="${'1' eq surveyRecord.sealRoof ?'是':'否'}" disabled>
                                </div>
                            </div>
                        </c:if>

                        <div class="layui-col-lg3 layui-col-sm3" style="position:relative;">
                            <div class="layui-inline">
                                <c:if test="${info2.columns.angle_azimuth.status eq '1'}">
                                    <label class="layui-form-label"><i class="mark"></i>方位角：</label>
                                    <div class="layui-inline" style="width: 100px;">
                                        <select name="azimuth" id="azimuth" lay-verify="required" disabled>
                                            <option value="">请选择</option>
                                            <option value="1" ${surveyRecord.azimuth eq '1' ? 'selected' : ''}>正南</option>
                                            <option value="2" ${surveyRecord.azimuth eq '2' ? 'selected' : ''}>南偏东</option>
                                            <option value="3" ${surveyRecord.azimuth eq '3' ? 'selected' : ''}>南偏西</option>
                                        </select>
                                    </div>
                                </c:if>
                                <c:if test="${partner.id ne '03'}">
                                    <div class="layui-inline" style="width: 90px">
                                        <input type="text" name="angle" class="layui-input" maxlength="2" oninput="value=value.replace(/[^\d]/g,'')" value="${surveyRecord.angle}" disabled/>
                                        <span class="pos-a h-32 lh-32 layui-span-unit">度</span>
                                    </div>
                                </c:if>
                            </div>
                        </div>

                        <c:if test="${info2.columns.completion_year.status eq '1' || info2.columns.completion_year_03.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label w-120">
                                    <c:choose>
                                        <c:when test="${info2.columns.completion_year.status eq '1'}">
                                            房屋建成年份：
                                        </c:when>
                                        <c:when test="${info2.columns.completion_year_03.status eq '1'}">
                                            建筑年限：
                                        </c:when>
                                    </c:choose>
                                </label>
                                <div class="layui-input-block ml-120">
                                    <input type="text" name="completionYear" id="completionYear"  class="layui-input " value="${surveyRecord.completionYear}" disabled>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.building_height.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label"><i class="mark"></i>建筑高度：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="buildingHeight" id="buildingHeight"  class="layui-input" value="${surveyRecord.buildingHeight}" disabled/>
                                    <span class="pos-a h-32 lh-32 layui-span-unit">米</span>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${surveyRecord.roofType eq '斜屋顶'}">
                            <c:if test="${info2.columns.slope_gradient.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label"><i class="mark"></i>屋面坡度：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="slopeGradient" id="slopeGradient"  class="layui-input" value="${surveyRecord.slopeGradient}" disabled>
                                        <span class="pos-a h-32 lh-32 layui-span-unit">度</span>
                                    </div>
                                </div>
                            </c:if>

                            <c:if test="${info2.columns.purline_interval.status eq '1'}">
                                <div class="layui-col-lg3 layui-col-sm3">
                                    <label class="layui-form-label"><i class="mark"></i>檩条间距：</label>
                                    <div class="layui-input-block">
                                        <input type="text" name="purlineInterval" id="purlineInterval"  class="layui-input" value="${surveyRecord.purlineInterval}" disabled>
                                        <span class="pos-a h-32 lh-32 layui-span-unit">米</span>
                                    </div>
                                </div>
                            </c:if>
                        </c:if>

                        <c:if test="${info2.columns.waterproof.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label w-120"><i class="mark"></i>屋顶防水情况：</label>
                                <div class="layui-input-block ml-120">
                                    <input type="text" class="layui-input" value="${'1' eq surveyRecord.waterproof ?'一般':'良好'}" disabled>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.source_pollution.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label w-120"><i class="mark"></i>是否有污染源：</label>
                                <div class="layui-input-block ml-120">
                                    <input type="text" name="sourcePollution" id="sourcePollution" class="layui-input" value="${'1' eq surveyRecord.sourcePollution ?'有':'没有'}" disabled>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.ops_condition.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label" style="width: 140px"><i class="mark"></i>是否具备运维空间：</label>
                                <div class="layui-input-block" style="margin-left: 140px">
                                    <input type="text" name="opsCondition" id="opsCondition" class="layui-input" value="${'1' eq surveyRecord.opsCondition ?'具备':'不具备'}" disabled>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.voltage_classes.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label w-120"><i class="mark"></i>并网电压等级：</label>
                                <div class="layui-input-block ml-120">
                                    <input type="text" name="voltageClasses" id="voltageClasses" disabled  class="layui-input" value="<fmt:formatNumber value="${surveyRecord.voltageClasses}"></fmt:formatNumber>">
                                    <span class="pos-a h-32 lh-32 layui-span-unit">V</span>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.transformer_capacity.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label"><i class="mark"></i>变压器容量：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="transformerCapacity" id="transformerCapacity" disabled  class="layui-input" value="${surveyRecord.transformerCapacity}">
                                    <span class="pos-a h-32 lh-32 layui-span-unit">kVA</span>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.restrict_flag.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label" style="width: 210px"><i class="mark"></i>是否符合变压器容量限制要求：</label>
                                <div class="layui-input-block" style="margin-left: 210px">
                                    <input type="text" name="restrictFlag" id="restrictFlag" disabled  class="layui-input" value="${'1' eq surveyRecord.restrictFlag?'符合':'不符合'}">
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.distance.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label"><i class="mark"></i>并网距离：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="distance" id="distance" placeholder=""
                                           autocomplete="off" class="layui-input " value="${surveyRecord.distance}" disabled>
                                    <span class="pos-a h-32 lh-32 layui-span-unit">米</span>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.dip_angle.status eq '1' || info2.columns.dip_angle_03.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label"><i class="mark"></i>
                                    <c:choose>
                                        <c:when test="${info2.columns.dip_angle.status eq '1'}">
                                            组件倾角：
                                        </c:when>
                                        <c:when test="${info2.columns.dip_angle_03.status eq '1'}">
                                            倾角：
                                        </c:when>
                                    </c:choose>
                                </label>
                                <div class="layui-input-block">
                                    <input type="text" name="dipAngle" id="dipAngle" disabled class="layui-input" value="${surveyRecord.dipAngle}">
                                    <span class="pos-a h-32 lh-32 layui-span-unit">度</span>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.ew_length.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label"><i class="mark"></i>东西长：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="ewLength" id="ewLength" placeholder=""
                                           autocomplete="off" class="layui-input " value="${surveyRecord.ewLength}" disabled>
                                    <span class="pos-a h-32 lh-32 layui-span-unit">米</span>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.ns_wide.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label"><i class="mark"></i>南北宽：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="nsWide" id="nsWide" placeholder=""
                                           autocomplete="off" class="layui-input " value="${surveyRecord.nsWide}" disabled>
                                    <span class="pos-a h-32 lh-32 layui-span-unit">米</span>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.roof_area.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label"><i class="mark"></i>屋顶面积：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="roofArea" id="roofArea" placeholder=""
                                           autocomplete="off" class="layui-input " value="${surveyRecord.roofArea}" disabled>
                                    <span class="pos-a h-32 lh-32 layui-span-unit">㎡</span>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.longitude.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label w-120">经度：</label>
                                <div class="layui-input-block ml-120">
                                    <input type="text" name="longitude" id="longitude"  class="layui-input " value="${entry.longitude}" disabled>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.latitude.status eq '1'}">
                            <div class="layui-col-lg3 layui-col-sm3">
                                <label class="layui-form-label w-120">纬度：</label>
                                <div class="layui-input-block ml-120">
                                    <input type="text" name="latitude" id="latitude"  class="layui-input " value="${entry.latitude}" disabled>
                                </div>
                            </div>
                        </c:if>

                        <div class="layui-col-lg12 layui-col-sm12"></div>

                        <div class="layui-tab-content ">
                            <c:set var="indexNum" value="1"/>
                            <table class="layui-table" style="margin: 0 10px 0 0;">

                                <c:if test="${info2.columns.fly_imgs.status eq '1' || info2.columns.fly_imgs_04.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、
                                            <c:choose>
                                                <c:when test="${info2.columns.fly_imgs.status eq '1'}">
                                                    无人机航拍图
                                                </c:when>
                                                <c:when test="${info2.columns.fly_imgs_04.status eq '1'}">
                                                    屋顶高空俯视照片
                                                </c:when>
                                            </c:choose>
                                        </td>
                                        <td width="80%">

                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="flyImgsDiv">
                                                        <c:if test="${not empty surveyRecord.flyImgs}">
                                                            <c:forEach var="quaim" items="${surveyRecord.flyImgs.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="flyImgs" value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.flyImgs}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.roof_photo_one.status eq '1' || info2.columns.roof_photo_one_03.status eq '1'  }">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、
                                            <c:choose>
                                                <c:when test="${info2.columns.roof_photo_one.status eq '1'}">
                                                    安装区域整体照片
                                                </c:when>
                                                <c:when test="${info2.columns.roof_photo_one_03.status eq '1'}">
                                                    房屋屋顶照片
                                                </c:when>
                                            </c:choose>
                                        </td>
                                        <td width="80%">

                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="roofPhotoOneDiv">
                                                        <c:if test="${not empty surveyRecord.roofPhotoOne}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.roofPhotoOne.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="roofPhotoOne" value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.roofPhotoOne}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.roof_photo_two.status eq '1' || info2.columns.roof_photo_two_03.status eq '1' || info2.columns.roof_photo_two_04.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、
                                            <c:choose>
                                                <c:when test="${info2.columns.roof_photo_two.status eq '1'}">
                                                    安装区域东南角照片
                                                </c:when>
                                                <c:when test="${info2.columns.roof_photo_two_03.status eq '1'}">
                                                    房屋屋顶东侧图片
                                                </c:when>
                                                <c:when test="${info2.columns.roof_photo_two_04.status eq '1'}">
                                                    屋顶东南照片
                                                </c:when>
                                            </c:choose>
                                        </td>
                                        <td width="80%">

                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="roofPhotoTwoDiv">
                                                        <c:if test="${not empty surveyRecord.roofPhotoTwo}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.roofPhotoTwo.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="roofPhotoTwo" value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.roofPhotoTwo}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.roof_photo_four.status eq '1' || info2.columns.roof_photo_four_03.status eq '1' || info2.columns.roof_photo_four_04.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、
                                            <c:choose>
                                                <c:when test="${info2.columns.roof_photo_four.status eq '1'}">
                                                    安装区域正南照片
                                                </c:when>
                                                <c:when test="${info2.columns.roof_photo_four_03.status eq '1'}">
                                                    房屋屋顶南侧图片
                                                </c:when>
                                                <c:when test="${info2.columns.roof_photo_four_04.status eq '1'}">
                                                    屋顶正南照片
                                                </c:when>
                                            </c:choose>
                                        </td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="roofPhotoFourDiv">
                                                        <c:if test="${not empty surveyRecord.roofPhotoFour}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.roofPhotoFour.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="roofPhotoFour" value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.roofPhotoFour}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.roof_photo_three.status eq '1' || info2.columns.roof_photo_three_03.status eq '1' || info2.columns.roof_photo_three_04.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、
                                            <c:choose>
                                                <c:when test="${info2.columns.roof_photo_three.status eq '1'}">
                                                    安装区域西南角照片
                                                </c:when>
                                                <c:when test="${info2.columns.roof_photo_three_03.status eq '1'}">
                                                    房屋屋顶西侧图片
                                                </c:when>
                                                <c:when test="${info2.columns.roof_photo_three_04.status eq '1'}">
                                                    屋顶西南照片
                                                </c:when>
                                            </c:choose>
                                        </td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="roofPhotoThreeDiv">
                                                        <c:if test="${not empty surveyRecord.roofPhotoThree}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.roofPhotoThree.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="roofPhotoThree"
                                                                           value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.roofPhotoThree}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.roof_photo_five.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、安装区域细节照片</td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="roofPhotoFiveDiv">
                                                        <c:if test="${not empty surveyRecord.roofPhotoFive}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.roofPhotoFive.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="roofPhotoFive" value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.roofPhotoFive}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.roof_photo_interior.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、房屋内部环境照片</td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="roofPhotoInteriorDiv">
                                                        <c:if test="${not empty surveyRecord.roofPhotoInterior}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.roofPhotoInterior.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="roofPhotoInterior"
                                                                           value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.roofPhotoInterior}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.roof_photo_facade.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、房屋内部结构照片</td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="roofPhotoFacadeDiv">
                                                        <c:if test="${not empty surveyRecord.roofPhotoFacade}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.roofPhotoFacade.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="roofPhotoFacade"
                                                                           value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.roofPhotoFacade}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.detail_supplement_one.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、逆变器、配电箱预安装位置照片</td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="detailSupplementOneDiv">
                                                        <c:if test="${not empty surveyRecord.detailSupplementOne}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.detailSupplementOne.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="detailSupplementOne"
                                                                           value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.detailSupplementOne}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>

                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.house_supplement_one.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、其他障碍物照片</td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="houseSupplementOneDiv">
                                                        <c:if test="${not empty surveyRecord.houseSupplementOne}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.houseSupplementOne.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="houseSupplementOne"
                                                                           value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.houseSupplementOne}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.house_outline_photo.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、房屋轮廓照片</td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="houseOutlinePhotoDiv">
                                                        <c:if test="${not empty surveyRecord.houseOutlinePhoto}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.houseOutlinePhoto.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="houseOutlinePhoto"
                                                                           value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.houseOutlinePhoto}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.survey_video.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、踏勘补充证明视频</td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div>
                                                        <c:if test="${not empty surveyRecord.surveyVideo}">
                                                            <c:forEach var="quaim" items="${surveyRecord.surveyVideo.split(',')}"  varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <video controls
                                                                           src="${commonStaticImgPath}${quaim}"
                                                                           height="80px" width="80px"></video>
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.house_ownership.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、房产证图片</td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="houseOwnershipDiv">
                                                        <c:if test="${not empty surveyRecord.houseOwnership}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.houseOwnership.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="houseOwnership"
                                                                           value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.houseOwnership}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.survey_files.status eq '1' || info2.columns.survey_files_03.status eq '1' || info2.columns.survey_files_04.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、
                                            <c:choose>
                                                <c:when test="${info2.columns.survey_files.status eq '1'}">
                                                    踏勘记录表
                                                </c:when>
                                                <c:when test="${info2.columns.survey_files_03.status eq '1'}">
                                                    户用勘察记录表
                                                </c:when>
                                                <c:when test="${info2.columns.survey_files_04.status eq '1'}">
                                                    现场勘测表
                                                </c:when>
                                            </c:choose>
                                        </td>
                                        <td width="80%">
                                            <div class="layui-input-inline" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <c:choose>
                                                        <c:when test="${not empty surveyRecord.surveyFiles}">
                                                            <c:forEach items="${surveyRecord.surveyFiles}" var="file"
                                                                       varStatus="vs">
                                                                <div <c:if test="${vs.count eq 0}">style="margin-top: 5px"</c:if>>
                                                                    <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}"
                                                                       class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                                    <a style="color:#2890ac;" onclick="previewUrl('${commonStaticImgPath}${file}')"
                                                                       class="download-link">&nbsp;&nbsp;查看</a>
                                                                </div>
                                                            </c:forEach>
                                                        </c:when>
                                                    </c:choose>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.vr_roof_one.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、房屋整体图（VR全景）</td>
                                        <td width="80%">
                                            <div class="layui-input-inline" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <c:choose>
                                                        <c:when test="${not empty surveyRecord.vrRoofOne}">
                                                            <c:forEach items="${surveyRecord.vrRoofOne}" var="file"
                                                                       varStatus="vs">
                                                                <div <c:if test="${vs.count eq 0}">style="margin-top: 5px"</c:if>>
                                                                    <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}"
                                                                       class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                                    <a style="color:#2890ac;" onclick="previewUrl('${commonStaticImgPath}${file}')"
                                                                       class="download-link">&nbsp;&nbsp;查看</a>
                                                                </div>
                                                            </c:forEach>
                                                        </c:when>
                                                    </c:choose>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.vr_roof_two.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、房屋整体俯视图（VR）</td>
                                        <td width="80%">
                                            <div class="layui-input-inline" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <c:choose>
                                                        <c:when test="${not empty surveyRecord.vrRoofTwo}">
                                                            <c:forEach items="${surveyRecord.vrRoofTwo}" var="file"
                                                                       varStatus="vs">
                                                                <div <c:if test="${vs.count eq 0}">style="margin-top: 5px"</c:if>>
                                                                    <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}"
                                                                       class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                                    <a style="color:#2890ac;" onclick="previewUrl('${commonStaticImgPath}${file}')"
                                                                       class="download-link">&nbsp;&nbsp;查看</a>
                                                                </div>
                                                            </c:forEach>
                                                        </c:when>
                                                    </c:choose>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.vr_roof_three.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、房屋内部结构图（VR）</td>
                                        <td width="80%">
                                            <div class="layui-input-inline" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <c:choose>
                                                        <c:when test="${not empty surveyRecord.vrRoofThree}">
                                                            <c:forEach items="${surveyRecord.vrRoofThree}" var="file"
                                                                       varStatus="vs">
                                                                <div <c:if test="${vs.count eq 0}">style="margin-top: 5px"</c:if>>
                                                                    <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}"
                                                                       class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                                    <a style="color:#2890ac;" onclick="previewUrl('${commonStaticImgPath}${file}')"
                                                                       class="download-link">&nbsp;&nbsp;查看</a>
                                                                </div>
                                                            </c:forEach>
                                                        </c:when>
                                                    </c:choose>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.vr_roof_four.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、入户全景照片(VR)</td>
                                        <td width="80%">
                                            <div class="layui-input-inline" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <c:choose>
                                                        <c:when test="${not empty surveyRecord.vrRoofFour}">
                                                            <c:forEach items="${surveyRecord.vrRoofFour}" var="file"
                                                                       varStatus="vs">
                                                                <div <c:if test="${vs.count eq 0}">style="margin-top: 5px"</c:if>>
                                                                    <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}"
                                                                       class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                                    <a style="color:#2890ac;" onclick="previewUrl('${commonStaticImgPath}${file}')"
                                                                       class="download-link">&nbsp;&nbsp;查看</a>
                                                                </div>
                                                            </c:forEach>
                                                        </c:when>
                                                    </c:choose>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>

                                <c:if test="${info2.columns.vr_roof_four_04.status eq '1'}">
                                    <tr style="height: 100px">
                                        <td width="15%">${indexNum}、入户全景照片</td>
                                        <td width="80%">
                                            <div class="layui-input-block img-box" style="margin-left: 20px;">
                                                <div style="display: flex;flex-wrap: wrap;">
                                                    <div id="vrRoofFourDiv">
                                                        <c:if test="${not empty surveyRecord.vrRoofFour}">
                                                            <c:forEach var="quaim"
                                                                       items="${surveyRecord.vrRoofFour.split(',')}"
                                                                       varStatus="vs">
                                                                <div class="bj-img imgSpan">
                                                                    <img src="${commonStaticImgPath}${quaim}" height="700"
                                                                         width="1200">
                                                                    <input type="hidden" class="vrRoofFour"
                                                                           value="${quaim}">
                                                                </div>
                                                            </c:forEach>
                                                        </c:if>
                                                        <c:if test="${empty surveyRecord.vrRoofFour}">
                                                            <i class="blank-img"></i>
                                                        </c:if>
                                                    </div>
                                                </div>
                                            </div>
                                        </td>
                                        <c:set var="indexNum" value="${indexNum+1}"/>
                                    </tr>
                                </c:if>
                            </table>
                        </div>

                        <c:if test="${info2.columns.remarks.status eq '1'}">
                            <div class="layui-col-xs12">
                                <label class="layui-form-label" id="changeDescribe1">备注：</label>
                                <div class="layui-input-block">
                                    <textarea name="remarks" id="remarkes" placeholder="" class="layui-textarea" readonly>${entry.remarks}</textarea>
                                </div>
                            </div>
                        </c:if>
                    </div>
                </div>
            </div>

           <div class="layui-card">
                <blockquote class="layui-elem-quote">方案信息</blockquote>
                <div class="layui-card-body">
                    <div class="layui-row layui-col-space12 layui-form-item">
                        <div class="${entry.schemeType eq '2' ? 'layui-hide' : ''}" id="showSchemeId">
                            <div class="layui-row planLie" data-scheme-type-name="${entry.schemeTypeName}"
                                 data-plan-id="${entry.schemeId}">
                                <div class="planbiao">
                                    <div class="layui-col-lg3 layui-col-sm3">
                                        <label class="layui-form-label"><i class="mark"></i>方案类型：</label>
                                        <div class="layui-input-block">
                                            <select lay-filter="planType" name="planType" disabled="disabled" class="planType"  lay-search>
                                                <option value="">请选择</option>
                                                <c:forEach items="${insta}" var="ins">
                                                    <option value="${ins.columns.id}" <c:if test="${fn:contains(entry.schemeTypeId,ins.columns.id)}">selected</c:if>>${ins.columns.name}</option>
                                                </c:forEach>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="layui-col-lg3 layui-col-sm3 ">
                                        <label class="layui-form-label"><i class="mark"></i>方案名称：</label>
                                        <div class="layui-input-block pos-r">
                                            <select lay-filter="planName" name="planName" disabled class="planName" readonly="true" lay-search>
                                                <option value="${entry.schemeName}" selected>${entry.schemeName}</option>

                                            </select>
                                        </div>
                                    </div>
                                    <div class="layui-col-lg3 layui-col-sm3 ">
                                        <label class="layui-form-label"><i class="mark"></i>参考图纸：</label>
                                        <div class="layui-input-block pos-r view-attachment">
                                            <a class="h-32 lh-32 ml-5 layui-span-unit" target="_blank"
                                                    <c:if test="${not empty composeOne}">
                                                        onclick="previewUrl('${commonStaticImgPath}${composeOne.columns.attach}')"
                                                        href="#"
                                                        style="color:#2890ac;"
                                                    </c:if>
                                            >查看</a>
                                        </div>
                                    </div>
                                    <div class="layui-col-lg3 layui-col-sm3" style="text-align: center">
                                        <input type="hidden" class="planId" value="${entry.schemeId}">
                                        <input type="hidden" class="planCode">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="zuhefangan" class="zuhefangan ${entry.schemeType eq '1' ? 'layui-hide' : ''}">
                            <c:if test="${entry.schemeType eq '2'}">
                                <c:forEach varStatus="vs" items="${compose}" var="item">
                                    <div class="layui-row planLie" data-scheme-type-name="${item.columns.plan_type}"
                                         data-plan-id="${item.columns.plan_type_id}">
                                        <div class="planbiao">
                                            <div class="layui-col-lg3 layui-col-sm3">
                                                <label class="layui-form-label"><i class="mark"></i>方案类型：</label>
                                                <div class="layui-input-block">
                                                    <select lay-filter="planType" name="planType" class="planType" disabled="disabled"
                                                            lay-search>
                                                        <option value="">请选择</option>
                                                        <c:forEach items="${insta}" var="ins">
                                                            <option value="${ins.columns.id}" <c:if test="${item.columns.plan_type eq ins.columns.name}">selected</c:if>>${ins.columns.name}</option>
                                                        </c:forEach>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="layui-col-lg3 layui-col-sm3 ">
                                                <label class="layui-form-label"><i class="mark"></i>方案名称：</label>
                                                <div class="layui-input-block pos-r">
                                                    <select lay-filter="planName" name="planName" class="planName"
                                                            lay-search>
                                                        <option value="${item.columns.name}" selected>${item.columns.name}</option>

                                                    </select>
                                                </div>
                                            </div>
                                            <div class="layui-col-lg3 layui-col-sm3 ">
                                                <label class="layui-form-label"><i class="mark"></i>参考图纸：</label>
                                                <div class="layui-input-block pos-r view-attachment">
                                                    <a class="h-32 lh-32 ml-5 layui-span-unit" target="_blank"
                                                            <c:if test="${not empty item.columns.attach}">
                                                                onclick="previewUrl('${commonStaticImgPath}${item.columns.attach}')"
                                                                href="#"
                                                                style="color:#2890ac;"
                                                            </c:if>
                                                    >查看</a>
                                                </div>
                                            </div>
                                            <div class="layui-col-lg3 layui-col-sm3" style="text-align: center">
                                                <input type="hidden" class="planId" value="${item.columns.plan_id}">
                                                <input type="hidden" class="planCode">
                                                <button type="button"
                                                        class="layui-btn savePlan ${vs.index+1 ne compose.size() && compose.size() ne '1' ? 'layui-hide' : ''}"
                                                        onclick="savePlan(this)">
                                                    新增方案
                                                </button>
                                                <button type="button"
                                                        class="layui-btn layui-btn-primary deletePlan ${vs.index+1 eq compose.size() || compose.size() eq '1' ? 'layui-hide' : ''}"
                                                        onclick="deletePlan(this)">删除
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                </c:forEach>
                            </c:if>
                            <c:if test="${entry.schemeType eq '1'}">
                                <div class="layui-row planLie">
                                    <div class="planbiao">
                                        <div class="layui-col-lg3 layui-col-sm3">
                                            <label class="layui-form-label"><i class="mark"></i>方案类型：</label>
                                            <div class="layui-input-block">
                                                <select lay-filter="planType" name="planType" class="planType" disabled="disabled"
                                                        lay-search >
                                                    <option value="">请选择</option>
                                                    <c:forEach items="${insta}" var="ins">
                                                        <option value="${ins.columns.id}" >${ins.columns.name}</option>
                                                    </c:forEach>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="layui-col-lg3 layui-col-sm3 ">
                                            <label class="layui-form-label"><i class="mark"></i>方案名称：</label>
                                            <div class="layui-input-block pos-r">
                                                <select lay-filter="planName" name="planName" class="planName"
                                                        lay-search>
                                                    <option value="">请选择</option>

                                                </select>
                                            </div>
                                        </div>
                                        <div class="layui-col-lg3 layui-col-sm3 ">
                                            <label class="layui-form-label"><i class="mark"></i>参考图纸：</label>
                                            <div class="layui-input-block pos-r view-attachment">
                                                <span class="h-32 lh-32 ml-5 layui-span-unit">查看</span>
                                            </div>
                                        </div>
                                        <div class="layui-col-lg3 layui-col-sm3" style="text-align: center">
                                            <input type="hidden" class="planId">
                                            <input type="hidden" class="planCode">
                                            <button type="button" class="layui-btn savePlan" onclick="savePlan(this)">
                                                新增方案
                                            </button>
                                            <button type="button"
                                                    class="layui-btn layui-btn-primary deletePlan layui-hide"
                                                    onclick="deletePlan(this)">删除
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </c:if>
                        </div>

                        <c:if test="${info2.columns.design_drawings.status eq '1' || info2.columns.design_drawings_03.status eq '1'}">
                            <div class="layui-row">
                                <div class="layui-col-lg9 layui-col-sm9 ">
                                    <label class="layui-form-label"><i class="mark"></i>
                                        <c:choose>
                                            <c:when test="${info2.columns.design_drawings.status eq '1'}">
                                                设计图纸：
                                            </c:when>
                                            <c:when test="${info2.columns.design_drawings_03.status eq '1'}">
                                                设计CAD文件：
                                            </c:when>
                                        </c:choose>
                                    </label>
                                    <div class="layui-input-block pos-r" style="display: flex; align-items: center">
                                        <div id="attachFile">
                                            <c:if test="${not empty entry.designDrawings}">
                                                <c:forEach items="${entry.designDrawings}" var="file" varStatus="vs">
                                                    <div style="margin-top: 5px">
                                                        <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}" class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                        <a style="color:#2890ac;" target="_blank" onclick="previewUrl('${commonStaticImgPath}${file}')"  href="#"  class="download-link">&nbsp &nbsp  &nbsp查看</a>
                                                        <input type="hidden" class="attachFiles" value="${file}">
                                                    </div>
                                                    <c:set var="attachFilesCount" value="${vs.count}"/>
                                                </c:forEach>
                                            </c:if>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.zjpb_img_03.status eq '1'}">
                            <div class="layui-row">
                                <div class="layui-col-lg9 layui-col-sm9 ">
                                    <label class="layui-form-label"><i class="mark"></i>组件排布图：</label>
                                    <div class="layui-input-block pos-r" style="display: flex; align-items: center">
                                        <div id="zjpbImg">
                                            <c:if test="${not empty entry.zjpbImg}">
                                                <c:forEach items="${entry.zjpbImg}" var="file" varStatus="vs">
                                                    <div style="margin-top: 5px">
                                                        <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}" class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                        <a style="color:#2890ac;" target="_blank" onclick="previewUrl('${commonStaticImgPath}${file}')"  href="#"  class="download-link">&nbsp &nbsp  &nbsp查看</a>
                                                        <input type="hidden" class="attachFiles" value="${file}">
                                                    </div>
                                                    <c:set var="attachFilesCount" value="${vs.count}"/>
                                                </c:forEach>
                                            </c:if>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.zjzx_img_03.status eq '1'}">
                            <div class="layui-row">
                                <div class="layui-col-lg9 layui-col-sm9 ">
                                    <label class="layui-form-label"><i class="mark"></i>组串接线图：</label>
                                    <div class="layui-input-block pos-r" style="display: flex; align-items: center">
                                        <div id="zjzxImg">
                                            <c:if test="${not empty entry.zjzxImg}">
                                                <c:forEach items="${entry.zjzxImg}" var="file" varStatus="vs">
                                                    <div style="margin-top: 5px">
                                                        <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}" class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                        <a style="color:#2890ac;" target="_blank" onclick="previewUrl('${commonStaticImgPath}${file}')"  href="#"  class="download-link">&nbsp &nbsp  &nbsp查看</a>
                                                        <input type="hidden" class="attachFiles" value="${file}">
                                                    </div>
                                                    <c:set var="attachFilesCount" value="${vs.count}"/>
                                                </c:forEach>
                                            </c:if>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.zjcs_img_03.status eq '1'}">
                            <div class="layui-row">
                                <div class="layui-col-lg9 layui-col-sm9 ">
                                    <label class="layui-form-label"><i class="mark"></i>组件支架图：</label>
                                    <div class="layui-input-block pos-r" style="display: flex; align-items: center">
                                        <div id="zjcsImg">
                                            <c:if test="${not empty entry.zjcsImg}">
                                                <c:forEach items="${entry.zjcsImg}" var="file" varStatus="vs">
                                                    <div style="margin-top: 5px">
                                                        <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}" class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                        <a style="color:#2890ac;" target="_blank" onclick="previewUrl('${commonStaticImgPath}${file}')"  href="#"  class="download-link">&nbsp &nbsp  &nbsp查看</a>
                                                        <input type="hidden" class="attachFiles" value="${file}">
                                                    </div>
                                                    <c:set var="attachFilesCount" value="${vs.count}"/>
                                                </c:forEach>
                                            </c:if>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.zjhs_img_03.status eq '1'}">
                            <div class="layui-row">
                                <div class="layui-col-lg9 layui-col-sm9 ">
                                    <label class="layui-form-label"><i class="mark"></i>一次接线图/电气图：</label>
                                    <div class="layui-input-block pos-r" style="display: flex; align-items: center">
                                        <div id="zjhsImg">
                                            <c:if test="${not empty entry.zjhsImg}">
                                                <c:forEach items="${entry.zjhsImg}" var="file" varStatus="vs">
                                                    <div style="margin-top: 5px">
                                                        <a style="color:#2890ac;" href="${commonStaticImgPath}${file}" download="${file}" class="download-link">${fns:substringAfterLast(file, '/')}</a>
                                                        <a style="color:#2890ac;" target="_blank" onclick="previewUrl('${commonStaticImgPath}${file}')"  href="#"  class="download-link">&nbsp &nbsp  &nbsp查看</a>
                                                        <input type="hidden" class="attachFiles" value="${file}">
                                                    </div>
                                                    <c:set var="attachFilesCount" value="${vs.count}"/>
                                                </c:forEach>
                                            </c:if>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </c:if>

                        <div class="layui-col-lg3 layui-col-sm3 ">
                            <label class="layui-form-label">设计容量：</label>
                            <div class="layui-input-block pos-r">
                                <input class="layui-input layui-bg-gray" name="designCapacity"
                                       value="${entry.designCapacity / 1000}" disabled>
                                <span class="pos-a h-32 lh-32 layui-span-unit">kW</span>
                            </div>
                        </div>
                        <c:if test="${info2.columns.component3.status eq '1'}">
                            <div class="assembly">
                                <c:if test="${not empty assemblyList}">
                                    <c:forEach var="assembly" items="${assemblyList}" varStatus="vs">
                                        <div class="layui-row assemblyDiv">
                                            <div class="layui-col-lg5 layui-col-sm7">
                                                <label class="layui-form-label"><i class="mark"></i>组件：</label>
                                                <div class="layui-input-block">
                                                    <div class="layui-inline">
                                                        <select lay-filter="assembly" name="assembly" disabled class="assembly">
                                                            <option value="">请选择</option>
                                                            <c:forEach varStatus="" items="${sysAssemblyList}"
                                                                       var="sysAssembly">
                                                                <option value="${sysAssembly.columns.id}"
                                                                        data-power="${sysAssembly.columns.model}" ${sysAssembly.columns.id eq assembly.columns.item_id ? 'selected' : ''}>${sysAssembly.columns.model}</option>
                                                            </c:forEach>
                                                        </select>
                                                        <span class="pos-a h-32 lh-32 layui-span-unit" style="right: 30px">Wp</span>
                                                    </div>
                                                    <span class="layui-inline">X </span>
                                                    <div class="layui-inline">
                                                        <input type="text" class="layui-input" style="width: 85px;" disabled
                                                               placeholder="数量" name="optionVal"
                                                               value="${assembly.columns.num}">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </c:forEach>
                                </c:if>
                                <c:if test="${empty assemblyList}">
                                    <div class="layui-row assemblyDiv">
                                        <div class="layui-col-lg5 layui-col-sm7">
                                            <label class="layui-form-label"><i class="mark"></i>组件：</label>
                                            <div class="layui-input-block">
                                                <div class="layui-inline">
                                                    <select lay-filter="assembly" name="assembly"  disabled class="assembly">
                                                        <option value="">请选择</option>
                                                        <c:forEach varStatus="" items="${sysAssemblyList}"
                                                                   var="sysAssembly">
                                                            <option value="${sysAssembly.columns.id}">${sysAssembly.columns.model}</option>
                                                        </c:forEach>
                                                    </select>
                                                    <span class="pos-a h-32 lh-32 layui-span-unit" style="right: 30px">Wp</span>
                                                </div>
                                                <span class="layui-inline">X </span>
                                                <div class="layui-inline">
                                                    <input type="text" class="layui-input" style="width: 85px;" disabled
                                                           placeholder="数量" name="optionVal">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </c:if>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.component3_model.status eq '1'}">
                            <div class="assembly">
                                <c:if test="${not empty assemblyList}">
                                    <c:forEach var="assembly" items="${assemblyList}" varStatus="vs">
                                        <div class="layui-row assemblyDiv">
                                            <div class="layui-col-lg5 layui-col-sm7">
                                                <label class="layui-form-label"><i class="mark"></i>组件：</label>
                                                <div class="layui-input-block">
                                                    <div class="layui-inline">
                                                        <select lay-filter="assembly" name="assembly" disabled class="assembly">
                                                            <option value="">请选择</option>
                                                            <c:forEach varStatus="" items="${sysAssemblyList}"
                                                                       var="sysAssembly">
                                                                <option value="${sysAssembly.columns.id}"
                                                                        data-power="${sysAssembly.columns.model}" ${sysAssembly.columns.id eq assembly.columns.item_id ? 'selected' : ''}>${sysAssembly.columns.material_model}|${sysAssembly.columns.model}</option>
                                                            </c:forEach>
                                                        </select>
                                                        <span class="pos-a h-32 lh-32 layui-span-unit" style="right: 30px">Wp</span>
                                                    </div>
                                                    <span class="layui-inline">X </span>
                                                    <div class="layui-inline">
                                                        <input type="text" class="layui-input" style="width: 85px;" disabled
                                                               placeholder="数量" name="optionVal"
                                                               value="${assembly.columns.num}">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </c:forEach>
                                </c:if>
                                <c:if test="${empty assemblyList}">
                                    <div class="layui-row assemblyDiv">
                                        <div class="layui-col-lg5 layui-col-sm7">
                                            <label class="layui-form-label"><i class="mark"></i>组件：</label>
                                            <div class="layui-input-block">
                                                <div class="layui-inline">
                                                    <select lay-filter="assembly" name="assembly"  disabled class="assembly">
                                                        <option value="">请选择</option>
                                                        <c:forEach varStatus="" items="${sysAssemblyList}"
                                                                   var="sysAssembly">
                                                            <option value="${sysAssembly.columns.id}">${sysAssembly.columns.material_model}|${sysAssembly.columns.model}</option>
                                                        </c:forEach>
                                                    </select>
                                                    <span class="pos-a h-32 lh-32 layui-span-unit" style="right: 30px">Wp</span>
                                                </div>
                                                <span class="layui-inline">X </span>
                                                <div class="layui-inline">
                                                    <input type="text" class="layui-input" style="width: 85px;" disabled
                                                           placeholder="数量" name="optionVal">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </c:if>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.component1.status eq '1'}">
                            <div class="inverter">
                                <c:if test="${not empty inverterList}">
                                    <c:forEach var="inverter" items="${inverterList}" varStatus="vs">
                                        <div class="layui-row inverterDiv">
                                            <div class="layui-col-lg5 layui-col-sm7">
                                                <label class="layui-form-label"><i class="mark"></i>逆变器：</label>
                                                <div class="layui-input-block">
                                                    <div class="layui-inline">
                                                        <select lay-filter="inverter" name="inverter" disabled class="inverter"
                                                                lay-search>
                                                            <option value="">请选择</option>
                                                            <c:forEach varStatus="" items="${sysInverterList}"
                                                                       var="sysInverter">
                                                                <option value="${sysInverter.columns.id}" ${sysInverter.columns.id eq inverter.columns.item_id ? 'selected' : ''}>${sysInverter.columns.model}</option>
                                                            </c:forEach>
                                                        </select>
                                                    </div>
                                                    <span class="layui-inline">X </span>
                                                    <div class="layui-inline">
                                                        <input type="text" class="layui-input" style="width: 85px;" disabled
                                                               placeholder="数量" name="optionVal"
                                                               value="${inverter.columns.num}">
                                                    </div>
                                                </div>
                                            </div>

                                        </div>
                                    </c:forEach>
                                </c:if>
                                <c:if test="${empty inverterList}">
                                    <div class="layui-row inverterDiv">
                                        <div class="layui-col-lg5 layui-col-sm7">
                                            <label class="layui-form-label"><i class="mark"></i>逆变器：</label>
                                            <div class="layui-input-block">
                                                <div class="layui-inline">
                                                    <select lay-filter="inverter" name="inverter" class="inverter" disabled
                                                            lay-search>
                                                        <option value="">请选择</option>
                                                        <c:forEach varStatus="" items="${sysInverterList}"
                                                                   var="sysInverter">
                                                            <option value="${sysInverter.columns.id}" ${sysInverter.columns.id eq inverter.columns.item_id ? 'selected' : ''}>${sysInverter.columns.model}</option>
                                                        </c:forEach>
                                                    </select>
                                                </div>
                                                <span class="layui-inline">X </span>
                                                <div class="layui-inline">
                                                    <input type="text" class="layui-input" style="width: 85px;" disabled
                                                           placeholder="数量" name="optionVal">
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                </c:if>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.component1_model.status eq '1'}">
                            <div class="inverter">
                                <c:if test="${not empty inverterList}">
                                    <c:forEach var="inverter" items="${inverterList}" varStatus="vs">
                                        <div class="layui-row inverterDiv">
                                            <div class="layui-col-lg5 layui-col-sm7">
                                                <label class="layui-form-label"><i class="mark"></i>逆变器：</label>
                                                <div class="layui-input-block">
                                                    <div class="layui-inline">
                                                        <select lay-filter="inverter" name="inverter" disabled class="inverter"
                                                                lay-search>
                                                            <option value="">请选择</option>
                                                            <c:forEach varStatus="" items="${sysInverterList}"
                                                                       var="sysInverter">
                                                                <option value="${sysInverter.columns.id}" ${sysInverter.columns.id eq inverter.columns.item_id ? 'selected' : ''}>${sysInverter.columns.material_model}|${sysInverter.columns.model}</option>
                                                            </c:forEach>
                                                        </select>
                                                    </div>
                                                    <span class="layui-inline">X </span>
                                                    <div class="layui-inline">
                                                        <input type="text" class="layui-input" style="width: 85px;" disabled
                                                               placeholder="数量" name="optionVal"
                                                               value="${inverter.columns.num}">
                                                    </div>
                                                </div>
                                            </div>

                                        </div>
                                    </c:forEach>
                                </c:if>
                                <c:if test="${empty inverterList}">
                                    <div class="layui-row inverterDiv">
                                        <div class="layui-col-lg5 layui-col-sm7">
                                            <label class="layui-form-label"><i class="mark"></i>逆变器：</label>
                                            <div class="layui-input-block">
                                                <div class="layui-inline">
                                                    <select lay-filter="inverter" name="inverter" class="inverter" disabled
                                                            lay-search>
                                                        <option value="">请选择</option>
                                                        <c:forEach varStatus="" items="${sysInverterList}"
                                                                   var="sysInverter">
                                                            <option value="${sysInverter.columns.id}" ${sysInverter.columns.id eq inverter.columns.item_id ? 'selected' : ''}>${sysInverter.columns.material_model}|${sysInverter.columns.model}</option>
                                                        </c:forEach>
                                                    </select>
                                                </div>
                                                <span class="layui-inline">X </span>
                                                <div class="layui-inline">
                                                    <input type="text" class="layui-input" style="width: 85px;" disabled
                                                           placeholder="数量" name="optionVal">
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                </c:if>
                            </div>
                        </c:if>

                        <c:if test="${info2.columns.component2.status eq '1'}">
                            <div class="grid-connection">
                                <c:if test="${not empty gridConnectionList}">
                                    <c:forEach var="gridConnection" items="${gridConnectionList}" varStatus="vs">
                                        <div class="layui-row connectionDiv">
                                            <div class="layui-col-lg5 layui-col-sm7">
                                                <label class="layui-form-label">并网箱：</label>
                                                <div class="layui-input-block">
                                                    <div class="layui-inline">
                                                        <select lay-filter="grid-connection" name="gridConnection" disabled
                                                                class="grid-connection" lay-search>
                                                            <option value="">请选择</option>
                                                            <c:forEach varStatus="" items="${sysGridConnectionList}"
                                                                       var="sysGridConnection">
                                                                <option value="${sysGridConnection.columns.id}" ${sysGridConnection.columns.id eq gridConnection.columns.item_id ? 'selected' : ''}>${sysGridConnection.columns.model}</option>
                                                            </c:forEach>
                                                        </select>
                                                    </div>
                                                    <span class="layui-inline">X </span>
                                                    <div class="layui-inline">
                                                        <input type="text" class="layui-input" style="width: 85px;" disabled
                                                               placeholder="数量" name="optionVal"
                                                               value="${gridConnection.columns.num}">
                                                    </div>
                                                </div>
                                            </div>

                                        </div>
                                    </c:forEach>
                                </c:if>
                                <c:if test="${empty gridConnectionList}">
                                    <div class="layui-row connectionDiv">
                                        <div class="layui-col-lg5 layui-col-sm7">
                                            <label class="layui-form-label">并网箱：</label>
                                            <div class="layui-input-block">
                                                <div class="layui-inline">
                                                    <select lay-filter="grid-connection" name="gridConnection" disabled
                                                            class="grid-connection" lay-search>
                                                        <option value="">请选择</option>
                                                        <c:forEach varStatus="" items="${sysGridConnectionList}"
                                                                   var="sysGridConnection">
                                                            <option value="${sysGridConnection.columns.id}" ${sysGridConnection.columns.id eq gridConnection.columns.item_id ? 'selected' : ''}>${sysGridConnection.columns.model}</option>
                                                        </c:forEach>
                                                    </select>
                                                </div>
                                                <span class="layui-inline">X </span>
                                                <div class="layui-inline">
                                                    <input type="text" class="layui-input" style="width: 85px;" disabled
                                                           placeholder="数量" name="optionVal">
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                </c:if>
                            </div>
                        </c:if>
                        <c:if test="${info2.columns.component4.status eq '1'}">
                            <div class="grid-support">
                                <c:if test="${not empty gridSupportList}">
                                    <c:forEach var="gridSupport" items="${gridSupportList}" varStatus="vs">
                                        <div class="layui-row supportDiv">
                                            <div class="layui-col-lg5 layui-col-sm7">
                                                <label class="layui-form-label">支架：</label>
                                                <div class="layui-input-block">
                                                    <div class="layui-inline">
                                                        <select lay-filter="grid-support" name="gridSupport" disabled
                                                                class="gridSupport" lay-search>
                                                            <option value="">请选择</option>
                                                            <c:forEach varStatus="" items="${sysGridSupportList}" var="sysGridSupport">
                                                                <option value="${sysGridSupport.columns.id}" ${sysGridSupport.columns.id eq gridSupport.columns.item_id ? 'selected' : ''}>${sysGridSupport.columns.model}</option>
                                                            </c:forEach>
                                                        </select>
                                                    </div>
                                                    <span class="layui-inline">X </span>
                                                    <div class="layui-inline">
                                                        <input type="text" class="layui-input" style="width: 85px;" placeholder="数量" disabled name="optionVal" value="${gridSupport.columns.num}">
                                                    </div>
                                                </div>
                                            </div>

                                        </div>
                                    </c:forEach>
                                </c:if>
                                <c:if test="${empty gridSupportList}">
                                    <div class="layui-row supportDiv">
                                        <div class="layui-col-lg5 layui-col-sm7">
                                            <label class="layui-form-label">支架：</label>
                                            <div class="layui-input-block">
                                                <div class="layui-inline">
                                                    <select lay-filter="grid-support" name="gridSupport" disabled
                                                            class="gridSupport" lay-search>
                                                        <option value="">请选择</option>
                                                        <c:forEach varStatus="" items="${sysGridSupportList}" var="sysGridSupport">
                                                            <option value="${sysGridSupport.columns.id}" }>${sysGridSupport.columns.model}</option>
                                                        </c:forEach>
                                                    </select>
                                                </div>
                                                <span class="layui-inline">X</span>
                                                <div class="layui-inline">
                                                    <input type="text" class="layui-input" style="width: 85px;" disabled
                                                           placeholder="数量" name="optionVal">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </c:if>
                            </div>
                        </c:if>
                        <div class="layui-col-xs12" style="padding-bottom: 90px">
                            <label class="layui-form-label">方案备注：</label>
                            <div class="layui-input-block">
                                <textarea name="schemeRemarks" disabled id="schemeRemarks" class="layui-textarea" lay-verify="required">${entry.schemeRemarks}</textarea>
                            </div>
                        </div>

                    </div>
                </div>
            </div>


            <div class="layui-card">
                <blockquote class="layui-elem-quote">审核信息</blockquote>
                <div class="layui-card-body ">
                    <div class="layui-col-xs12" style="position: fixed;bottom: 30px;background: #F8F8F8;padding-bottom: 20px">
                        <div class="layui-col-xs12">
                            <label class="layui-form-label" id="changeDescribe">审核意见：</label>
                            <div class="layui-input-block">
                                <textarea name="remarks" id="remarks" class="layui-textarea" style="width: 95.8%;">${orgFiles.remark}</textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="operate-footer">
        <input type="button" class="layui-btn" value="暂存" onclick="auditArchivesTemp()">
        <input type="button" class="layui-btn layui-bg-red" value="驳回" onclick="auditArchives('2')">
        <input type="button" class="layui-btn" value="通过" onclick="auditArchives('1')">
        <input type="button" class="layui-btn layui-btn-primary" value="取消" onclick="cancel()">
    </div>
</div>


<script src="${ctxPlugin}/lib/layuiAdmin/dist/layuiadmin/layui/layui.js"></script>
<script src="${ctxPlugin}/lib/layuiAdmin/dist/layuiadmin/dist/viewer.js"></script>
<script src="${ctxPlugin}/lib/base64.js"></script>
<script>
    //图片查看效果
    var viewer = new Viewer(document.getElementById('LAY_app'));
    var $;
    layui.config({
        base: '${ctxPlugin}/lib/layuiAdmin/dist/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form', 'layedit', 'laydate', 'jquery', 'upload', 'layer'], function () {
        $ = layui.$
            , element = layui.element
            , form = layui.form
            , layer = layui.layer
            , laydate = layui.laydate;
        var upload = layui.upload;



    });

    function auditArchivesTemp() {
        let id = "${entry.id}";
        // 审核备注
        let remark = $("#remarks").val();
        if (isBlank(remark)) {
            layer.msg("请输入审核意见!", {icon: 2});
            return false;
        }
        $.ajax({
            type: 'post',
            url: '${ctx}/customer/org/files/auditArchivesTemp',
            data: {
                id: id,
                remark: remark,
            },
            success: function(result){
                if (result.code === '200') {
                    layer.msg("暂存成功，请处理下一条数据！", {icon: 1, time: 1000})
                } else {
                    if (isBlank(result.errMsg)) {
                        layer.msg("操作失败！请联系管理员！", {icon: 2});
                    } else {
                        layer.msg("操作失败，" + result.errMsg, {icon: 2});
                    }
                }
            },
            complete: function(){
                $this.prop('disabled', false);
            }
        })
    }

    var submitFlag = false;
    function auditArchives(type) {
        if (submitFlag) {
            return;
        }
        let id = "${entry.id}";
        // 审核备注
        let remark = $("#remarks").val();
        if (type === '2' && isBlank(remark)) {
            layer.msg("请输入审核意见!", {icon: 2});
            return false;
        }
        let data = {
            id: id,
            type: type,
            remark: remark
        }
        let index= layer.load(2, {shade: [0.5,'#fff'], content:''});
        submitFlag = true;
        $.ajax({
            url: "${ctx}/customer/org/files/auditArchives",
            type: "POST",
            contentType: "application/json;charsetset=UTF-8",
            data: JSON.stringify(data),
            success: function (result) {
                console.log(result);
                if (result.code === '200') {
                    let index = parent.layer.getFrameIndex(window.name);
                    layer.msg("保存成功", {icon: 1, time: 1000}, function () {
                        parent.parent.layer.closeAll();
                        parent.layer.close(index);
                        parent.searchOrder(); //刷新父页面
                    })
                } else {
                    if (isBlank(result.errMsg)) {
                        layer.msg("操作失败！请联系管理员！", {icon: 2});
                    } else {
                        layer.msg("操作失败，" + result.errMsg, {icon: 2});
                    }
                }
                submitFlag = false;

            },
            complete: function () {
                layer.close(index);
            },
            error: function () {
                layer.msg("保存失败", {icon: 2});
                submitFlag = false;
            }
        })
    }

    // 初始化方案数据，下拉选回显
    function initSchemeData() {
        var schemeType = '${entry.schemeType}';
        var $rowNode;
        if (schemeType === '1') {
            // 标准方案
            $rowNode = $('#showSchemeId').find('.layui-row');
            // $('#zuhefangan').find('.layui-row').each(function (index, that) {
            //     var html = initSchemeTypeSelectData('', planTypeData);
            //     $(that).find('select[name=planType]').empty().append(html);
            // });
        } else {
            // 组合方案
            $rowNode = $('#zuhefangan').find('.layui-row');
            // $('#showSchemeId').find('.layui-row').each(function (index, that) {
            //     var html = initSchemeTypeSelectData('', planTypeData);
            //     $(that).find('select[name=planType]').empty().append(html);
            // });
        }
        $($rowNode).each(function (index, that) {
            var selectedPlanTypeName = $(that).data('scheme-type-name');
            var selectedPlanId = $(that).data('plan-id');
            if ('1' == '${entry.schemeType}') {
                selectedPlanTypeName = $(that).find(".planType").find("option:selected").val();
            }
            if (!isBlank(selectedPlanTypeName)) {
                $.ajax({
                    url: "${ctx}/planManage/findPlanByAssembly",
                    type: "POST",
                    data: {
                        planType: selectedPlanTypeName
                    }
                    , success: function (result) {
                        $(that).find(".planName").empty();
                        var plan_name_html = "<option value=''>请选择</option>";
                        var viewAttachHtml = '';
                        for (var k = 0; k < result.length; k++) {

                            var selectedFlag = result[k].columns.id === selectedPlanId ? 'selected' : '';
                            if (result[k].columns.id === selectedPlanId) {
                                if (!isBlank(result[k].columns.attach)) {
                                    viewAttachHtml += '<a class="h-32 lh-32 ml-5 layui-span-unit"  target="_blank" onclick="previewUrl('+"\'"+'${commonStaticImgPath}'+result[k].columns.attach+'\''+')"  href="#" style="color:#2890ac;">查看</a>';
                                }
                                if (!isBlank(result[k].columns.attach2)) {
                                    viewAttachHtml += '<a class="h-32 lh-32 ml-5 layui-span-unit"  target="_blank" onclick="previewUrl('+"\'"+'${commonStaticImgPath}'+result[k].columns.attach2+'\''+')"   href="#" style="color:#2890ac;">查看</a>';
                                }
                            }
                            plan_name_html += "<option value='" + result[k].columns.id + "' title='" + result[k].columns.assembly_count + "' date='" + result[k].columns.code + "' " + selectedFlag + ">" + result[k].columns.name + "</option>";
                        }
                        $(that).find('.planId').val(selectedPlanId)
                        $(that).find(".planName").append(plan_name_html);
                        $(that).closest('.layui-row').find('.view-attachment').empty().append(viewAttachHtml);
                        form.render('select');
                        var code = $(that).find(".planName").find("option:selected").attr("date");
                        $(that).find(".planCode").val(code);
                    }
                })
            }
        });
        form.render('select');
    }
    function previewUrl(_url) {
        if (!checkUrl(_url)) {
            return false;
        }
        var base = new Base64();
        var b64Encoded = base.encode(_url);
        if(_url.endsWith('pdf')){
            window.open('http://47.98.203.224:8012/onlinePreview?url=' + encodeURIComponent(b64Encoded)+'&officePreviewType=pdf');
        }else{
            window.open('http://47.98.203.224:8012/onlinePreview?url=' + encodeURIComponent(b64Encoded));
        }
    }

    function checkUrl(url) {
        //url= 协议://(ftp的登录信息)[IP|域名](:端口号)(/或?请求参数)
        var strRegex = '^((https|http|ftp)://)'//(https或http或ftp)
            + '(([\\w_!~*\'()\\.&=+$%-]+: )?[\\w_!~*\'()\\.&=+$%-]+@)?' //ftp的user@  可有可无
            + '(([0-9]{1,3}\\.){3}[0-9]{1,3}' // IP形式的URL- 3位数字.3位数字.3位数字.3位数字
            + '|' // 允许IP和DOMAIN（域名）
            + '(localhost)|'	//匹配localhost
            + '([\\w_!~*\'()-]+\\.)*' // 域名- 至少一个[英文或数字_!~*\'()-]加上.
            + '\\w+\\.' // 一级域名 -英文或数字  加上.
            + '[a-zA-Z]{1,6})' // 顶级域名- 1-6位英文
            + '(:[0-9]{1,5})?' // 端口- :80 ,1-5位数字
            + '((/?)|' // url无参数结尾 - 斜杆或这没有
            + '(/[\\w_!~*\'()\\.;?:@&=+$,%#-]+)+/?)$';//请求参数结尾- 英文或数字和[]内的各种字符
        var re = new RegExp(strRegex, 'i');//i不区分大小写
        //将url做uri转码后再匹配，解除请求参数中的中文和空字符影响
        if (re.test(encodeURI(url))) {
            return (true);
        } else {
            return (false);
        }
    }

    function isBlank(val) {
        if (val == null || val === '' || val === undefined) {
            return true;
        }
        return false;
    }

    // 关闭弹框
    function cancel() {
        parent.parent.layer.closeAll();
        var index = parent.layer.getFrameIndex(window.name);//先得到当前iframe层的索引
        parent.layer.close(index); //再执行关闭
    }

    function approvalRecord(){
        layer.open({
            title: '审批记录',
            type: 2,
            area: ['35%', '100%'],
            offset: 'rt',
            content: '${ctx}/customerEntry/approvalRecordPage?entryId=${entry.id}'
        })
    }
</script>
</body>
</html>
