修改信息
This commit is contained in:
parent
f250d0438b
commit
1408a11a3f
@ -242,6 +242,9 @@
|
|||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
::v-deep .select-modal.show.data-v-2ee6bce8 {
|
||||||
|
margin-bottom: -24px;}
|
||||||
|
|
||||||
.main{
|
.main{
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<span>性别:</span>
|
<span>性别:</span>
|
||||||
<u-radio-group v-model="appPersonallist.sex" size='44'>
|
<u-radio-group v-model="appPersonallist.sexname" size='44'>
|
||||||
<u-radio @change='sexchange' v-for="(item, index) in sexlist" :key="index" :name="item.name"
|
<u-radio @change='sexchange' v-for="(item, index) in sexlist" :key="index" :name="item.name"
|
||||||
:disabled="item.disabled">
|
:disabled="item.disabled">
|
||||||
{{item.name}}
|
{{item.name}}
|
||||||
@ -36,7 +36,7 @@
|
|||||||
<view class="item">
|
<view class="item">
|
||||||
<span>身份证号:</span>
|
<span>身份证号:</span>
|
||||||
<u-input :clearable='false' v-model="appPersonallist.cardNo" placeholder="请输入身份证号" type="text"
|
<u-input :clearable='false' v-model="appPersonallist.cardNo" placeholder="请输入身份证号" type="text"
|
||||||
maxlength='18' />
|
maxlength='18' disabled/>
|
||||||
</view>
|
</view>
|
||||||
<view class="item" @tap='showPicker'>
|
<view class="item" @tap='showPicker'>
|
||||||
<span>所属区域:</span>
|
<span>所属区域:</span>
|
||||||
@ -185,13 +185,13 @@
|
|||||||
birthDate: '',
|
birthDate: '',
|
||||||
locationName: '',
|
locationName: '',
|
||||||
sex: '',
|
sex: '',
|
||||||
|
sexname: '',
|
||||||
cityCode: '1',
|
cityCode: '1',
|
||||||
},
|
},
|
||||||
addresslength: null,
|
addresslength: null,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
console.log(options, '555')
|
|
||||||
this.areaInfo();
|
this.areaInfo();
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
var that = this
|
var that = this
|
||||||
@ -201,9 +201,9 @@
|
|||||||
appPersonal(patientid).then(Response => {
|
appPersonal(patientid).then(Response => {
|
||||||
if (Response.code == 200) {
|
if (Response.code == 200) {
|
||||||
if (Response.data.sex == 'MALE') {
|
if (Response.data.sex == 'MALE') {
|
||||||
that.appPersonallist.sex = '男';
|
that.appPersonallist.sexname = '男';
|
||||||
} else if (Response.data.sex == 'FEMALE') {
|
} else if (Response.data.sex == 'FEMALE') {
|
||||||
that.appPersonallist.sex = '女';
|
that.appPersonallist.sexname = '女';
|
||||||
}
|
}
|
||||||
that.appPersonallist = Response.data
|
that.appPersonallist = Response.data
|
||||||
that.value2=Response.data.diseaseList.map(String)
|
that.value2=Response.data.diseaseList.map(String)
|
||||||
@ -214,7 +214,6 @@
|
|||||||
if (that.appPersonallist.headPictureUrl) {
|
if (that.appPersonallist.headPictureUrl) {
|
||||||
that.img = baseurl + that.appPersonallist.headPictureUrl
|
that.img = baseurl + that.appPersonallist.headPictureUrl
|
||||||
}
|
}
|
||||||
console.log(Response)
|
|
||||||
|
|
||||||
if (that.appPersonallist.areaName) {
|
if (that.appPersonallist.areaName) {
|
||||||
that.address = that.appPersonallist.areaName
|
that.address = that.appPersonallist.areaName
|
||||||
@ -233,7 +232,6 @@
|
|||||||
},
|
},
|
||||||
// 下拉框多选
|
// 下拉框多选
|
||||||
selectChange(val) {
|
selectChange(val) {
|
||||||
console.log(val);
|
|
||||||
},
|
},
|
||||||
cancel() {},
|
cancel() {},
|
||||||
//性别
|
//性别
|
||||||
@ -277,9 +275,9 @@
|
|||||||
data() {
|
data() {
|
||||||
var that = this
|
var that = this
|
||||||
that.appPersonallist.openid = uni.getStorageSync('openid');
|
that.appPersonallist.openid = uni.getStorageSync('openid');
|
||||||
if (that.appPersonallist.sex == '男') {
|
if (that.appPersonallist.sexname == '男') {
|
||||||
that.appPersonallist.sex = 'MALE';
|
that.appPersonallist.sex = 'MALE';
|
||||||
} else if (that.appPersonallist.sex == '女') {
|
} else if (that.appPersonallist.sexname == '女') {
|
||||||
that.appPersonallist.sex = 'FEMALE';
|
that.appPersonallist.sex = 'FEMALE';
|
||||||
}
|
}
|
||||||
if (that.radio == 1) {
|
if (that.radio == 1) {
|
||||||
@ -300,7 +298,6 @@
|
|||||||
success(res) {
|
success(res) {
|
||||||
that.appPersonallist.headPictureUrl = JSON.parse(res.data).imgUrl
|
that.appPersonallist.headPictureUrl = JSON.parse(res.data).imgUrl
|
||||||
that.appPersonallist.cityCode = '1'
|
that.appPersonallist.cityCode = '1'
|
||||||
console.log(that.appPersonallist.sex,'4')
|
|
||||||
registerdata(that.appPersonallist).then(res => {
|
registerdata(that.appPersonallist).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
that.$refs.uToast.show({
|
that.$refs.uToast.show({
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
<u-navbar :is-back="false" :background="background" class="u-navbar">
|
||||||
<image src="@/static/pagesB/fanhui.png" mode="" @tap="goprevious"></image>
|
<image src="@/static/pagesB/fanhui.png" mode="" @tap="goprevious"></image>
|
||||||
<view class="title" @tap="goprevious">
|
<view class="title" @tap="goprevious">
|
||||||
商品订单
|
服务预约
|
||||||
</view>
|
</view>
|
||||||
<view class="inputs">
|
<view class="inputs">
|
||||||
<i class="icon"></i>
|
<i class="icon"></i>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user