JSON拼写问题修改

This commit is contained in:
mengxiaolong
2020-10-29 16:54:46 +08:00
parent 406e21c4d4
commit 7043904b6c
3 changed files with 5 additions and 5 deletions

View File

@@ -1647,7 +1647,7 @@ export default {
//建议书 //建议书
if (localStorage.isFrom == 'proposal' && resultData.content.id) { if (localStorage.isFrom == 'proposal' && resultData.content.id) {
this.saleInsuredPersonInfo.insuredId = resultData.content.id this.saleInsuredPersonInfo.insuredId = resultData.content.id
this.$CacheUtils.setLocItem('saleInsuredPersonInfo',SON.stringify(this.saleInsuredPersonInfo)) this.$CacheUtils.setLocItem('saleInsuredPersonInfo', JSON.stringify(this.saleInsuredPersonInfo))
} }
this.$jump({ this.$jump({
flag: 'goBack', flag: 'goBack',

View File

@@ -116,7 +116,7 @@ export default {
if (res.result == '0') { if (res.result == '0') {
this.chooseList = res.content[0].insuredDTOs this.chooseList = res.content[0].insuredDTOs
console.log(res.content[0].appntDTO, 'zzz') console.log(res.content[0].appntDTO, 'zzz')
this.$CacheUtils.setLocItem("proposalAppnt",JSON.stringify(res.content[0].appntDTO)) this.$CacheUtils.setLocItem('proposalAppnt', JSON.stringify(res.content[0].appntDTO))
this.proposalInfo = res.content[0] this.proposalInfo = res.content[0]
if (this.chooseList != null) { if (this.chooseList != null) {
this.chooseList.forEach(v => { this.chooseList.forEach(v => {
@@ -324,7 +324,7 @@ export default {
relationToAppnt: person.relation, relationToAppnt: person.relation,
relationName: person.relationName relationName: person.relationName
} }
this.$CacheUtils.setLocItem('saleInsuredPersonInfo',SON.stringify(saleInsuredPersonInfo)) //存储被保险人信息 this.$CacheUtils.setLocItem('saleInsuredPersonInfo', JSON.stringify(saleInsuredPersonInfo)) //存储被保险人信息
localStorage.chooseProductCodes = '' //置空所选险种 localStorage.chooseProductCodes = '' //置空所选险种
this.$jump({ this.$jump({
@@ -341,7 +341,7 @@ export default {
edit(item) { edit(item) {
item.birthday = item.birthdayLabel item.birthday = item.birthdayLabel
item.age = item.insuredAge item.age = item.insuredAge
this.$CacheUtils.setLocItem('saleInsuredPersonInfo',SON.stringify(item)) //存储被保险人信息 this.$CacheUtils.setLocItem('saleInsuredPersonInfo', JSON.stringify(item)) //存储被保险人信息
localStorage.isFrom = 'proposal' localStorage.isFrom = 'proposal'
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',

View File

@@ -315,7 +315,7 @@ export default {
let insuredInfo = {} let insuredInfo = {}
let cacheInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')) let cacheInfo = JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo'))
insuredInfo = Object.assign(cacheInfo, this.insured) insuredInfo = Object.assign(cacheInfo, this.insured)
this.$CacheUtils.setLocItem('saleInsuredPersonInfo',SON.stringify(insuredInfo)) this.$CacheUtils.setLocItem('saleInsuredPersonInfo', JSON.stringify(insuredInfo))
this.$jump({ this.$jump({
flag: 'h5', flag: 'h5',
extra: { extra: {