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) {
this.saleInsuredPersonInfo.insuredId = resultData.content.id
this.$CacheUtils.setLocItem('saleInsuredPersonInfo',SON.stringify(this.saleInsuredPersonInfo))
this.$CacheUtils.setLocItem('saleInsuredPersonInfo', JSON.stringify(this.saleInsuredPersonInfo))
}
this.$jump({
flag: 'goBack',

View File

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

View File

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