This commit is contained in:
2023-11-09 16:43:24 +08:00
parent 0497e4bd99
commit 3b08ea9b8d

View File

@ -10,7 +10,7 @@
</image> </image>
<image :src="baseurl+appPersonallist.headPictureUrl" mode="" class="headsculpture" @tap='updatainfo' v-else> <image :src="baseurl+appPersonallist.headPictureUrl" mode="" class="headsculpture" @tap='updatainfo' v-else>
</image> </image>
<view class="namesigning"> <view class="namesigning" @tap='updatainfo'>
<span class="name"> <span class="name">
{{appPersonallist.patientName?appPersonallist.patientName:'请先登录!'}} {{appPersonallist.patientName?appPersonallist.patientName:'请先登录!'}}
</span> </span>
@ -307,7 +307,7 @@
switchResident(value, e.patientCode).then(res => { switchResident(value, e.patientCode).then(res => {
uni.setStorageSync('userinfo', res.data); uni.setStorageSync('userinfo', res.data);
uni.setStorageSync('patientId', res.data.id); uni.setStorageSync('patientId', res.data.id);
this.userinfo =res.data this.userinfo = res.data
if (res.code == 200) { if (res.code == 200) {
this.$refs.uToast.show({ this.$refs.uToast.show({
title: '切换成功', title: '切换成功',