Commit 1f75c2f5 authored by 杨梦雪's avatar 杨梦雪

个人信息新增

parent 4499734a
......@@ -184,7 +184,7 @@
<el-form-item
label="学历"
prop="education"
style="height: 73px"
style="height: 70px"
:rules="
configJson.education == 1
? referInfoRules.education
......@@ -212,7 +212,7 @@
<el-form-item
label="单位名称及身份"
prop="unit_and_identity"
style="height: 73px"
style="height: 70px"
:rules="
configJson.unitandIdentity == 1
? referInfoRules.unit_and_identity
......@@ -447,6 +447,7 @@
<el-form-item
label="政治面貌"
prop="political_status"
style="height: 73px"
:rules="
configJson.politicalStatus == 1
? referInfoRules.political_status
......@@ -504,6 +505,7 @@
<el-form-item
label="选科情况"
prop="subjectState"
style="height: 73px"
:rules="
configJson.electSubjectSituation == 1
? referInfoRules.subjectState
......@@ -532,6 +534,7 @@
<el-form-item
label="选科(最多选三科)"
prop="chooseSubject"
style="height: 73px"
:rules="
showSubject == 1
? referInfoRules.chooseSubject
......@@ -561,6 +564,7 @@
<el-col :span="12" v-show="configJson.pastMedicalHistory == 1">
<el-form-item
label="既往病史或过敏史"
style="height: 73px"
>
<el-input
ref="code"
......@@ -575,6 +579,7 @@
<el-col :span="12" v-show="configJson.noteOther == 1">
<el-form-item
label="备注或其它"
style="height: 73px"
>
<el-input
ref="code"
......@@ -585,32 +590,12 @@
/>
</el-form-item>
</el-col>
<!-- 邀请码 -->
<el-col :span="12" v-show="doubt_code == 1">
<el-form-item
prop="code"
label="邀请码"
style="height: 73px"
>
<el-input
ref="code"
v-model="referForm.code"
placeholder="邀请码"
size="small"
:disabled="isCode"
@change="changeCode"
clearable
/>
</el-form-item>
<div class="tipsMsg">
每个邀请码仅能绑定一个用户
</div>
</el-col>
<!-- 衣服尺码-->
<el-col :span="12" v-show="configJson.clothesSize == 1">
<el-form-item
label="衣服尺码"
prop="clothesSize"
prop="clothes_size"
style="height: 73px"
:rules="
configJson.clothesSize == 1
? referInfoRules.clothesSize
......@@ -618,8 +603,8 @@
"
>
<el-select
ref="clothesSize"
v-model="referForm.clothesSize"
ref="clothes_size"
v-model="referForm.clothes_size"
placeholder="填写衣服尺码"
:popper-append-to-body="false"
clearable
......@@ -634,6 +619,27 @@
</el-select>
</el-form-item>
</el-col>
<!-- 邀请码 -->
<el-col :span="12" v-show="doubt_code == 1">
<el-form-item
prop="code"
label="邀请码"
style="height: 73px"
>
<el-input
ref="code"
v-model="referForm.code"
placeholder="邀请码"
size="small"
:disabled="isCode"
@change="changeCode"
clearable
/>
</el-form-item>
<div class="tipsMsg">
每个邀请码仅能绑定一个用户
</div>
</el-col>
</el-row>
<!-- 紧急联系人-->
<div
......@@ -983,6 +989,7 @@
chooseSubject: [],
past_medical_history: null,
note_other: null,
clothes_size: null,
emergency: null,
emergency_phone: null,
school_province: null,
......@@ -1454,6 +1461,7 @@
chooseSubject: [],
past_medical_history: null,
note_other: null,
clothes_size: null,
emergency: null,
emergency_phone: null,
school_province: null,
......@@ -1467,6 +1475,7 @@
referForm[k] = info[k];
}
this.referForm = referForm;
// this.referForm.clothesSize = referForm.clothes_size;
if (res.data.info.jiguan_province && res.data.info.jiguan_city) {
this.referForm.jiguan_code =
res.data.info.jiguan_province.toString() +
......@@ -1907,6 +1916,9 @@
if (this.configJson.startSchoolDate == 1) {
obj.start_school_date = _this.start_year;
}
if (this.configJson.politicalStatus == 1) {
obj.political_status = _this.referForm.political_status;
}
if (this.configJson.phone == 1) {
obj.phone = _this.referForm.phone;
}
......@@ -1950,7 +1962,7 @@
}
//衣服尺码
if (this.configJson.clothesSize == 1) {
obj.clothesSize = _this.referForm.clothesSize;
obj.clothes_size = _this.referForm.clothes_size;
}
if (this.configJson.school == 1) {
obj.school_province = _this.referForm.school_province;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment