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: "",
address: "",
areaCode: "",
homeLongitude: "",
homeLatitude: "",
homeLongitude: null,
homeLatitude: null,
nurseTypeIdList: [],
diseaseInfoList: [],
patientId: '',

View File

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