mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 01:36:43 +08:00
[FIX]健告与家庭地址连动修改
This commit is contained in:
@@ -460,11 +460,11 @@ export default {
|
||||
},
|
||||
areaNameInfo() {
|
||||
let area = [{ code: this.userInfo.companyProvince }, { code: this.userInfo.companyCity }, { code: this.userInfo.companyArea }]
|
||||
this.areaName = getAreaName(area, 'customer')
|
||||
this.areaName = getAreaName(area)
|
||||
},
|
||||
homeNameInfo() {
|
||||
let area = [{ code: this.userInfo.homeProvince }, { code: this.userInfo.homeCity }, { code: this.userInfo.homeArea }]
|
||||
this.homeName = getAreaName(area)
|
||||
this.homeName = getAreaName(area, 'new')
|
||||
},
|
||||
//弹框选择
|
||||
toSelect(pickerType, valueKey) {
|
||||
@@ -543,12 +543,12 @@ export default {
|
||||
sureArea(area, type) {
|
||||
switch (type) {
|
||||
case '1': //单位地址
|
||||
this.areaName = getAreaName(area, 'customer')
|
||||
this.areaName = getAreaName(area)
|
||||
;[this.userInfo.companyProvince, this.userInfo.companyCity, this.userInfo.companyArea] = [area[0].code, area[1].code, area[2].code]
|
||||
this.areaShow = false
|
||||
break
|
||||
case '2': //家庭地址
|
||||
this.homeName = getAreaName(area)
|
||||
this.homeName = getAreaName(area, 'new')
|
||||
;[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