mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 03:26:45 +08:00
fix(saleFlowProImprove): 修复受益人信息页面证书有效期计算逻辑
- 将 getStartDate 方法的参数从年龄调整为生日日期 - 优化开发环境下缓存键的配置逻辑 - 修复生产环境中缓存键数组的条件判断问题
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
export default {
|
||||
isAll: false,
|
||||
encodeKeys: [
|
||||
'saleInsuredInfo',
|
||||
'saleInsuredPersonInfo',
|
||||
'appntDTO',
|
||||
'proposalAppnt'
|
||||
]
|
||||
encodeKeys: process.env.NODE_ENV === 'development' ? [] : ['saleInsuredInfo', 'saleInsuredPersonInfo', 'appntDTO', 'proposalAppnt']
|
||||
}
|
||||
|
||||
@@ -722,7 +722,7 @@ export default {
|
||||
//获取年龄
|
||||
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||
if (this.userInfo.birthday) {
|
||||
this.userInfo.certificateValidate = countCredentialValidity.getStartDate(age, val)
|
||||
this.userInfo.certificateValidate = countCredentialValidity.getStartDate(this.userInfo.birthday, val)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user