From b248de305a645be033ff8afb7df9dbe371a3e8af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com>
Date: Mon, 16 Oct 2023 11:23:57 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/myinformation/myinformation.vue | 31 +++++++++++++++------------
pagesB/modify/modify.vue | 2 +-
2 files changed, 18 insertions(+), 15 deletions(-)
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) {