安全性问题处理:'saleInsuredPersonInfo' 加密处理 --提交人:阳华祥

This commit is contained in:
yang.huaxiang
2020-10-27 11:36:47 +08:00
parent 5c37289252
commit ea3ec50d77
21 changed files with 83 additions and 83 deletions

View File

@@ -407,8 +407,8 @@ export default {
this.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
}
//获取被保险人信息
if (localStorage.saleInsuredPersonInfo) {
this.saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
if (this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) {
this.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
}
//构建提交数据、渲染险种
this.chooseProducts = JSON.parse(localStorage.chooseProducts)
@@ -1324,7 +1324,7 @@ export default {
occupationName,
platformType: 'app',
productCode: item.productCode,
medical: JSON.parse(localStorage.getItem('saleInsuredPersonInfo')).medical
medical: JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).medical
})
params.trialInfos.push(trialInfo)
})
@@ -1647,7 +1647,7 @@ export default {
//建议书
if (localStorage.isFrom == 'proposal' && resultData.content.id) {
this.saleInsuredPersonInfo.insuredId = resultData.content.id
localStorage.saleInsuredPersonInfo = JSON.stringify(this.saleInsuredPersonInfo)
this.$CacheUtils.setLocItem('saleInsuredPersonInfo',SON.stringify(this.saleInsuredPersonInfo))
}
this.$jump({
flag: 'goBack',