|
|
@ -43,8 +43,8 @@ |
|
|
|
<el-form-item label="性别" prop="sex"> |
|
|
|
<el-form-item label="性别" prop="sex"> |
|
|
|
<el-select v-model="form.sex" placeholder="请选择" ref='sex'> |
|
|
|
<el-select v-model="form.sex" placeholder="请选择" ref='sex'> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item,key) in gender" |
|
|
|
v-for="item in gender" |
|
|
|
:key="key" |
|
|
|
:key="item.id" |
|
|
|
:label="item.name" |
|
|
|
:label="item.name" |
|
|
|
:value="item.id" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
> |
|
|
@ -218,7 +218,13 @@ export default { |
|
|
|
this.form.idNumber = idNumber |
|
|
|
this.form.idNumber = idNumber |
|
|
|
this.form.idType = 83 |
|
|
|
this.form.idType = 83 |
|
|
|
this.form.userName = userName |
|
|
|
this.form.userName = userName |
|
|
|
this.form.sex = sex |
|
|
|
let sexs = null |
|
|
|
|
|
|
|
if (sex == '男'){ |
|
|
|
|
|
|
|
sexs = 1 |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
sexs = 2 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.form.sex = sexs |
|
|
|
this.form.birthday = birthday |
|
|
|
this.form.birthday = birthday |
|
|
|
this.form.nationality = nationality |
|
|
|
this.form.nationality = nationality |
|
|
|
this.form.mailbox = mailbox |
|
|
|
this.form.mailbox = mailbox |
|
|
|