[FIX]家庭地址问题修改

This commit is contained in:
zhouna
2019-12-23 15:32:08 +08:00
parent f4d2ae3a35
commit 85722daf7c
2 changed files with 5 additions and 4 deletions

View File

@@ -464,7 +464,7 @@ export default {
},
homeNameInfo() {
let area = [{ code: this.userInfo.homeProvince }, { code: this.userInfo.homeCity }, { code: this.userInfo.homeArea }]
this.homeName = getAreaName(area, 'new')
this.homeName = getAreaName(area)
},
//弹框选择
toSelect(pickerType, valueKey) {

View File

@@ -628,7 +628,7 @@ export default {
this.userInfo.idType = '1'
//国家/地区
this.userInfo.nativeplace = '1'
if (this.$route.query.isShow) {
// if (this.$route.query.isShow) {
//户籍
if (insuredPersonInfo.householdProvince.length) {
this.census = getAreaName([{ code: insuredPersonInfo.householdProvince }, { code: insuredPersonInfo.householdCity }])
@@ -664,7 +664,7 @@ export default {
// { code: saleInsuredPersonInfo.homeCity },
// { code: saleInsuredPersonInfo.homeArea }
// ]) //家庭地址
}
// }
}
} else {
return this.$toast(res.resultMessage)
@@ -1310,6 +1310,7 @@ export default {
// let age = utilsAge.getAge(this.userInfo.birthday, new Date())
// this.userInfo.age = age
// localStorage.saleInsuredPersonInfo = JSON.stringify(this.userInfo)
localStorage.relationToAppnt = this.userInfo.relationToAppnt
localStorage.isFrom = 'sale'
//清理计时器
window.clearInterval(this.timeId)
@@ -1338,7 +1339,7 @@ export default {
// this.areaShow = false
// break
case '2': //家庭地址
this.homeName = getAreaName(area, 'new')
this.homeName = getAreaName(area)
;[this.userInfo.homeProvince, this.userInfo.homeCity, this.userInfo.homeArea] = [area[0].code, area[1].code, area[2].code]
this.homeShow = false
break