fix:注意事项图片;个人资料保存传参

This commit is contained in:
2024-01-31 22:58:43 +08:00
parent e763f707cc
commit b40bc7deba
2 changed files with 16 additions and 8 deletions

View File

@@ -123,7 +123,8 @@
nickname: userinfo.value.nickname,
// avatar: '',
phone: userinfo.value.phone,
hospitalId:choosed_h.value?.ID
// hospitalId:choosed_h.value?.ID
hospitalId:hospitals.value[h_index.value].ID
}
const res = await api.userinfoUpdae(obj)
// console.log('res is ',res)
@@ -169,8 +170,8 @@
function bindPickerChange(e) {
console.log(hospitals.value )
h_index.value = e.detail.value
}
</script>
}
</script>
<template>
<view class="userInfoBox page-box page-bg-gray">
<view class="avatar-box">
@@ -250,8 +251,8 @@
</view>
</uni-popup>
<view class="pb-item pb-item-btn" style="margin-top: 40rpx;" @tap="sumbmitFunc">确定</view>
</view>
</template>
</view>
</template>
<style scoped lang="scss">
.avatar-box{
display: flex;
@@ -379,5 +380,5 @@
.uni-popup__wrapper{
width: 100%;
}
}
}
</style>