修改
This commit is contained in:
parent
5d5dbdbdac
commit
f3c29015c1
@ -33,7 +33,7 @@
|
||||
</view>
|
||||
<span>手机号</span>
|
||||
<u-form-item prop="phone" :border-bottom="false">
|
||||
<u-input v-model="query.phone" placeholder="请输入手机号" :disabled="true"/>
|
||||
<u-input v-model="query.phone" placeholder="请输入手机号" :disabled="true" />
|
||||
</u-form-item>
|
||||
<span>身份证号</span>
|
||||
<u-form-item prop="cardNo" :border-bottom="false">
|
||||
@ -107,7 +107,6 @@
|
||||
提交
|
||||
</view>
|
||||
</view>
|
||||
<u-toast ref="uToast" />
|
||||
<u-mask :show="maskshow" class='mask' @click='maskshow=false'>
|
||||
<view class="Agreement">
|
||||
<view class="title">
|
||||
@ -132,6 +131,7 @@
|
||||
</m-city>
|
||||
</view>
|
||||
<u-select v-model="showNation" :list="actions" @confirm="nationSelect"></u-select>
|
||||
<u-toast ref="uToast" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -181,39 +181,37 @@
|
||||
{
|
||||
value: '3',
|
||||
label: '子女'
|
||||
},{
|
||||
}, {
|
||||
value: '4',
|
||||
label: '(外)孙子女'
|
||||
} ,{
|
||||
}, {
|
||||
value: '5',
|
||||
label: '父母'
|
||||
} ,{
|
||||
}, {
|
||||
value: '6',
|
||||
label: '(外)祖父母'
|
||||
} ,{
|
||||
}, {
|
||||
value: '7',
|
||||
label: '兄弟姐妹'
|
||||
} ,{
|
||||
}, {
|
||||
value: '8',
|
||||
label: '儿媳'
|
||||
} ,{
|
||||
}, {
|
||||
value: '9',
|
||||
label: '女婿'
|
||||
} ,{
|
||||
}, {
|
||||
value: '10',
|
||||
label: '孙子女'
|
||||
} ,{
|
||||
}, {
|
||||
value: '11',
|
||||
label: '侄子女'
|
||||
} ,{
|
||||
}, {
|
||||
value: '12',
|
||||
label: '曾孙子女'
|
||||
},
|
||||
,{
|
||||
}, , {
|
||||
value: '13',
|
||||
label: '祖父母'
|
||||
},
|
||||
,{
|
||||
}, , {
|
||||
value: '99',
|
||||
label: '其他'
|
||||
},
|
||||
@ -286,10 +284,10 @@
|
||||
sexname: '',
|
||||
birthDate: '',
|
||||
cityCode: '',
|
||||
householdCardNo:'',
|
||||
householdRelationship:'',
|
||||
householdCardNo: '',
|
||||
householdRelationship: '',
|
||||
},
|
||||
householdRelationship:'',
|
||||
householdRelationship: '',
|
||||
timer: null,
|
||||
addresslength: null,
|
||||
patientDiseaseInfoList: [], //获取个人信息
|
||||
@ -409,7 +407,7 @@
|
||||
} else {
|
||||
registerdata(that.query).then(res => {
|
||||
if (res.code == 200) {
|
||||
getCurrentUser(that.query.openid,that.query.cityCode).then(res => {
|
||||
getCurrentUser(that.query.openid, that.query.cityCode).then(res => {
|
||||
uni.setStorageSync('patientId', res.data.id);
|
||||
uni.setStorageSync('patientName', res.data.patientName);
|
||||
uni.setStorageSync("userinfo", res.data)
|
||||
@ -417,11 +415,8 @@
|
||||
that.$refs.uToast.show({
|
||||
title: '注册成功',
|
||||
type: 'success',
|
||||
duration: '1000',
|
||||
back: 2,
|
||||
})
|
||||
uni.switchTab({
|
||||
url: '/pages/homepage/homepage',
|
||||
});
|
||||
} else {
|
||||
that.$refs.uToast.show({
|
||||
title: res.msg,
|
||||
@ -571,7 +566,7 @@
|
||||
that.query.source = 'REGISTER_YOURSELF'
|
||||
that.query.invitationPatientId = null
|
||||
}
|
||||
this.query.phone=uni.getStorageSync("phone")
|
||||
this.query.phone = uni.getStorageSync("phone")
|
||||
// const chooseLocation = requirePlugin('chooseLocation');
|
||||
// const location = chooseLocation.getLocation(); // 如果点击确认选点按钮,则返回选点结果对象,否则返回null
|
||||
// if (location) {
|
||||
@ -923,4 +918,4 @@
|
||||
/deep/ .u-form-item__message {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user