diff --git a/pages/register/register.vue b/pages/register/register.vue
index 2a675da..1ab432a 100644
--- a/pages/register/register.vue
+++ b/pages/register/register.vue
@@ -33,7 +33,7 @@
手机号
-
+
身份证号
@@ -107,7 +107,6 @@
提交
-
@@ -132,6 +131,7 @@
+
@@ -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;
}
-
+
\ No newline at end of file