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