修改个人信息
This commit is contained in:
parent
224e1dc7dc
commit
aae97adee4
@ -14,7 +14,7 @@
|
||||
::v-deep .u-tabs {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
top: 200rpx;
|
||||
// top: 200rpx;
|
||||
z-index: 999;
|
||||
background-color: #F7F5F5 !important;
|
||||
}
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
.u-navbar {
|
||||
display: block;
|
||||
height: 200rpx;
|
||||
// height: 200rpx;
|
||||
|
||||
image {
|
||||
margin: 0 4% 0 4%;
|
||||
|
||||
@ -15,9 +15,9 @@
|
||||
</view>
|
||||
<view class="item">
|
||||
<span>性别:</span>
|
||||
<u-radio-group v-model="appPersonallist.sexname" size='44'>
|
||||
<u-radio @change='sexchange' v-for="(item, index) in sexlist" :key="index" :name="item.name"
|
||||
:disabled="item.disabled">
|
||||
<u-radio-group v-model="sex" size='44'>
|
||||
<u-radio @change='sexchange' v-for="(item, index) in sexlist" :key="index"
|
||||
:name="item.name" :disabled="item.disabled">
|
||||
{{item.name}}
|
||||
</u-radio>
|
||||
</u-radio-group>
|
||||
@ -188,6 +188,7 @@
|
||||
sexname: '',
|
||||
cityCode: '1',
|
||||
},
|
||||
sex: '',
|
||||
addresslength: null,
|
||||
}
|
||||
},
|
||||
@ -201,9 +202,9 @@
|
||||
appPersonal(patientid).then(Response => {
|
||||
if (Response.code == 200) {
|
||||
if (Response.data.sex == 'MALE') {
|
||||
that.appPersonallist.sexname = '男';
|
||||
that.sex = '男';
|
||||
} else if (Response.data.sex == 'FEMALE') {
|
||||
that.appPersonallist.sexname = '女';
|
||||
that.sex = '女';
|
||||
}
|
||||
that.appPersonallist = Response.data
|
||||
that.value2 = Response.data.diseaseList.map(String)
|
||||
@ -231,8 +232,7 @@
|
||||
this.appPersonallist.diseaseList = e.map(Number)
|
||||
},
|
||||
// 下拉框多选
|
||||
selectChange(val) {
|
||||
},
|
||||
selectChange(val) {},
|
||||
cancel() {},
|
||||
//性别
|
||||
sexchange(e) {
|
||||
@ -275,9 +275,9 @@
|
||||
data() {
|
||||
var that = this
|
||||
that.appPersonallist.openid = uni.getStorageSync('openid');
|
||||
if (that.appPersonallist.sexname == '男') {
|
||||
if (that.sex == '男') {
|
||||
that.appPersonallist.sex = 'MALE';
|
||||
} else if (that.appPersonallist.sexname == '女') {
|
||||
} else if (that.sex == '女') {
|
||||
that.appPersonallist.sex = 'FEMALE';
|
||||
}
|
||||
if (that.radio == 1) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user