From 7cb90b47c42b4ee5944964ad62ae89e7e6a2f9ca Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期五, 17 十一月 2023 09:03:36 +0800 Subject: [PATCH] 后台bug修改 --- cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html | 131 +++++++++++++++++++++++++++++++------------ 1 files changed, 95 insertions(+), 36 deletions(-) diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html index 708776f..80fb100 100644 --- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html +++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/operator/OperatorUser_proportionAuth.html @@ -65,25 +65,25 @@ <div class="form-group" > <label class="col-sm-3 control-label">*联系人姓名:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="name" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" value="${item.name}" id="name" placeholder="请输入" type="text"> </div> </div> <div class="form-group" > <label class="col-sm-3 control-label">*联系人电话:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="phone" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" value="${item.phone}" id="phone" placeholder="请输入" type="text"> </div> </div> <div class="form-group" > <label class="col-sm-3 control-label">*联系人身份证号:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="number" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" value="${item.number}" id="number" placeholder="请输入" type="text"> </div> </div> <div class="form-group" > <label class="col-sm-3 control-label">*法定代表人姓名:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="lrName" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" id="lrName" value="${item.legalPerson}" placeholder="请输入" type="text"> </div> </div> </div> @@ -91,36 +91,36 @@ <div class="form-group" > <label class="col-sm-3 control-label">*营业执照商户名称:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="merchantName" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" value="${item.businessName}" id="merchantName" placeholder="请输入" type="text"> </div> </div> <div class="form-group"> <label class="col-sm-3 control-label">*营业证照生效时间:</label> <div class="col-sm-9" style="display: flex"> - <input style="width: 300px" class="form-control" id="tradeTime" name="tradeTime" type="date"> + <input style="width: 300px" class="form-control" id="tradeTime" value="${item.businessTerm}" name="tradeTime" type="date"> </div> </div> <div class="form-group"> <label class="col-sm-3 control-label">*营业证照过期时间:</label> <div class="col-sm-9" style="display: flex"> - <input style="width: 300px" class="form-control" id="endTime" name="endTime" type="date"> + <input style="width: 300px" class="form-control" id="endTime" value="${item.businessEnd}" name="endTime" type="date"> <input type="checkbox" style="margin-left: 10px" id="tradeE" value="0" onchange="TSite.tradeYse(this)">长期</input> </div> </div> <div class="form-group" > <label class="col-sm-3 control-label">*营业执照注册号:</label> <div class="col-sm-9" > - <input style="width: 300px" class="form-control" id="licenseRegistration" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" id="licenseRegistration" value="${item.businessNumber}" placeholder="请输入" type="text"> </div> </div> <div class="form-group" > <label class="col-sm-3 control-label">*注册地址:</label> <div class="col-sm-9" > - <input style="width: 300px" class="form-control" id="registerAddress" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" id="registerAddress" value="${item.registerAddress}" placeholder="请输入" type="text"> </div> </div> <div class="form-group"> - <#avatar id="license" name="营业执照" /> + <#avatar id="license" name="营业执照" avatarImg="${item.businessPicture}" /> </div> </div> </div> @@ -129,53 +129,53 @@ <div class="form-group" > <label class="col-sm-3 control-label">*法人姓名:</label> <div class="col-sm-9" > - <input style="width: 300px" class="form-control" id="legalPerson" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" id="legalPerson" value="${item.legalPerson}" placeholder="请输入" type="text"> </div> </div> <div class="form-group" > <label class="col-sm-3 control-label">*法人手机号:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="legalPhone" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" id="legalPhone" value="${item.legalPhone}" placeholder="请输入" type="text"> </div> </div> <div class="form-group"> <label class="col-sm-3 control-label">*法人身份证开始时间:</label> <div class="col-sm-9" style="display: flex"> - <input style="width: 300px" class="form-control" id="IDCardTime" name="IDCardTime" type="date"> + <input style="width: 300px" class="form-control" id="IDCardTime" value="${item.legalTerm}" name="IDCardTime" type="date"> </div> </div> <div class="form-group"> <label class="col-sm-3 control-label">*法人身份证结束时间:</label> <div class="col-sm-9" style="display: flex"> - <input style="width: 300px" class="form-control" id="IDCardEnd" name="IDCardTime" type="date"> + <input style="width: 300px" class="form-control" value="${item.legalEnd}" id="IDCardEnd" name="IDCardTime" type="date"> <input type="checkbox" style="margin-left: 10px" id="IDCardE" value="0" onchange="TSite.tradeYse(this)">长期</input> </div> </div> <div class="form-group"> - <#avatar id="IDCardImg" name="法人身份证正面照" /> + <#avatar id="IDCardImg" name="法人身份证正面照" avatarImg="${item.legalFront}" /> </div> </div> <div class="col-lg-6" style=""> <div class="form-group"> <label class="col-sm-3 control-label">*法人身份证号:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="lIDNumber" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" value="${item.leagleNumber}" id="lIDNumber" placeholder="请输入" type="text"> </div> </div> <div class="form-group" > <label class="col-sm-3 control-label">*法人邮箱:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="lEmail" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" value="${item.legalEmail}" id="lEmail" placeholder="请输入" type="text"> </div> </div> <div class="form-group" > <label class="col-sm-3 control-label">*法人身份证地址:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="lIDAddress" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" value="${item.legalAddress}" id="lIDAddress" placeholder="请输入" type="text"> </div> </div> <div class="form-group"> - <#avatar id="IDCardImg1" name="法人身份证背面照" /> + <#avatar id="IDCardImg1" name="法人身份证背面照" avatarImg="${item.legalBack}" /> </div> </div> </div> @@ -184,67 +184,68 @@ <div class="col-lg-6" style=""> <div class="form-group"> <label class="col-sm-4 control-label" > - 法人是否为受益人:<input type="radio" checked name="type" value="true">是 <input checked type="radio" name="type" value="false">否 + 法人是否为受益人:<input type="radio" checked name="type" value="true">是 + <input checked type="radio" name="type" value="false">否 </label> </div> <div class="form-group"> <label class="col-sm-3 control-label">*受益人姓名:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="bName" name="bName" type="text"> + <input style="width: 300px" class="form-control" value="${item.beneficiary}" id="bName" name="bName" type="text"> </div> </div> <div class="form-group"> <label class="col-sm-3 control-label">*受益人身份证地址:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="bAddress" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" id="bAddress" value="${item.beneficiaryAddress}" placeholder="请输入" type="text"> </div> </div> <div class="form-group"> <label class="col-sm-3 control-label">*受益人身份证有效期:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="bTime" name="bTime" type="date"> + <input style="width: 300px" class="form-control" value="${item.beneficiaryTerm}" id="bTime" name="bTime" type="date"> </div> </div> <div class="form-group"> <label class="col-sm-3 control-label">*受益人身份证结束时间:</label> <div class="col-sm-9" style="display: flex"> - <input style="width: 300px" class="form-control" id="bEnd" name="IDCardTime" type="date"> + <input style="width: 300px" class="form-control" id="bEnd" value="${item.beneficiaryEnd}" name="IDCardTime" type="date"> <input type="checkbox" style="margin-left: 10px" id="bIDCardT" value="0" onchange="TSite.tradeYse(this)">长期</input> </div> </div> <div class="form-group"> - <#avatar id="bImg1" name="受益人身份证正面照" /> + <#avatar id="bImg1" avatarImg="${item.beneficiaryFront}" name="受益人身份证正面照" /> </div> </div> <div class="col-lg-6" style=""> <div class="form-group"> <label class="col-sm-3 control-label">*受益人身份证号:</label> <div class="col-sm-9" > - <input style="width: 300px" class="form-control" id="bIDNumber" placeholder="请输入" type="text"> + <input style="width: 300px" class="form-control" id="bIDNumber" value="${item.beneficiaryNumber}" placeholder="请输入" type="text"> </div> </div> <div class="form-group"> - <#avatar id="bImg2" name="受益人身份证背面照" /> + <#avatar id="bImg2" avatarImg="${item.beneficiaryFront}" name="受益人身份证背面照" /> </div> </div> </div> - <div class="row"> - <div class="col-lg-6" style=""> + @if(reasons != null){ + <div class="row" id="reasons"> + <div class="col-lg-6" > <div class="form-group"> <label class="col-sm-3 control-label">*拒绝理由:</label> - </div> - <div class="form-group"> - <#avatar id="Img" name="上传图片" /> - </div> - <div class="form-group"> - <label class="col-sm-3 control-label">*备注:</label> <div class="col-sm-9"> - <input style="width: 300px" class="form-control" id="remark" name="remark" type="text"> + <h3 style="color: red">${item.refuseReason}</h3> </div> </div> </div> </div> + @} + @if(code != null){ + <label class="col-sm-3 control-label">请使用手机支付宝扫描下方二维码完成进一步认证</label> + <img src="${code}"> + @} <div class="form-group"> <div class="row btn-group-m-t"> <div class="col-sm-10 col-sm-offset-5" > @@ -268,6 +269,64 @@ }else { $("#benefit").show() } + } + window.onload = function(){ + if ("${item.orderStatus}"=="AUDIT_PASS"){ + $("#reasons").hide() + }else{ + $("#reasons").show() + } + if ("${item.orderStatus}"==null){ + $("#reasons").hide() + } + console.log("${bodyType}") + var OBJradio=document.getElementsByName("bodyType") + var type=document.getElementsByName("type") + if("${bodyType}"=="ENTERPRISE"){ + OBJradio[1].checked=true + $("#benefit").show() + // 受益人身份证有效期 + var IDCardE = document.getElementById("IDCardE"); + var IDCardEnd = document.getElementById('IDCardEnd'); + if ("${item.legalEnd}" == "forever"){ + IDCardE.checked=true; + IDCardEnd.disabled = true; + IDCardEnd.value=""; + } + if ("${item.isBeneficiary}" == "true"){ + type[0].checked=true + }else{ + type[1].checked=true + } + }else { + OBJradio[0].checked=true + $("#benefit").hide() + } + // 营业执照有效结束期 + var bunessTime = document.getElementById("tradeE"); + var endTime = document.getElementById('endTime'); + if ("${item.businessEnd}" == "forever"){ + bunessTime.checked=true; + endTime.disabled = true; + endTime.value=""; + } + // 法人身份证有效期 + var IDCardE = document.getElementById("IDCardE"); + var IDCardEnd = document.getElementById('IDCardEnd'); + if ("${item.legalEnd}" == "forever"){ + IDCardE.checked=true; + IDCardEnd.disabled = true; + IDCardEnd.value=""; + } + // 受益人身份证有效期 + var bEnd = document.getElementById("bEnd"); + var bIDCardT = document.getElementById('bIDCardT'); + if ("${item.beneficiaryEnd}" == "forever"){ + bIDCardT.checked=true; + bEnd.disabled = true; + bEnd.value=""; + } + } </script> -- Gitblit v1.7.1