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

个人信息新增

parent 4499734a
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
<el-form-item <el-form-item
label="学历" label="学历"
prop="education" prop="education"
style="height: 73px" style="height: 70px"
:rules=" :rules="
configJson.education == 1 configJson.education == 1
? referInfoRules.education ? referInfoRules.education
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
<el-form-item <el-form-item
label="单位名称及身份" label="单位名称及身份"
prop="unit_and_identity" prop="unit_and_identity"
style="height: 73px" style="height: 70px"
:rules=" :rules="
configJson.unitandIdentity == 1 configJson.unitandIdentity == 1
? referInfoRules.unit_and_identity ? referInfoRules.unit_and_identity
...@@ -447,6 +447,7 @@ ...@@ -447,6 +447,7 @@
<el-form-item <el-form-item
label="政治面貌" label="政治面貌"
prop="political_status" prop="political_status"
style="height: 73px"
:rules=" :rules="
configJson.politicalStatus == 1 configJson.politicalStatus == 1
? referInfoRules.political_status ? referInfoRules.political_status
...@@ -504,6 +505,7 @@ ...@@ -504,6 +505,7 @@
<el-form-item <el-form-item
label="选科情况" label="选科情况"
prop="subjectState" prop="subjectState"
style="height: 73px"
:rules=" :rules="
configJson.electSubjectSituation == 1 configJson.electSubjectSituation == 1
? referInfoRules.subjectState ? referInfoRules.subjectState
...@@ -532,6 +534,7 @@ ...@@ -532,6 +534,7 @@
<el-form-item <el-form-item
label="选科(最多选三科)" label="选科(最多选三科)"
prop="chooseSubject" prop="chooseSubject"
style="height: 73px"
:rules=" :rules="
showSubject == 1 showSubject == 1
? referInfoRules.chooseSubject ? referInfoRules.chooseSubject
...@@ -561,6 +564,7 @@ ...@@ -561,6 +564,7 @@
<el-col :span="12" v-show="configJson.pastMedicalHistory == 1"> <el-col :span="12" v-show="configJson.pastMedicalHistory == 1">
<el-form-item <el-form-item
label="既往病史或过敏史" label="既往病史或过敏史"
style="height: 73px"
> >
<el-input <el-input
ref="code" ref="code"
...@@ -575,6 +579,7 @@ ...@@ -575,6 +579,7 @@
<el-col :span="12" v-show="configJson.noteOther == 1"> <el-col :span="12" v-show="configJson.noteOther == 1">
<el-form-item <el-form-item
label="备注或其它" label="备注或其它"
style="height: 73px"
> >
<el-input <el-input
ref="code" ref="code"
...@@ -585,32 +590,12 @@ ...@@ -585,32 +590,12 @@
/> />
</el-form-item> </el-form-item>
</el-col> </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-col :span="12" v-show="configJson.clothesSize == 1">
<el-form-item <el-form-item
label="衣服尺码" label="衣服尺码"
prop="clothesSize" prop="clothes_size"
style="height: 73px"
:rules=" :rules="
configJson.clothesSize == 1 configJson.clothesSize == 1
? referInfoRules.clothesSize ? referInfoRules.clothesSize
...@@ -618,8 +603,8 @@ ...@@ -618,8 +603,8 @@
" "
> >
<el-select <el-select
ref="clothesSize" ref="clothes_size"
v-model="referForm.clothesSize" v-model="referForm.clothes_size"
placeholder="填写衣服尺码" placeholder="填写衣服尺码"
:popper-append-to-body="false" :popper-append-to-body="false"
clearable clearable
...@@ -634,6 +619,27 @@ ...@@ -634,6 +619,27 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </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> </el-row>
<!-- 紧急联系人--> <!-- 紧急联系人-->
<div <div
...@@ -983,6 +989,7 @@ ...@@ -983,6 +989,7 @@
chooseSubject: [], chooseSubject: [],
past_medical_history: null, past_medical_history: null,
note_other: null, note_other: null,
clothes_size: null,
emergency: null, emergency: null,
emergency_phone: null, emergency_phone: null,
school_province: null, school_province: null,
...@@ -1454,6 +1461,7 @@ ...@@ -1454,6 +1461,7 @@
chooseSubject: [], chooseSubject: [],
past_medical_history: null, past_medical_history: null,
note_other: null, note_other: null,
clothes_size: null,
emergency: null, emergency: null,
emergency_phone: null, emergency_phone: null,
school_province: null, school_province: null,
...@@ -1467,6 +1475,7 @@ ...@@ -1467,6 +1475,7 @@
referForm[k] = info[k]; referForm[k] = info[k];
} }
this.referForm = referForm; this.referForm = referForm;
// this.referForm.clothesSize = referForm.clothes_size;
if (res.data.info.jiguan_province && res.data.info.jiguan_city) { if (res.data.info.jiguan_province && res.data.info.jiguan_city) {
this.referForm.jiguan_code = this.referForm.jiguan_code =
res.data.info.jiguan_province.toString() + res.data.info.jiguan_province.toString() +
...@@ -1907,6 +1916,9 @@ ...@@ -1907,6 +1916,9 @@
if (this.configJson.startSchoolDate == 1) { if (this.configJson.startSchoolDate == 1) {
obj.start_school_date = _this.start_year; obj.start_school_date = _this.start_year;
} }
if (this.configJson.politicalStatus == 1) {
obj.political_status = _this.referForm.political_status;
}
if (this.configJson.phone == 1) { if (this.configJson.phone == 1) {
obj.phone = _this.referForm.phone; obj.phone = _this.referForm.phone;
} }
...@@ -1950,7 +1962,7 @@ ...@@ -1950,7 +1962,7 @@
} }
//衣服尺码 //衣服尺码
if (this.configJson.clothesSize == 1) { if (this.configJson.clothesSize == 1) {
obj.clothesSize = _this.referForm.clothesSize; obj.clothes_size = _this.referForm.clothes_size;
} }
if (this.configJson.school == 1) { if (this.configJson.school == 1) {
obj.school_province = _this.referForm.school_province; 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