Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
2023-10-16 11:28:42 +08:00
commit 38117c873c
2 changed files with 18 additions and 15 deletions

View File

@ -5,17 +5,20 @@
我的 我的
</view> --> </view> -->
<image src="../../static/pages/userbanner.png" mode="" class="userbanner"></image> <image src="../../static/pages/userbanner.png" mode="" class="userbanner"></image>
<image :src="baseurl+appPersonallist.headPictureUrl" mode="" class="headsculpture" @tap='updatainfo'> <image src="/static/myinformation.png" mode="" class="headsculpture" @tap='updatainfo'
v-if="!appPersonallist.headPictureUrl">
</image>
<image :src="baseurl+appPersonallist.headPictureUrl" mode="" class="headsculpture" @tap='updatainfo' v-else>
</image> </image>
<view class="namesigning"> <view class="namesigning">
<span class="name"> <span class="name" v-if="appPersonallist.patientName">
{{appPersonallist.patientName}} {{appPersonallist.patientName}}
</span> </span>
<view class="signing"> <view class="signing">
未签约 未签约
</view> </view>
</view> </view>
<view class="phone"> <view class="phone" v-if="appPersonallist.phone">
{{appPersonallist.phone}} {{appPersonallist.phone}}
</view> </view>
<view class="switch btn"> <view class="switch btn">
@ -374,17 +377,17 @@
} }
}, },
// //
updatainfo() { // updatainfo() {
const value = uni.getStorageSync('openid'); // const value = uni.getStorageSync('openid');
const value2 = uni.getStorageSync('patientId'); // const value2 = uni.getStorageSync('patientId');
if (value && value2) { // if (value && value2) {
uni.navigateTo({ // uni.navigateTo({
url: `/pagesB/modify/modify` // url: `/pagesB/modify/modify`
}) // })
} else { // } else {
this.gologin(); // this.gologin();
} // }
}, // },
// //
expertOrder() { expertOrder() {
uni.navigateTo({ uni.navigateTo({

View File

@ -206,6 +206,7 @@
that.appPersonallist.sex = '女'; that.appPersonallist.sex = '女';
} }
that.appPersonallist = Response.data that.appPersonallist = Response.data
that.value2=Response.data.diseaseList.map(String)
Number(that.appPersonallist.homeLatitude) > 0 ? that.appPersonallist.homeLatitude = Number( Number(that.appPersonallist.homeLatitude) > 0 ? that.appPersonallist.homeLatitude = Number(
that.appPersonallist.homeLatitude) : that.appPersonallist.homeLatitude = null that.appPersonallist.homeLatitude) : that.appPersonallist.homeLatitude = null
Number(that.appPersonallist.homeLongitude) > 0 ? that.appPersonallist.homeLongitude = Number(that.appPersonallist.homeLongitude) > 0 ? that.appPersonallist.homeLongitude =
@ -229,7 +230,6 @@
methods: { methods: {
confirm(e) { confirm(e) {
this.appPersonallist.diseaseList = e.map(Number) this.appPersonallist.diseaseList = e.map(Number)
console.log(e)
}, },
// //
selectChange(val) { selectChange(val) {