风控中台对接-正式表、历史表与临时表字段同步

This commit is contained in:
zhanglei 2023-08-30 13:18:38 +08:00
parent f465b3410f
commit e4a7cf5d18
9 changed files with 177 additions and 91 deletions

View File

@ -21,6 +21,7 @@
doTemp.setHtmlEvent("certtype","onChange", "setSexRead");
doTemp.setHtmlEvent("sex","onChange","checkSex");
doTemp.setHtmlEvent("certid","onChange","ValidityCheck");
doTemp.setHtmlEvent("IDEXPIRY_TYPE","onChange","changeIdexpiryType");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ
@ -61,7 +62,29 @@
$("#CERTID").css("color","red");
}
}
//页面初始化的时候,判断证件有效期类型,默认为短期
var idexpiry_type = getItemValue(0,0,"IDEXPIRY_TYPE");
if(idexpiry_type==""){
$("#IDEXPIRY_TYPE_0").prop("checked", "checked");
}
changeIdexpiryType();
});
function changeIdexpiryType(){
var idexpiry_type = getItemValue(0,0,"IDEXPIRY_TYPE");
if("1" == idexpiry_type){//短期
setItemReadOnly(0,0,"IDEXPIRY",false);
var idexpiry = getItemValue(0,0,"IDEXPIRY");
if("0000" == idexpiry){
setItemValue(0,0,"IDEXPIRY","");
}
}else {
setItemReadOnly(0,0,"IDEXPIRY",true);
setItemValue(0,0,"IDEXPIRY","0000");
}
}
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_"){

View File

@ -330,9 +330,10 @@
<attribute name="smincome" label="月收入" type="DOUBLE" length="22" scale="2" />
<attribute name="e_mail" label="电子邮箱" type="STRING" length="32" />
<attribute name="area_code" label="户籍行政区划编码" type="STRING" length="20" />
<attribute name="idexpiry_type" label="北财-证件有效期类型1短期2长期" type="STRING" length="32"/>
<attribute name="idexpiry" label="北财-承租人身份证有效期" type="STRING" length="32"/>
<attribute name="work_address_id" label="北财-承租人单位地址" type="STRING" length="32"/>
<attribute name="start_idexpiry" label="北财-有效期开始时间" type="STRING" length="32"/>
<attribute name="work_address_id" label="北财-承租人单位地址关联id" type="STRING" length="32"/>
<attribute name="monthly_expenses" label="北财-承租人月支出" type="STRING" length="32"/>
<attribute name="pre_operate_car_type" label="北财-承租人过去曾运营车辆类型" type="STRING" length="32"/>
<attribute name="pre_operate_car_no" label="北财-承租人过去曾运营车辆车牌号" type="STRING" length="32"/>
@ -2437,8 +2438,9 @@
<attribute name="spnumber" label="手机号——配偶" type="STRING" length="32"/>
<attribute name="smincome" label="月收入——配偶" type="DOUBLE" length="22" scale="2"/>
<attribute name="e_mail" label="电子邮箱" type="STRING" length="32" />
<attribute name="idexpiry_type" label="北财-证件有效期类型1短期2长期" type="STRING" length="32"/>
<attribute name="idexpiry" label="北财-承租人身份证有效期" type="STRING" length="32"/>
<attribute name="start_idexpiry" label="北财-有效期开始时间" type="STRING" length="32"/>
<attribute name="work_address_id" label="北财-承租人单位地址关联id" type="STRING" length="32"/>
<attribute name="monthly_expenses" label="北财-承租人月支出" type="STRING" length="32"/>
<attribute name="pre_operate_car_type" label="北财-承租人过去曾运营车辆类型" type="STRING" length="32"/>
@ -2546,8 +2548,9 @@
<attribute name="sposition" label="职位—配偶" type="STRING" length="32"/>
<attribute name="spnumber" label="手机号——配偶" type="STRING" length="32"/>
<attribute name="smincome" label="月收入——配偶" type="DOUBLE" length="22" scale="2"/>
<attribute name="idexpiry_type" label="北财-证件有效期类型1短期2长期" type="STRING" length="32"/>
<attribute name="idexpiry" label="北财-承租人身份证有效期" type="STRING" length="32"/>
<attribute name="start_idexpiry" label="北财-有效期开始时间" type="STRING" length="32"/>
<attribute name="work_address_id" label="北财-承租人单位地址关联id" type="STRING" length="32"/>
<attribute name="monthly_expenses" label="北财-承租人月支出" type="STRING" length="32"/>
<attribute name="pre_operate_car_type" label="北财-承租人过去曾运营车辆类型" type="STRING" length="32"/>

View File

@ -4096,23 +4096,23 @@
<attribute name="idexpiry" label="北财-担保人身份证有效期" type="STRING" length="32"/>
<attribute name="nation" label="北财-担保人民族" type="STRING" length="32"/>
<attribute name="education_level" label="北财-最高学历" type="STRING" length="32"/>
<attribute name="work_address" label="北财-担保人单位地址" type="STRING" length="500"/>
<attribute name="live_address" label="北财-担保人居住地址" type="STRING" length="500"/>
<attribute name="id_address" label="北财-担保人户籍地址" type="STRING" length="500"/>
<attribute name="enterprise_nature" label="北财-担保人企业性质" type="STRING" length="32"/>
<attribute name="industry_type" label="北财-担保人行业类型" type="STRING" length="32"/>
<attribute name="career_type" label="北财-担保人职业类型" type="STRING" length="32"/>
<attribute name="position" label="北财-担保人职位" type="STRING" length="32"/>
<attribute name="monthly_income" label="北财-担保人月收入" type="STRING" length="32"/>
<attribute name="monthly_expenses" label="北财-担保人月支出" type="STRING" length="32"/>
<attribute name="duties_type" label="北财-担保人职务" type="STRING" length="32"/>
<attribute name="work_address_code" label="北财-担保人单位地址编码" type="STRING" length="32"/>
<attribute name="work_address_id" label="北财-担保人单位地址关联id" type="STRING" length="32"/>
<attribute name="live_address_code" label="北财-担保人居住地址编码" type="STRING" length="32"/>
<attribute name="live_address_id" label="北财-担保人居住地址关联id" type="STRING" length="32"/>
<attribute name="id_address_code" label="北财-担保人户籍地址编码" type="STRING" length="32"/>
<attribute name="id_address_id" label="北财-担保人户籍地址关联id" type="STRING" length="32"/>
<attribute name="residential_status" label="北财-担保人居住状况" type="STRING" length="32"/>
<attribute name="childrens_number" label="北财-子女数量" type="STRING" length="32"/>
<attribute name="birthday" label="北财-出生日期" type="STRING" length="32"/>
<attribute name="legal_representative" label="北财-担保人为企业时的法定代表人信息" type="STRING" length="32"/>
<attribute name="start_idexpiry" label="北财-担保人有效期开始时间" type="STRING" length="32"/>
<attribute name="idexpiry_type" label="北财-证件有效期类型1短期2长期" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -4160,23 +4160,23 @@
<attribute name="idexpiry" label="北财-担保人身份证有效期" type="STRING" length="32"/>
<attribute name="nation" label="北财-担保人民族" type="STRING" length="32"/>
<attribute name="education_level" label="北财-最高学历" type="STRING" length="32"/>
<attribute name="work_address" label="北财-担保人单位地址" type="STRING" length="500"/>
<attribute name="live_address" label="北财-担保人居住地址" type="STRING" length="500"/>
<attribute name="id_address" label="北财-担保人户籍地址" type="STRING" length="500"/>
<attribute name="enterprise_nature" label="北财-担保人企业性质" type="STRING" length="32"/>
<attribute name="industry_type" label="北财-担保人行业类型" type="STRING" length="32"/>
<attribute name="career_type" label="北财-担保人职业类型" type="STRING" length="32"/>
<attribute name="position" label="北财-担保人职位" type="STRING" length="32"/>
<attribute name="monthly_income" label="北财-担保人月收入" type="STRING" length="32"/>
<attribute name="monthly_expenses" label="北财-担保人月支出" type="STRING" length="32"/>
<attribute name="duties_type" label="北财-担保人职务" type="STRING" length="32"/>
<attribute name="work_address_code" label="北财-担保人单位地址编码" type="STRING" length="32"/>
<attribute name="work_address_id" label="北财-担保人单位地址关联id" type="STRING" length="32"/>
<attribute name="live_address_code" label="北财-担保人居住地址编码" type="STRING" length="32"/>
<attribute name="live_address_id" label="北财-担保人居住地址关联id" type="STRING" length="32"/>
<attribute name="id_address_code" label="北财-担保人户籍地址编码" type="STRING" length="32"/>
<attribute name="id_address_id" label="北财-担保人户籍地址关联id" type="STRING" length="32"/>
<attribute name="residential_status" label="北财-担保人居住状况" type="STRING" length="32"/>
<attribute name="childrens_number" label="北财-子女数量" type="STRING" length="32"/>
<attribute name="birthday" label="北财-出生日期" type="STRING" length="32"/>
<attribute name="legal_representative" label="北财-担保人为企业时的法定代表人信息" type="STRING" length="32"/>
<attribute name="start_idexpiry" label="北财-担保人有效期开始时间" type="STRING" length="32"/>
<attribute name="idexpiry_type" label="北财-证件有效期类型1短期2长期" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>

View File

@ -15,12 +15,39 @@ public interface CUSTOMER_FAMILY{
public static final String CLASS_NAME = "jbo.app.tenwa.customer.CUSTOMER_FAMILY";
// 20230817 北财风控中台对接-共同申请人新增字段
// 20230817 北财风控中台对接-共同申请人出生日期
/**
* start_idexpiry 北财-证件有效期类型1短期2长期 STRING(32)<br>
*/
public static final String idexpiry_type = "idexpiry_type";
/**
* 共同申请人职务 STRING(32)<br>
* start_idexpiry 有效期开始时间 STRING(32)<br>
*/
public static final String duties_type = "duties_type";
public static final String start_idexpiry = "start_idexpiry";
/**
* 出生日期 STRING(32)<br>
*/
public static final String birthday = "birthday";
/**
* 子女数量 STRING(32)<br>
*/
public static final String childrens_number = "childrens_number";
/**
* 共同申请人婚姻状况 STRING(32)<br>
*/
public static final String marry_type = "marry_type";
/**
* 共同申请人居住状况 STRING(32)<br>
*/
public static final String residential_status = "residential_status";
/**
* 共同申请人单位地址关联id STRING(32)<br>
@ -74,10 +101,6 @@ public interface CUSTOMER_FAMILY{
*/
public static final String work_address = "work_address";
/**
* 共同申请人居住地址 STRING(500)<br>
*/
public static final String live_address = "live_address";
/**
* 共同申请人户籍地址 STRING(500)<br>
@ -99,16 +122,6 @@ public interface CUSTOMER_FAMILY{
*/
public static final String career_type = "career_type";
/**
* 共同申请人职位 STRING(32)<br>
*/
public static final String position = "position";
/**
* 共同申请人月收入 STRING(32)<br>
*/
public static final String monthly_income = "monthly_income";
/**
* 共同申请人月支出 STRING(32)<br>
*/

View File

@ -14,12 +14,39 @@ public interface CUSTOMER_FAMILY_HIS{
*/
public static final String CLASS_NAME = "jbo.app.tenwa.customer.CUSTOMER_FAMILY_HIS";
// 20230817 北财风控中台对接-共同申请人新增字段
// 20230817 北财风控中台对接-共同申请人出生日期
/**
* start_idexpiry 北财-证件有效期类型1短期2长期 STRING(32)<br>
*/
public static final String idexpiry_type = "idexpiry_type";
/**
* 共同申请人职务 STRING(32)<br>
* start_idexpiry 有效期开始时间 STRING(32)<br>
*/
public static final String duties_type = "duties_type";
public static final String start_idexpiry = "start_idexpiry";
/**
* 出生日期 STRING(32)<br>
*/
public static final String birthday = "birthday";
/**
* 子女数量 STRING(32)<br>
*/
public static final String childrens_number = "childrens_number";
/**
* 共同申请人婚姻状况 STRING(32)<br>
*/
public static final String marry_type = "marry_type";
/**
* 共同申请人居住状况 STRING(32)<br>
*/
public static final String residential_status = "residential_status";
/**
* 共同申请人单位地址关联id STRING(32)<br>
@ -73,10 +100,6 @@ public interface CUSTOMER_FAMILY_HIS{
*/
public static final String work_address = "work_address";
/**
* 共同申请人居住地址 STRING(500)<br>
*/
public static final String live_address = "live_address";
/**
* 共同申请人户籍地址 STRING(500)<br>
@ -98,22 +121,11 @@ public interface CUSTOMER_FAMILY_HIS{
*/
public static final String career_type = "career_type";
/**
* 共同申请人职位 STRING(32)<br>
*/
public static final String position = "position";
/**
* 共同申请人月收入 STRING(32)<br>
*/
public static final String monthly_income = "monthly_income";
/**
* 共同申请人月支出 STRING(32)<br>
*/
public static final String monthly_expenses = "monthly_expenses";
// 20230809 北财风控中台对接-共同申请人新增字段
/**
* 标识 STRING(32)<br>
*/

View File

@ -16,6 +16,16 @@ public interface CUSTOMER_PERSON{
// 20230809 北财风控中台对接-承租人新增字段
/**
* start_idexpiry 北财-证件有效期类型1短期2长期 STRING(32)<br>
*/
public static final String idexpiry_type = "idexpiry_type";
/**
* start_idexpiry 有效期开始时间 STRING(32)<br>
*/
public static final String start_idexpiry = "start_idexpiry";
/**
* 承租人身份证有效期 STRING(32)<br>
*/

View File

@ -15,6 +15,16 @@ public interface CUSTOMER_PERSON_HIS{
public static final String CLASS_NAME = "jbo.app.tenwa.customer.CUSTOMER_PERSON_HIS";
// 20230809 北财风控中台对接-承租人新增字段
/**
* start_idexpiry 北财-证件有效期类型1短期2长期 STRING(32)<br>
*/
public static final String idexpiry_type = "idexpiry_type";
/**
* start_idexpiry 有效期开始时间 STRING(32)<br>
*/
public static final String start_idexpiry = "start_idexpiry";
/**
* 承租人身份证有效期 STRING(32)<br>
*/

View File

@ -16,6 +16,33 @@ public interface LB_GUARANTEE_UNIT{
// 20230817 北财风控中台对接-担保人新增字段
/**
* start_idexpiry 北财-证件有效期类型1短期2长期 STRING(32)<br>
*/
public static final String idexpiry_type = "idexpiry_type";
/**
* start_idexpiry 有效期开始时间 STRING(32)<br>
*/
public static final String start_idexpiry = "start_idexpiry";
/**
* 担保人为企业时的法定代表人信息 STRING(32)<br>
*/
public static final String legal_representative = "legal_representative";
/**
* 出生日期 STRING(32)<br>
*/
public static final String birthday = "birthday";
/**
* 子女数量 STRING(32)<br>
*/
public static final String childrens_number = "childrens_number";
/**
* 担保人居住状况 STRING(32)<br>
*/
public static final String residential_status = "residential_status";
/**
* 担保人职务 STRING(32)<br>
*/
@ -68,16 +95,6 @@ public interface LB_GUARANTEE_UNIT{
*/
public static final String education_level = "education_level";
/**
* 担保人单位地址 STRING(32)<br>
*/
public static final String work_address = "work_address";
/**
* 担保人居住地址 STRING(32)<br>
*/
public static final String live_address = "live_address";
/**
* 担保人户籍地址 STRING(32)<br>
*/
@ -98,21 +115,12 @@ public interface LB_GUARANTEE_UNIT{
*/
public static final String career_type = "career_type";
/**
* 担保人职位 STRING(32)<br>
*/
public static final String position = "position";
/**
* 担保人月收入 STRING(32)<br>
*/
public static final String monthly_income = "monthly_income";
/**
* 担保人月支出 STRING(32)<br>
*/
public static final String monthly_expenses = "monthly_expenses";
// 20230809 北财风控中台对接-担保人新增字段
/**
* 标识 STRING(32)<br>
*/

View File

@ -16,6 +16,33 @@ public interface LB_GUARANTEE_UNIT_HIS{
// 20230817 北财风控中台对接-担保人新增字段
/**
* start_idexpiry 北财-证件有效期类型1短期2长期 STRING(32)<br>
*/
public static final String idexpiry_type = "idexpiry_type";
/**
* start_idexpiry 有效期开始时间 STRING(32)<br>
*/
public static final String start_idexpiry = "start_idexpiry";
/**
* 担保人为企业时的法定代表人信息 STRING(32)<br>
*/
public static final String legal_representative = "legal_representative";
/**
* 出生日期 STRING(32)<br>
*/
public static final String birthday = "birthday";
/**
* 子女数量 STRING(32)<br>
*/
public static final String childrens_number = "childrens_number";
/**
* 担保人居住状况 STRING(32)<br>
*/
public static final String residential_status = "residential_status";
/**
* 担保人职务 STRING(32)<br>
*/
@ -68,16 +95,6 @@ public interface LB_GUARANTEE_UNIT_HIS{
*/
public static final String education_level = "education_level";
/**
* 担保人单位地址 STRING(32)<br>
*/
public static final String work_address = "work_address";
/**
* 担保人居住地址 STRING(32)<br>
*/
public static final String live_address = "live_address";
/**
* 担保人户籍地址 STRING(32)<br>
*/
@ -98,16 +115,6 @@ public interface LB_GUARANTEE_UNIT_HIS{
*/
public static final String career_type = "career_type";
/**
* 担保人职位 STRING(32)<br>
*/
public static final String position = "position";
/**
* 担保人月收入 STRING(32)<br>
*/
public static final String monthly_income = "monthly_income";
/**
* 担保人月支出 STRING(32)<br>
*/