mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 18:56:43 +08:00
[FIX]家庭地址问题修改
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user