风控中台对接-页面地址选择调整
This commit is contained in:
parent
69ac7ae767
commit
bd300007b8
@ -46,6 +46,86 @@
|
||||
sButtonPosition = "north";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
//与承租人关系
|
||||
|
||||
setItemValue(0,0,"ASSURE_RELATION", "担保2");
|
||||
if("0030"=="<%=sPhaseNo%>" ||"0040"=="<%=sPhaseNo%>"||"0050"=="<%=sPhaseNo%>"||"0060"=="<%=sPhaseNo%>"|| ("0070"=="<%=sPhaseNo%>" && "false"=="<%=IsHistory%>")){//经销商阶段看不见标红,初审、复审、信审可以标红
|
||||
var mobile = getItemValue(0,getRow(),"MOBILE");
|
||||
var mobileResult = checkMobileAll(mobile);
|
||||
if(mobileResult=="6"){
|
||||
$("#MOBILE").css("color","red");
|
||||
}
|
||||
var certResult = checkCertIdAll();
|
||||
if(certResult=="4"){
|
||||
//$("#FULLNAME").attr("style","color:red;");
|
||||
$("#CERTID").css("color","red");
|
||||
}
|
||||
}
|
||||
$("#ID_ADDRESS").css("width",$("#ID_ADDRESS").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#ID_ADDRESS").attr("ReadOnly","true");
|
||||
$("#ADDRESS").css("width",$("#ADDRESS").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#ADDRESS").attr("ReadOnly","true");
|
||||
$("#WORKADD").css("width",$("#WORKADD").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#WORKADD").attr("ReadOnly","true");
|
||||
});
|
||||
|
||||
// 风控中台对接相关代码 单位地址
|
||||
function selectWorkAddress(){
|
||||
let workAddressId = getItemValue(0,0,"work_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"work_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"work_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"WORKADD",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"单位地址");
|
||||
}
|
||||
// 风控中台对接相关代码 户籍地址
|
||||
function selectIdAddress(){
|
||||
let workAddressId = getItemValue(0,0,"id_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"id_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"id_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"id_address",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"户籍地址");
|
||||
}
|
||||
// 风控中台对接相关代码 居住地址
|
||||
function selectLiveAddress(){
|
||||
let workAddressId = getItemValue(0,0,"live_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"live_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"live_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"ADDRESS",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"居住地址");
|
||||
}
|
||||
|
||||
|
||||
changeCertType();
|
||||
function changeCertType(){
|
||||
var certType = getItemValue(0,getRow(0),"CERTTYPE");
|
||||
@ -263,21 +343,7 @@
|
||||
}
|
||||
return true;
|
||||
}
|
||||
$(function(){
|
||||
if("0030"=="<%=sPhaseNo%>" ||"0040"=="<%=sPhaseNo%>"||"0050"=="<%=sPhaseNo%>"||"0060"=="<%=sPhaseNo%>"|| ("0070"=="<%=sPhaseNo%>" && "false"=="<%=IsHistory%>")){//经销商阶段看不见标红,初审、复审、信审可以标红
|
||||
var mobile = getItemValue(0,getRow(),"MOBILE");
|
||||
var mobileResult = checkMobileAll(mobile);
|
||||
if(mobileResult=="6"){
|
||||
$("#MOBILE").css("color","red");
|
||||
}
|
||||
var certResult = checkCertIdAll();
|
||||
if(certResult=="4"){
|
||||
//$("#FULLNAME").attr("style","color:red;");
|
||||
$("#CERTID").css("color","red");
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
function checkMobileAll(mobile){//检验所有手机号
|
||||
var sParams = "mobile="+mobile+",flowunid="+"<%=sFlowUnid%>";
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkTel",sParams);
|
||||
|
||||
@ -56,7 +56,62 @@
|
||||
$("#myiframe0_float_div table").css("width","100%");
|
||||
$("#myiframe0_cells table").css("width","100%");
|
||||
})
|
||||
|
||||
|
||||
// 风控中台对接相关代码 单位地址
|
||||
function selectWorkAddress(){
|
||||
let workAddressId = getItemValue(0,0,"work_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"work_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"work_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"WORKADD",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"单位地址");
|
||||
}
|
||||
// 风控中台对接相关代码 户籍地址
|
||||
function selectIdAddress(){
|
||||
let workAddressId = getItemValue(0,0,"id_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"id_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"id_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"id_address",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"户籍地址");
|
||||
}
|
||||
// 风控中台对接相关代码 居住地址
|
||||
function selectLiveAddress(){
|
||||
let workAddressId = getItemValue(0,0,"live_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"live_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"live_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"ADDRESS",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"居住地址");
|
||||
}
|
||||
|
||||
function checkGuaranteeUnit(){
|
||||
var sParams = "flowunid="+"<%=sFlowUnid%>";
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CheckGuaranteeUnit","CheckGuaranteeUnitCount",sParams);
|
||||
|
||||
@ -64,6 +64,12 @@
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$("#ID_ADDRESS").css("width",$("#ID_ADDRESS").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#ID_ADDRESS").attr("ReadOnly","true");
|
||||
$("#WORKUNIT").css("width",$("#WORKUNIT").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#WORKUNIT").attr("ReadOnly","true");
|
||||
$("#WORK_ADDRESS").css("width",$("#WORK_ADDRESS").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#WORK_ADDRESS").attr("ReadOnly","true");
|
||||
var spouse = getItemValue(0,0,"Spouse_");
|
||||
if("Y"==spouse){
|
||||
$("#ASSURE_RELATION").val("配偶");
|
||||
@ -98,6 +104,60 @@
|
||||
$('#SEX_2').attr("disabled",false); //女
|
||||
}
|
||||
}
|
||||
// 风控中台对接相关代码 单位地址
|
||||
function selectWorkAddress(){
|
||||
let workAddressId = getItemValue(0,0,"work_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"work_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"work_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"work_address",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"单位地址");
|
||||
}
|
||||
// 风控中台对接相关代码 户籍地址
|
||||
function selectIdAddress(){
|
||||
let workAddressId = getItemValue(0,0,"id_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"id_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"id_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"id_address",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"户籍地址");
|
||||
}
|
||||
// 风控中台对接相关代码 居住地址
|
||||
function selectLiveAddress(){
|
||||
let workAddressId = getItemValue(0,0,"live_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"live_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"live_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"workunit",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"居住地址");
|
||||
}
|
||||
function checkCertId(){//校验共同申请人证件号格式
|
||||
var certId = getItemValue(0,getRow(0),"certid");
|
||||
var certtype = getItemValue(0,getRow(0),"CERTTYPE");
|
||||
|
||||
@ -31,6 +31,12 @@
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$("#ID_ADDRESS").css("width",$("#ID_ADDRESS").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#ID_ADDRESS").attr("ReadOnly","true");
|
||||
$("#WORKUNIT").css("width",$("#WORKUNIT").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#WORKUNIT").attr("ReadOnly","true");
|
||||
$("#WORK_ADDRESS").css("width",$("#WORK_ADDRESS").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#WORK_ADDRESS").attr("ReadOnly","true");
|
||||
if("<%=marriage%>"=="01"){//已婚时,设置必填,显示配偶页面
|
||||
changeFamilyRequiredTrue(<%=marriage%>);
|
||||
$("#A_Group_0030").attr("style","display:block;");
|
||||
@ -56,6 +62,62 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// 风控中台对接相关代码 单位地址
|
||||
function selectWorkAddress(){
|
||||
let workAddressId = getItemValue(0,0,"work_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"work_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"work_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"work_address",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"单位地址");
|
||||
}
|
||||
// 风控中台对接相关代码 户籍地址
|
||||
function selectIdAddress(){
|
||||
let workAddressId = getItemValue(0,0,"id_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"id_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"id_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"id_address",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"户籍地址");
|
||||
}
|
||||
// 风控中台对接相关代码 居住地址
|
||||
function selectLiveAddress(){
|
||||
let workAddressId = getItemValue(0,0,"live_address_id");
|
||||
AsDialog.PopView("/Tenwa/Lease/Flow/Project/BusinessApplication/personAddress.jsp",
|
||||
'addressId='+workAddressId,
|
||||
"resizable=yes;dialogWidth=600px;dialogHeight=355px;center:yes;status:no;statusbar:no",
|
||||
function(result){
|
||||
if(result == "cancel"){
|
||||
return;
|
||||
}
|
||||
if(result !== ""){
|
||||
setItemValue(0,0,"live_address_id",result.split("@")[0]);
|
||||
setItemValue(0,0,"live_address_code",result.split("@")[1]);
|
||||
setItemValue(0,0,"workunit",result.split("@")[2]);
|
||||
}
|
||||
},
|
||||
(!workAddressId?"新增":"修改")+"居住地址");
|
||||
}
|
||||
|
||||
function setSexRead(){
|
||||
var certtye=getItemValue(0,getRow(0),"certtype");
|
||||
if("Ind01"==certtye){
|
||||
|
||||
@ -307,6 +307,7 @@
|
||||
$("#WORKCORP")[0].width = $("#WORKCORP").parent().parent().parent()[0].clientWidth/2+200;
|
||||
$("#WORKADD")[0].width = $("#WORKADD").parent().parent().parent()[0].clientWidth/2+200;
|
||||
$("#WORKADD").css("width",$("#WORKADD").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
|
||||
$("#WORKADD").attr("ReadOnly","true");
|
||||
$("#WORKTEL")[0].width = $("#WORKTEL").parent().parent().parent()[0].clientWidth/2+200;
|
||||
if("ReadOnly" != "<%=rightType%>"){
|
||||
checkDriver();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user