风控中台对接-职务、关系获取方式调整

This commit is contained in:
zhanglei 2023-08-23 17:36:44 +08:00
parent 55252189db
commit 9e79084c7f
4 changed files with 76 additions and 7 deletions

View File

@ -47,9 +47,6 @@
%><%@ 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);
@ -69,7 +66,24 @@
$("#WORKADD").css("width",$("#WORKADD").parent().parent().parent().parent()[0].clientWidth/2+200+"px");
$("#WORKADD").attr("ReadOnly","true");
});
function selectPersonContacts(){
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,personContact","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn || sReturn == "_CANCEL_"){
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"ASSURE_RELATION",sReturn[1]);
},"请选择与承租人关系");
}
function selectDuties(){
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,duties","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn || sReturn == "_CANCEL_"){
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"TITLE",sReturn[1]);
},"请选择职务");
}
// 风控中台对接相关代码 单位地址
function selectWorkAddress(){
let workAddressId = getItemValue(0,0,"work_address_id");

View File

@ -93,7 +93,25 @@
if("Ind01"==certType){
setItemReadOnly(0,0,"SEX",true);
}
})
});
function selectDuties(){
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,duties","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn || sReturn == "_CANCEL_"){
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"SPOSITION",sReturn[1]);
},"请选择职务");
}
function selectPersonContacts(){
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,personContact","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn || sReturn == "_CANCEL_"){
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"ASSURE_RELATION",sReturn[1]);
},"请选择与承租人关系");
}
function setSexRead(){
var certtye=getItemValue(0,getRow(0),"certtype");
if("Ind01"==certtye){

View File

@ -62,7 +62,15 @@
}
}
});
function selectDuties(){
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,duties","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn || sReturn == "_CANCEL_"){
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"SPOSITION",sReturn[1]);
},"ÇëÑ¡ÔñÖ°Îñ");
}
// 风控中台对接相关代码 单位地址
function selectWorkAddress(){
let workAddressId = getItemValue(0,0,"work_address_id");

View File

@ -72,11 +72,40 @@
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function selectPersonContacts(){
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,personContact","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn || sReturn == "_CANCEL_"){
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"EMPLOYRECORD",sReturn[1]);
},"请选择与承租人关系");
}
function selectPersonContacts2(){
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,personContact","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn || sReturn == "_CANCEL_"){
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"EDUDEGREE",sReturn[1]);
},"请选择与承租人关系");
}
function selectDuties(){
AsDialog.OpenSelector("codeLibraryListByCodeNo","codeno,duties","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn || sReturn == "_CANCEL_"){
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"OCCUPATION",sReturn[1]);
},"请选择职务");
}
function select(){
//修改此选择对话框时,注意下面数组的位置,请与之对应.
var projectId = "<%=projectId%>";
AsDialog.OpenSelector("selectAFFILIATEDNAME","projectId,"+projectId,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
if(!sReturn ||sReturn=="_CANCEL_" ||sReturn=="_NONE_"){
return;
}
var value = sReturn.split("@");