|
|
|
@ -43,8 +43,8 @@ |
|
|
|
|
<el-form-item label="性别" prop="sex"> |
|
|
|
|
<el-select v-model="form.sex" placeholder="请选择" ref='sex'> |
|
|
|
|
<el-option |
|
|
|
|
v-for="(item,key) in gender" |
|
|
|
|
:key="key" |
|
|
|
|
v-for="item in gender" |
|
|
|
|
:key="item.id" |
|
|
|
|
:label="item.name" |
|
|
|
|
:value="item.id" |
|
|
|
|
> |
|
|
|
@ -218,7 +218,13 @@ export default { |
|
|
|
|
this.form.idNumber = idNumber |
|
|
|
|
this.form.idType = 83 |
|
|
|
|
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.nationality = nationality |
|
|
|
|
this.form.mailbox = mailbox |
|
|
|
|