This commit is contained in:
曹辉 2023-05-26 11:13:16 +08:00
parent 004c76d8b4
commit 21fba24988
2 changed files with 8 additions and 6 deletions

View File

@ -155,8 +155,8 @@
phone: "", phone: "",
address: "", address: "",
areaCode: "", areaCode: "",
homeLongitude: "", homeLongitude: null,
homeLatitude: "", homeLatitude: null,
nurseTypeIdList: [], nurseTypeIdList: [],
diseaseInfoList: [], diseaseInfoList: [],
patientId: '', patientId: '',

View File

@ -160,8 +160,8 @@
phone: "", phone: "",
address: "", address: "",
areaCode: "", areaCode: "",
homeLongitude: "", homeLongitude: null,
homeLatitude: "", homeLatitude: null,
nurseTypeIdList: [], nurseTypeIdList: [],
diseaseInfoList: [], diseaseInfoList: [],
headPictureUrl: '', headPictureUrl: '',
@ -182,8 +182,10 @@
appPersonal(value).then(Response => { appPersonal(value).then(Response => {
if (Response.code == 200) { if (Response.code == 200) {
that.appPersonallist = Response.data that.appPersonallist = Response.data
that.appPersonallist.homeLatitude = Number(that.appPersonallist.homeLatitude) that.appPersonallist.homeLatitude ? that.appPersonallist.homeLatitude = Number(that
that.appPersonallist.homeLongitude = Number(that.appPersonallist.homeLongitude) .appPersonallist.homeLatitude) : that.appPersonallist.homeLatitude = null
that.appPersonallist.homeLongitude ? that.appPersonallist.homeLongitude = Number(that
.appPersonallist.homeLongitude) : that.appPersonallist.homeLongitude = null
if (that.appPersonallist.headPictureUrl) { if (that.appPersonallist.headPictureUrl) {
that.img = baseurl + that.appPersonallist.headPictureUrl that.img = baseurl + that.appPersonallist.headPictureUrl
} }