diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue index 99f6d71..b0177a0 100644 --- a/pages/myinformation/myinformation.vue +++ b/pages/myinformation/myinformation.vue @@ -5,17 +5,20 @@ 我的 --> - + + + - + {{appPersonallist.patientName}} 未签约 - + {{appPersonallist.phone}} @@ -374,17 +377,17 @@ } }, //修改信息 - updatainfo() { - const value = uni.getStorageSync('openid'); - const value2 = uni.getStorageSync('patientId'); - if (value && value2) { - uni.navigateTo({ - url: `/pagesB/modify/modify` - }) - } else { - this.gologin(); - } - }, + // updatainfo() { + // const value = uni.getStorageSync('openid'); + // const value2 = uni.getStorageSync('patientId'); + // if (value && value2) { + // uni.navigateTo({ + // url: `/pagesB/modify/modify` + // }) + // } else { + // this.gologin(); + // } + // }, // 专家咨询订单 expertOrder() { uni.navigateTo({ diff --git a/pagesB/modify/modify.vue b/pagesB/modify/modify.vue index 7c0470f..e3025eb 100644 --- a/pagesB/modify/modify.vue +++ b/pagesB/modify/modify.vue @@ -206,6 +206,7 @@ that.appPersonallist.sex = '女'; } that.appPersonallist = Response.data + that.value2=Response.data.diseaseList.map(String) Number(that.appPersonallist.homeLatitude) > 0 ? that.appPersonallist.homeLatitude = Number( that.appPersonallist.homeLatitude) : that.appPersonallist.homeLatitude = null Number(that.appPersonallist.homeLongitude) > 0 ? that.appPersonallist.homeLongitude = @@ -229,7 +230,6 @@ methods: { confirm(e) { this.appPersonallist.diseaseList = e.map(Number) - console.log(e) }, // 下拉框多选 selectChange(val) {