mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 10:16:43 +08:00
安全性问题处理:'saleInsuredPersonInfo' 加密处理 --提交人:阳华祥
This commit is contained in:
@@ -37,8 +37,8 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
//获取投保人信息
|
||||
if (localStorage.saleInsuredPersonInfo) {
|
||||
this.saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
if (this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) {
|
||||
this.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
|
||||
this.filterAddRisk()
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
let resultData
|
||||
let isProposal = localStorage.isFrom == 'proposal' ? true : false
|
||||
if (isProposal) {
|
||||
let saleInsuredPersonInfo = localStorage.saleInsuredPersonInfo && JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
let saleInsuredPersonInfo = this.$CacheUtils.getLocItem('saleInsuredPersonInfo') && JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
console.log(saleInsuredPersonInfo)
|
||||
|
||||
let insuredId
|
||||
|
||||
@@ -324,7 +324,7 @@ export default {
|
||||
relationToAppnt: person.relation,
|
||||
relationName: person.relationName
|
||||
}
|
||||
localStorage.saleInsuredPersonInfo = JSON.stringify(saleInsuredPersonInfo) //存储被保险人信息
|
||||
this.$CacheUtils.setLocItem('saleInsuredPersonInfo',SON.stringify(saleInsuredPersonInfo)) //存储被保险人信息
|
||||
localStorage.chooseProductCodes = '' //置空所选险种
|
||||
|
||||
this.$jump({
|
||||
@@ -341,7 +341,7 @@ export default {
|
||||
edit(item) {
|
||||
item.birthday = item.birthdayLabel
|
||||
item.age = item.insuredAge
|
||||
localStorage.saleInsuredPersonInfo = JSON.stringify(item) //存储被保险人信息
|
||||
this.$CacheUtils.setLocItem('saleInsuredPersonInfo',SON.stringify(item)) //存储被保险人信息
|
||||
localStorage.isFrom = 'proposal'
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
|
||||
@@ -146,7 +146,7 @@ export default {
|
||||
methods: {
|
||||
init() {
|
||||
window.appCallBack = this.appCallBack
|
||||
this.localInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
this.localInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
let { relationToAppnt, relationName } = this.localInfo
|
||||
this.insured.relationToAppnt = relationToAppnt
|
||||
this.insured.relationLabel = relationName
|
||||
@@ -266,7 +266,7 @@ export default {
|
||||
if (fromSelect) {
|
||||
//表示从产品列表返回
|
||||
//先进行比对 当前信息是否有更改 如果更改
|
||||
let locaInsured = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
let locaInsured = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
let { name, sex, birthday, occupationCode, medical } = this.insured
|
||||
if (
|
||||
locaInsured.name == name &&
|
||||
@@ -313,9 +313,9 @@ export default {
|
||||
mainPath() {
|
||||
localStorage.isFrom = 'proposal'
|
||||
let insuredInfo = {}
|
||||
let cacheInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
let cacheInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
insuredInfo = Object.assign(cacheInfo, this.insured)
|
||||
localStorage.saleInsuredPersonInfo = JSON.stringify(insuredInfo)
|
||||
this.$CacheUtils.setLocItem('saleInsuredPersonInfo',SON.stringify(insuredInfo))
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
|
||||
@@ -493,10 +493,10 @@ export default {
|
||||
let that = this
|
||||
|
||||
// 获取投被保险人是否同一个人
|
||||
if (localStorage.saleInsuredPersonInfo) {
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
if (this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) {
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
// 获取被保险人信息
|
||||
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
if (this.$CacheUtils.getLocItem('saleInsuredInfo')) {
|
||||
// 获取投保人信息
|
||||
|
||||
@@ -306,7 +306,7 @@ export default {
|
||||
// area: '',
|
||||
// city: '',
|
||||
// province: ''
|
||||
saleInsuredPersonInfo: JSON.parse(localStorage.saleInsuredPersonInfo) //被保人信息
|
||||
saleInsuredPersonInfo: JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) //被保人信息
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -500,8 +500,8 @@ export default {
|
||||
// ;[this.userInfo.relationToInsured, this.relationToAppnt] = [value.id, value.text]
|
||||
// // console.log(this.userInfo)
|
||||
// })
|
||||
// // console.log(JSON.parse(localStorage.saleInsuredPersonInfo))
|
||||
// // this.userInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
// // console.log(JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')))
|
||||
// // this.userInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
// // this.userInfo.bnfOrder = '1'
|
||||
// } else {
|
||||
this.isInsured = false
|
||||
@@ -656,7 +656,7 @@ export default {
|
||||
// if (this.insuredMarriage != '1') {
|
||||
// return this.$toast('与投保人关系不正确')
|
||||
// }
|
||||
// let insuredSex = JSON.parse(localStorage.saleInsuredPersonInfo).sex
|
||||
// let insuredSex = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).sex
|
||||
// let appntSex = JSON.parse(localStorage.saleInsuredInfo).sex
|
||||
// //投被保险人性别相同
|
||||
// if (insuredSex == appntSex) {
|
||||
@@ -700,7 +700,7 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
let insuredInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
let insuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
// 受益人与被保险人关系为父母时,受益人年龄必须大于被保险人年龄
|
||||
if (this.userInfo.relationToInsured == '3') {
|
||||
if (age < insuredInfo.age) {
|
||||
|
||||
@@ -417,10 +417,10 @@ export default {
|
||||
}
|
||||
let that = this
|
||||
// 投被保险人是否同人
|
||||
if (localStorage.saleInsuredPersonInfo) {
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
if (this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) {
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
// 获取被保险人信息
|
||||
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
// 获取订单号
|
||||
that.orderNo = window.localStorage.getItem('orderNo')
|
||||
|
||||
@@ -86,14 +86,14 @@ export default {
|
||||
// 获取投保人信息
|
||||
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
|
||||
if (this.isWeixin) {
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
}
|
||||
|
||||
if (this.detailJump != '1') {
|
||||
// 投被保险人是否同人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
// 获取被保险人信息
|
||||
// that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
// that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
// if (this.detailJump != '1') {
|
||||
// this.getOrderDetail()
|
||||
|
||||
@@ -72,7 +72,7 @@ export default {
|
||||
// '&saleInsuredPersonInfo=' +
|
||||
// localStorage.saleInsuredPersonInfo +
|
||||
// '&relationToAppnt=' +
|
||||
// JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
// JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
},
|
||||
routerInfo: {
|
||||
path:
|
||||
@@ -83,9 +83,9 @@ export default {
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
localStorage.saleInsuredPersonInfo +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
this.insuredPerson = JSON.parse(localStorage.saleInsuredPersonInfo).name
|
||||
this.insuredPerson = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name
|
||||
},
|
||||
mounted() {
|
||||
setTimeout(() => {
|
||||
@@ -168,7 +168,7 @@ export default {
|
||||
appntDTO: {},
|
||||
insuredDTOs: [
|
||||
{
|
||||
insuredId: JSON.parse(localStorage.saleInsuredPersonInfo).insuredId,
|
||||
insuredId: JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).insuredId,
|
||||
bnfDTOs: this.bnfFlag == '0' ? [] : this.beneficiaries
|
||||
}
|
||||
],
|
||||
|
||||
@@ -86,14 +86,14 @@ export default {
|
||||
// 获取投保人信息
|
||||
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
|
||||
if (this.isWeixin) {
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
}
|
||||
|
||||
if (this.detailJump != '1') {
|
||||
// 投被保险人是否同人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
// 获取被保险人信息
|
||||
// that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
// that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
// if (this.detailJump != '1') {
|
||||
// this.getOrderDetail()
|
||||
|
||||
@@ -286,9 +286,9 @@ export default {
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
localStorage.saleInsuredPersonInfo +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&signInvalid=' +
|
||||
sessionStorage.getItem('signInvalid') +
|
||||
'&airSign=1' +
|
||||
|
||||
@@ -87,14 +87,14 @@ export default {
|
||||
// 获取投保人信息
|
||||
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
|
||||
if (this.isWeixin) {
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
}
|
||||
|
||||
if (this.detailJump != '1') {
|
||||
// 投被保险人是否同人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
// 获取被保险人信息
|
||||
// that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
// that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
// if (this.detailJump != '1') {
|
||||
// this.getOrderDetail()
|
||||
|
||||
@@ -662,7 +662,7 @@ export default {
|
||||
}
|
||||
//是否长期
|
||||
this.userInfo.effectiveDateType = insuredPersonInfo.effectiveDateType == 'false' ? false : true
|
||||
// let saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
// let saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
// this.userInfo = saleInsuredPersonInfo
|
||||
// this.census = getAreaName([{ code: saleInsuredPersonInfo.householdProvince }, { code: saleInsuredPersonInfo.householdCity }]) //户籍
|
||||
// this.areaName = getAreaName([
|
||||
@@ -1464,11 +1464,11 @@ export default {
|
||||
// debugger
|
||||
let chooseProductCodes = localStorage.chooseProductCodesNew && JSON.parse(localStorage.chooseProductCodesNew)
|
||||
// if (chooseProductCodes && chooseProductCodes.length) {
|
||||
if (localStorage.saleInsuredPersonInfo) {
|
||||
if (this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) {
|
||||
//获取险种列表
|
||||
// let chooseProductCodes = JSON.parse(localStorage.chooseProductCodes)
|
||||
//取出local中的被保险人信息
|
||||
let saleInsuredPersonInfo = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
let saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
//如果 性别, 出生日期, 有无社保, 职业 发生变化
|
||||
console.log(this.userInfo, '这是userInfo')
|
||||
console.log(saleInsuredPersonInfo, '这是saleInsuredPersonInfo')
|
||||
|
||||
@@ -182,7 +182,7 @@ export default {
|
||||
this.relationToAppnt = res.orderDTO.insuredDTOs[0].relationToAppnt
|
||||
this.$utils.intLocalStorage(res)
|
||||
this.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
|
||||
this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
this.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
//如果返回参数存在曾经提交的告知信息,获取曾经提交的告知信息
|
||||
let insuredFinanceImpartDTO = res.orderDTO.appntDTO.financeImpartDTO //投保人财务告知集合
|
||||
let insuredImpartDTO = res.orderDTO.appntDTO.impartDTO //投保人健康告知集合
|
||||
|
||||
@@ -425,7 +425,7 @@ export default {
|
||||
|
||||
if (sessionStorage.shareCode == '1') {
|
||||
console.log('进来被保险人')
|
||||
this.tipsName = JSON.parse(localStorage.saleInsuredPersonInfo).name
|
||||
this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name
|
||||
} else {
|
||||
console.log('进来投保人')
|
||||
this.tipsName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo')).name
|
||||
@@ -476,7 +476,7 @@ export default {
|
||||
this.customerMobile = appntData.mobile
|
||||
this.encyCustomerMobile = this.customerMobile.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
|
||||
} else if ('insured' == this.operaFlag) {
|
||||
let insuredData = JSON.parse(localStorage.saleInsuredPersonInfo)
|
||||
let insuredData = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
data = {
|
||||
name: insuredData.name,
|
||||
idType: insuredData.idType,
|
||||
@@ -596,7 +596,7 @@ export default {
|
||||
} else {
|
||||
window.localStorage.setItem('sign-val', val)
|
||||
window.localStorage.setItem('sign-insured', JSON.stringify(that.insuredSign))
|
||||
if (JSON.parse(localStorage.saleInsuredPersonInfo).idType != '1' || JSON.parse(localStorage.saleInsuredPersonInfo).age < '18') {
|
||||
if (JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).idType != '1' || JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).age < '18') {
|
||||
// if (JSON.parse(this.$route.query.saleInsuredPersonInfo).idType != '1') {
|
||||
that.insuredUrl()
|
||||
} else {
|
||||
@@ -604,8 +604,8 @@ export default {
|
||||
// this.idcardData.typeface = !this.idcardData.typeface
|
||||
// this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredPersonInfo).name
|
||||
// this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredPersonInfo).idNo
|
||||
this.idcardData.realName = JSON.parse(localStorage.saleInsuredPersonInfo).name
|
||||
this.idcardData.idno = JSON.parse(localStorage.saleInsuredPersonInfo).idNo
|
||||
this.idcardData.realName = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).name
|
||||
this.idcardData.idno = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).idNo
|
||||
this.recognition()
|
||||
} else {
|
||||
this.operaFlag = 'insured'
|
||||
@@ -768,9 +768,9 @@ export default {
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
localStorage.saleInsuredPersonInfo +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&shareCode=' +
|
||||
code +
|
||||
'&signInvalid=' +
|
||||
@@ -793,9 +793,9 @@ export default {
|
||||
// '&saleInsuredInfo=' +
|
||||
// encodeURI(localStorage.saleInsuredInfo) +
|
||||
// '&saleInsuredPersonInfo=' +
|
||||
// encodeURI(localStorage.saleInsuredPersonInfo) +
|
||||
// encodeURI(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&shareCode=' +
|
||||
code +
|
||||
'&signInvalid=' +
|
||||
@@ -821,9 +821,9 @@ export default {
|
||||
// '&saleInsuredInfo=' +
|
||||
// encodeURI(localStorage.saleInsuredInfo) +
|
||||
// '&saleInsuredPersonInfo=' +
|
||||
// encodeURI(localStorage.saleInsuredPersonInfo) +
|
||||
// encodeURI(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&shareCode=' +
|
||||
code +
|
||||
'&signInvalid=' +
|
||||
@@ -1045,7 +1045,7 @@ export default {
|
||||
this.$toast.clear()
|
||||
this.$utils.intLocalStorage(res)
|
||||
// 获取被保险人信息recmd
|
||||
this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
this.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
// 获取投保人信息
|
||||
this.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
|
||||
this.relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt //将缓存中的与被保险人关系赋值给页面
|
||||
@@ -1303,11 +1303,11 @@ export default {
|
||||
showCancelButton: false
|
||||
}).then(() => {
|
||||
// 获取投被保险人是否同一个人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
})
|
||||
} else if (window.localStorage.getItem('jumpFromSign') == '1' || window.localStorage.getItem('attachmentShow') == '1') {
|
||||
// 获取投被保险人是否同一个人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
@@ -314,7 +314,7 @@ export default {
|
||||
}
|
||||
|
||||
this.$CacheUtils.setLocItem('saleInsuredInfo', this.$route.query.saleInsuredInfo)
|
||||
window.localStorage.setItem('saleInsuredPersonInfo', this.$route.query.saleInsuredPersonInfo)
|
||||
this.$CacheUtils.setLocItem('saleInsuredPersonInfo', this.$route.query.saleInsuredPersonInfo)
|
||||
window.localStorage.setItem('token', this.$route.query.token)
|
||||
window.localStorage.setItem('orderNo', this.$route.query.orderNo)
|
||||
window.localStorage.setItem('relationToAppnt', this.$route.query.relationToAppnt)
|
||||
@@ -602,9 +602,9 @@ export default {
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
localStorage.saleInsuredPersonInfo +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&shareCode=' +
|
||||
code +
|
||||
'&signInvalid=' +
|
||||
@@ -624,9 +624,9 @@ export default {
|
||||
'&saleInsuredInfo=' +
|
||||
encodeURI(this.$CacheUtils.getLocItem('saleInsuredInfo')) +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
encodeURI(localStorage.saleInsuredPersonInfo) +
|
||||
encodeURI(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&shareCode=' +
|
||||
code +
|
||||
'&signInvalid=' +
|
||||
@@ -752,7 +752,7 @@ export default {
|
||||
this.$toast.clear()
|
||||
this.$utils.intLocalStorage(res)
|
||||
// 获取被保险人信息recmd
|
||||
this.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
this.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
// 获取投保人信息
|
||||
this.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
|
||||
this.relationToAppnt = this.saleInsuredPersonInfo.relationToAppnt //将缓存中的与被保险人关系赋值给页面
|
||||
@@ -875,11 +875,11 @@ export default {
|
||||
showCancelButton: false
|
||||
}).then(() => {
|
||||
// 获取投被保险人是否同一个人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
})
|
||||
} else if (window.localStorage.getItem('jumpFromSign') == '1' || window.localStorage.getItem('attachmentShow') == '1') {
|
||||
// 获取投被保险人是否同一个人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
@@ -419,9 +419,9 @@ export default {
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
localStorage.saleInsuredPersonInfo +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow') +
|
||||
'&signInvalid=' +
|
||||
@@ -490,9 +490,9 @@ export default {
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
localStorage.saleInsuredPersonInfo +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow') +
|
||||
'&signInvalid=' +
|
||||
@@ -864,7 +864,7 @@ export default {
|
||||
if (this.isWeixin) {
|
||||
// 在微信且不是回执签收
|
||||
if (this.detailJump != '1') {
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
let imgBase64Data = sessionStorage.getItem('imgBase64Data')
|
||||
let wxSigned = sessionStorage.getItem('wxSigned')
|
||||
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
||||
@@ -941,9 +941,9 @@ export default {
|
||||
|
||||
if (this.detailJump != '1') {
|
||||
// 投被保险人是否同人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
// 获取被保险人信息
|
||||
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
this.timeOut()
|
||||
this.getOrderDetail()
|
||||
} else {
|
||||
|
||||
@@ -263,9 +263,9 @@ export default {
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
localStorage.saleInsuredPersonInfo +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow')
|
||||
}
|
||||
@@ -328,9 +328,9 @@ export default {
|
||||
'&saleInsuredInfo=' +
|
||||
this.$CacheUtils.getLocItem('saleInsuredInfo') +
|
||||
'&saleInsuredPersonInfo=' +
|
||||
localStorage.saleInsuredPersonInfo +
|
||||
this.$CacheUtils.getLocItem('saleInsuredPersonInfo') +
|
||||
'&relationToAppnt=' +
|
||||
JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt +
|
||||
'&attachmentShow=' +
|
||||
window.localStorage.getItem('attachmentShow')
|
||||
}
|
||||
@@ -535,14 +535,14 @@ export default {
|
||||
// 获取投保人信息
|
||||
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
|
||||
if (this.isWeixin) {
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
}
|
||||
|
||||
if (this.detailJump != '1') {
|
||||
// 投被保险人是否同人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
// 获取被保险人信息
|
||||
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
@@ -90,14 +90,14 @@ export default {
|
||||
// 获取投保人信息
|
||||
that.saleInsuredInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredInfo'))
|
||||
if (this.isWeixin) {
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
}
|
||||
|
||||
if (this.detailJump != '1') {
|
||||
// 投被保险人是否同人
|
||||
that.relationToAppnt = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
that.relationToAppnt = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).relationToAppnt
|
||||
// 获取被保险人信息
|
||||
that.saleInsuredPersonInfo = JSON.parse(window.localStorage.getItem('saleInsuredPersonInfo'))
|
||||
that.saleInsuredPersonInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
|
||||
}
|
||||
// if (this.detailJump != '1') {
|
||||
// this.getOrderDetail()
|
||||
|
||||
Reference in New Issue
Block a user