mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 14:52:53 +08:00
安全性问题处理:'proposalAppnt' 加密处理 --提交人:阳华祥
This commit is contained in:
@@ -116,7 +116,7 @@ export default {
|
||||
if (res.result == '0') {
|
||||
this.chooseList = res.content[0].insuredDTOs
|
||||
console.log(res.content[0].appntDTO, 'zzz')
|
||||
localStorage.proposalAppnt = JSON.stringify(res.content[0].appntDTO)
|
||||
this.$CacheUtils.setLocItem("proposalAppnt",JSON.stringify(res.content[0].appntDTO))
|
||||
this.proposalInfo = res.content[0]
|
||||
if (this.chooseList != null) {
|
||||
this.chooseList.forEach(v => {
|
||||
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
if (this.insured.relationToAppnt == '1') {
|
||||
//如果是投被同人 就将投保人信息存入被保险人信息
|
||||
this.disabled = true
|
||||
this.insured = Object.assign(this.insured, JSON.parse(localStorage.proposalAppnt))
|
||||
this.insured = Object.assign(this.insured, JSON.parse(this.$CacheUtils.getLocItem('proposalAppnt')))
|
||||
this.insured.age = getAge.getAge(this.insured.birthday, new Date())
|
||||
this.insured.medical = localStorage.orderNoSocialSecurity === '1' ? '1' : '0'
|
||||
}
|
||||
@@ -237,7 +237,7 @@ export default {
|
||||
//localStorage.setItem('proposalMedical', this.insured.medical == '0' ? '1' : '0')
|
||||
localStorage.proposalMedical = this.insured.medical == '0' ? '1' : '0'
|
||||
this.insured.age = String(this.insured.age)
|
||||
let cacheSex = JSON.parse(localStorage.proposalAppnt).sex
|
||||
let cacheSex = JSON.parse(this.$CacheUtils.getLocItem('proposalAppnt')).sex
|
||||
let localSex = this.insured.sex
|
||||
let relation = this.localInfo.relationToAppnt
|
||||
let resultSex = checkSex(cacheSex, localSex, relation)
|
||||
|
||||
Reference in New Issue
Block a user