Commit 88af34e7 authored by 杨梦雪's avatar 杨梦雪

填写资料

parent 6545876f
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
font-weight: 500; font-weight: 500;
color: #12141c; color: #12141c;
} }
.school_info{
// position: relative;
}
.tipsMsg { .tipsMsg {
padding: 0 10px; padding: 0 10px;
margin-bottom: 15px; margin-bottom: 15px;
...@@ -25,14 +27,16 @@ ...@@ -25,14 +27,16 @@
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #a7a2a6; color: #a7a2a6;
position: absolute; // position: absolute;
top: 37%; // position: relative;
// top: 37%;
// top: 69%;
// padding: 21px 0 10px 0; // padding: 21px 0 10px 0;
} }
.school .el-form-item { .school .el-form-item {
margin-bottom: 5px !important; margin-bottom: 5px !important;
height: 110px !important; height: 85px !important;
} }
......
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
<el-form-item <el-form-item
label="籍贯" label="籍贯"
prop="jiguan_code" prop="jiguan_code"
style="height: 73px" style="height: 73px"
:rules=" :rules="
configJson.jiguanCity == 1 configJson.jiguanCity == 1
? referInfoRules.jiguan_code ? referInfoRules.jiguan_code
...@@ -377,6 +377,7 @@ ...@@ -377,6 +377,7 @@
<el-form-item <el-form-item
label="民族" label="民族"
prop="nation" prop="nation"
style="height: 73px"
:rules=" :rules="
configJson.nation == 1 configJson.nation == 1
? referInfoRules.nation ? referInfoRules.nation
...@@ -397,6 +398,7 @@ ...@@ -397,6 +398,7 @@
<el-form-item <el-form-item
label="入学年份" label="入学年份"
prop="start_school_date" prop="start_school_date"
style="height: 73px"
:rules=" :rules="
configJson.startSchoolDate == 1 configJson.startSchoolDate == 1
? referInfoRules.start_school_date ? referInfoRules.start_school_date
...@@ -404,7 +406,7 @@ ...@@ -404,7 +406,7 @@
" "
> >
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <!-- <el-col :span="12">
<el-select <el-select
v-model="start_grade" v-model="start_grade"
placeholder="年级" placeholder="年级"
...@@ -419,25 +421,25 @@ ...@@ -419,25 +421,25 @@
> >
</el-option> </el-option>
</el-select> </el-select>
</el-col> </el-col> -->
<el-col :span="12"> <!-- <el-col :span="12"> -->
<el-select <el-select
ref="start_school_date" ref="start_school_date"
v-model="start_year" v-model="start_year"
placeholder="年份" placeholder="年份"
clearable clearable
:popper-append-to-body="false" :popper-append-to-body="false"
@change="getyear()" @change="getyear()"
>
<el-option
v-for="(item, index) in yearArrs"
:key="index"
:label="item"
:value="item"
> >
<el-option </el-option>
v-for="(item, index) in yearArrs" </el-select>
:key="index" <!-- </el-col> -->
:label="item"
:value="item"
>
</el-option>
</el-select>
</el-col>
</el-row> </el-row>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -481,100 +483,102 @@ ...@@ -481,100 +483,102 @@
<div class="cont_title">学校信息</div> <div class="cont_title">学校信息</div>
<div class="school"> <div class="school">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="6"> <div class="school_info" v-show="configJson.school == 1">
<el-form-item <el-col :span="6">
label="就读中学" <el-form-item
prop="school_province" label="就读中学"
:rules=" prop="school_province"
configJson.school == 1 :rules="
? referInfoRules.school_province configJson.school == 1
: [{ required: false }] ? referInfoRules.school_province
" : [{ required: false }]
> "
<el-select
ref="school_province"
v-model="referForm.school_province"
clearable
placeholder="省"
:popper-append-to-body="false"
@change="changeProvince(2, $event)"
> >
<el-option <el-select
v-for="item in selectProvince" ref="school_province"
:key="item.id" v-model="referForm.school_province"
:label="item.name" clearable
:value="item.id" placeholder="省"
:popper-append-to-body="false"
@change="changeProvince(2, $event)"
> >
</el-option> <el-option
</el-select> v-for="item in selectProvince"
</el-form-item> :key="item.id"
</el-col> :label="item.name"
<el-col :span="6"> :value="item.id"
<el-form-item >
class="no_label" </el-option>
label=" " </el-select>
prop="school_city" </el-form-item>
:rules=" </el-col>
configJson.school == 1 <el-col :span="6">
? referInfoRules.school_city <el-form-item
: [{ required: false }] class="no_label"
" label=" "
> prop="school_city"
<el-select :rules="
ref="school_city" configJson.school == 1
v-model="referForm.school_city" ? referInfoRules.school_city
clearable : [{ required: false }]
placeholder="市" "
:popper-append-to-body="false"
@change="changeCity($event)"
> >
<el-option <el-select
v-for="item in selectCitySchool" ref="school_city"
:key="item.id" v-model="referForm.school_city"
:label="item.name" clearable
:value="item.id" placeholder="市"
:popper-append-to-body="false"
@change="changeCity($event)"
> >
</el-option> <el-option
</el-select> v-for="item in selectCitySchool"
</el-form-item> :key="item.id"
</el-col> :label="item.name"
<el-col :span="12"> :value="item.id"
<el-form-item >
class="no_label" </el-option>
label=" " </el-select>
prop="school" </el-form-item>
:rules=" </el-col>
configJson.school == 1 <el-col :span="12">
? referInfoRules.school <el-form-item
: [{ required: false }] class="no_label"
" label=" "
> prop="school"
<el-select :rules="
filterable configJson.school == 1
ref="school" ? referInfoRules.school
v-model="referForm.school" : [{ required: false }]
clearable "
placeholder="中学"
:popper-append-to-body="false"
> >
<el-option <el-select
v-for="item in selectSchoolList" filterable
:key="item.id" ref="school"
:label="item.name" v-model="referForm.school"
:value="item.id" clearable
placeholder="中学"
:popper-append-to-body="false"
> >
</el-option> <el-option
</el-select> v-for="item in selectSchoolList"
</el-form-item> :key="item.id"
<div class="tipsMsg" v-show="$store.state.baseSchool == 1"> :label="item.name"
如果没有您所在的学校,请选填其他 :value="item.id"
</div> >
<div class="tipsMsg" v-show="$store.state.baseSchool == 0"> </el-option>
如果没有您所在学校,请联系邮箱:service@campcenter.cn </el-select>
</div> </el-form-item>
</el-col> <div class="tipsMsg" v-show="$store.state.baseSchool == 1">
如果没有您所在的学校,请选填其他
</div>
<div class="tipsMsg" v-show="$store.state.baseSchool == 0">
如果没有您所在学校,请联系邮箱:service@campcenter.cn
</div>
</el-col>
</div>
<el-col :span="12"> <el-col :span="12" v-show="configJson.schoolContacts == 1">
<el-form-item <el-form-item
label="中学联系人" label="中学联系人"
prop="school_contacts" prop="school_contacts"
...@@ -593,7 +597,7 @@ ...@@ -593,7 +597,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12" v-show="configJson.schoolPhone == 1">
<el-form-item <el-form-item
label="中学联系人电话(手机)" label="中学联系人电话(手机)"
prop="school_phone" prop="school_phone"
...@@ -1067,8 +1071,9 @@ export default { ...@@ -1067,8 +1071,9 @@ export default {
//组装入学年份 //组装入学年份
getyear() { getyear() {
this.referForm.start_school_date = this.referForm.start_school_date = this.start_year.toString();
this.start_year.toString() + "-" + this.start_grade.toString(); // + "-" +
// this.start_grade.toString();
}, },
// 获取省份城市 // 获取省份城市
getProAndCity() { getProAndCity() {
......
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