【fix】 为安行无忧配置附加险的交费期间校验配置

This commit is contained in:
tian.guangyuan
2020-05-20 10:51:06 +08:00
parent fef2a5f44b
commit 3642433b5a

View File

@@ -573,6 +573,17 @@ export default {
let initFn = new Function('that', config.initBody.join('')) let initFn = new Function('that', config.initBody.join(''))
initFn(this) initFn(this)
} }
if(config.otherRisk){
for(let item of config.otherRisk){
if(!ruleExpression[item] || !ruleExpression[item].eventList){
ruleExpression[item] = {
eventList : [config.eventName]
}
}else{
ruleExpression[item].eventList.push(config.eventName)
}
}
}
rules.eventList.push(config.eventName) rules.eventList.push(config.eventName)
}) })
}) })