|
|
@ -1,17 +1,19 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
|
|
|
|
<div class="scroll"> |
|
|
|
<div class="page"> |
|
|
|
<div class="page"> |
|
|
|
<h6 class="p-title bd">用户信息</h6> |
|
|
|
<h6 class="l-title"><img src="@/assets/img/info1.png" alt=""> 用户信息</h6> |
|
|
|
<div class="page-content"> |
|
|
|
<div class="page-content"> |
|
|
|
<ul class="list"> |
|
|
|
<ul class="list"> |
|
|
|
|
|
|
|
<div class="line"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>姓名</label> |
|
|
|
<label>姓名:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-input size="small" v-model="form.userName" clearable></el-input> |
|
|
|
<el-input size="small" v-model="form.userName" clearable></el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>性别</label> |
|
|
|
<label>性别:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="form.sex"> |
|
|
|
<el-select size="small" v-model="form.sex"> |
|
|
|
<el-option v-for="item in sexList" :key="item.value" :label="item.name" :value="item.value"></el-option> |
|
|
|
<el-option v-for="item in sexList" :key="item.value" :label="item.name" :value="item.value"></el-option> |
|
|
@ -19,16 +21,17 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>出生年月日</label> |
|
|
|
<label>出生年月日:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-date-picker size="small" v-model="form.dateBirth" :clearable="false" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker> |
|
|
|
<el-date-picker size="small" v-model="form.dateBirth" :clearable="false" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="line"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>所在国家</label> |
|
|
|
<label>所在地:</label> |
|
|
|
<div class="mul"> |
|
|
|
<div class="mul"> |
|
|
|
<div class="child"> |
|
|
|
<div class="child"> |
|
|
|
<span>国家</span> |
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="form.countries" placeholder> |
|
|
|
<el-select size="small" v-model="form.countries" placeholder> |
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" :value="item.label"></el-option> |
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" :value="item.label"></el-option> |
|
|
@ -36,7 +39,6 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="child"> |
|
|
|
<div class="child"> |
|
|
|
<span>省份</span> |
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="form.provinceId" placeholder @change="id => getCity(id,1)"> |
|
|
|
<el-select size="small" v-model="form.provinceId" placeholder @change="id => getCity(id,1)"> |
|
|
|
<el-option v-for="item in provinceList" :key="item.provinceId" :label="item.provinceName" :value="item.provinceId"></el-option> |
|
|
|
<el-option v-for="item in provinceList" :key="item.provinceId" :label="item.provinceName" :value="item.provinceId"></el-option> |
|
|
@ -44,7 +46,6 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="child"> |
|
|
|
<div class="child"> |
|
|
|
<span>城市</span> |
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="form.cityId" placeholder :disabled="form.provinceId ? false : true"> |
|
|
|
<el-select size="small" v-model="form.cityId" placeholder :disabled="form.provinceId ? false : true"> |
|
|
|
<el-option v-for="item in cityList" :key="item.cityId" :label="item.cityName" :value="item.cityId"></el-option> |
|
|
|
<el-option v-for="item in cityList" :key="item.cityId" :label="item.cityName" :value="item.cityId"></el-option> |
|
|
@ -53,135 +54,136 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="line"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>证件</label> |
|
|
|
<label>证件:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-input size="small" v-model="form.idNumber" clearable></el-input> |
|
|
|
<el-input size="small" v-model="form.idNumber" clearable></el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>教育程度</label> |
|
|
|
<label>教育程度:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="form.educationDegree" placeholder="请选择教育程度"> |
|
|
|
<el-select size="small" v-model="form.educationDegree" placeholder="请选择教育程度"> |
|
|
|
<el-option v-for="(item,index) in educationDegreeList" :key="index" :label="item.name" :value="item.value"></el-option> |
|
|
|
<el-option v-for="(item,index) in educationDegreeList" :key="index" :label="item.name" :value="item.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="page"> |
|
|
|
|
|
|
|
<div class="flex j-between a-center m-r-20"> |
|
|
|
<div class="flex j-between a-center m-r-20"> |
|
|
|
<h6 class="p-title">个人档案</h6> |
|
|
|
<h6 class="l-title"><img src="@/assets/img/info2.png" alt=""> 个人档案</h6> |
|
|
|
<el-button type="text" icon="el-icon-plus" @click="addArch">新增</el-button> |
|
|
|
<el-button type="text" icon="el-icon-plus" @click="addArch">新增</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="page-content"> |
|
|
|
<div class="page-content"> |
|
|
|
<div class="archives" v-for="(archive,index) in archivesList" :key="index" v-show="index == 0 || showArch"> |
|
|
|
<div class="archives" v-for="(archive,index) in archivesList" :key="index" v-show="index == 0 || showArch"> |
|
|
|
<ul class="list"> |
|
|
|
<ul class="list"> |
|
|
|
|
|
|
|
<div class="line"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<!-- <label>专业</label> --> |
|
|
|
<label>职业:</label> |
|
|
|
<div class="mul"> |
|
|
|
|
|
|
|
<div class="child"> |
|
|
|
|
|
|
|
<span>职业</span> |
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="archive.personalCareerId" placeholder="选择职业"> |
|
|
|
<el-select size="small" v-model="archive.personalCareerId" placeholder="选择职业"> |
|
|
|
<el-option v-for="item in occupationList" :key="item.value" :label="item.label" :value="item.value"></el-option> |
|
|
|
<el-option v-for="item in occupationList" :key="item.value" :label="item.label" :value="item.value"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<div class="child"> |
|
|
|
<li> |
|
|
|
<span>国家</span> |
|
|
|
<label>国家:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="form.countries" placeholder> |
|
|
|
<el-select size="small" v-model="form.countries" placeholder> |
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" :value="item.label" ></el-option> |
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" :value="item.label" ></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<div class="child"> |
|
|
|
<li> |
|
|
|
<span>学校名称</span> |
|
|
|
<label>学校名称:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="archive.schoolId" filterable placeholder="选择学校" @change="id => getSchoolName(id,index)"> |
|
|
|
<el-select size="small" v-model="archive.schoolId" filterable placeholder="选择学校" @change="id => getSchoolName(id,index)"> |
|
|
|
<el-option v-for="item in schoolList" :key="item.value" :label="item.schoolName" :value="item.schoolId"></el-option> |
|
|
|
<el-option v-for="item in schoolList" :key="item.value" :label="item.schoolName" :value="item.schoolId"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="line" style="margin-bottom: 0"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<div class="mul"> |
|
|
|
<label>专业学科:</label> |
|
|
|
<div class="child"> |
|
|
|
|
|
|
|
<span>专业学科</span> |
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="archive.disciplineId" placeholder="选择专业学科" @change="id => getItemProfessionalClass(id,index)" @clear="() => clearItemClass(index)"> |
|
|
|
<el-select size="small" v-model="archive.disciplineId" placeholder="选择专业学科" @change="id => getItemProfessionalClass(id,index)" @clear="() => clearItemClass(index)"> |
|
|
|
<el-option v-for="item in subjectList" :key="item.value" :label="item.disciplineName" :value="item.disciplineId"></el-option> |
|
|
|
<el-option v-for="item in subjectList" :key="item.value" :label="item.disciplineName" :value="item.disciplineId"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<div class="child"> |
|
|
|
<li> |
|
|
|
<span>专业类</span> |
|
|
|
<label>专业类:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="archive.professionalClassId" placeholder="选择专业类" :disabled="archive.disciplineId ? false : true" @change="id => getItemProfessional(id,index)" @clear="() => clearItemProfess(index)"> |
|
|
|
<el-select size="small" v-model="archive.professionalClassId" placeholder="选择专业类" :disabled="archive.disciplineId ? false : true" @change="id => getItemProfessional(id,index)" @clear="() => clearItemProfess(index)"> |
|
|
|
<el-option v-for="item in archive.ProfessionalClassList" :key="item.professionalClassId" :label="item.professionalClassName" :value="item.professionalClassId"></el-option> |
|
|
|
<el-option v-for="item in archive.ProfessionalClassList" :key="item.professionalClassId" :label="item.professionalClassName" :value="item.professionalClassId"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<div class="child"> |
|
|
|
<li> |
|
|
|
<span>专业</span> |
|
|
|
<label>专业:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-select size="small" v-model="archive.professionalId" placeholder="选择专业" :disabled="archive.professionalClassId ? false : true" @change="getItemStuGrade"> |
|
|
|
<el-select size="small" v-model="archive.professionalId" placeholder="选择专业" :disabled="archive.professionalClassId ? false : true" @change="getItemStuGrade"> |
|
|
|
<el-option v-for="item in archive.ProfessionalList" :key="item.professionalId" :label="item.professionalName" :value="item.professionalId"></el-option> |
|
|
|
<el-option v-for="item in archive.ProfessionalList" :key="item.professionalId" :label="item.professionalName" :value="item.professionalId"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
</div> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="fold" v-if="archivesList.length > 1"> |
|
|
|
<div class="fold" v-if="archivesList.length > 1"> |
|
|
|
<img :class="{active: showArch}" src="@/assets/img/arrow.png" alt="" @click="showArch = !showArch"> |
|
|
|
<span :class="{active: showArch}" @click="showArch = !showArch"> |
|
|
|
|
|
|
|
展开更多 |
|
|
|
|
|
|
|
<i class="el-icon-arrow-down"></i> |
|
|
|
|
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="page"> |
|
|
|
<div class="page"> |
|
|
|
<h6 class="p-title">账号信息</h6> |
|
|
|
<h6 class="l-title"><img src="@/assets/img/info3.png" alt=""> 账号信息</h6> |
|
|
|
<div class="page-content"> |
|
|
|
<div class="page-content"> |
|
|
|
<ul class="list"> |
|
|
|
<ul class="list"> |
|
|
|
<li> |
|
|
|
<div class="line"> |
|
|
|
<label>用户账号</label> |
|
|
|
<li style="margin-right: 136px"> |
|
|
|
|
|
|
|
<label>用户账号:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-input size="small" v-model="form.account" clearable></el-input> |
|
|
|
<el-input size="small" v-model="form.account" clearable></el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>手机号</label> |
|
|
|
<label>手机号:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-input class="m-r-10" size="small" v-model="form.phone" disabled></el-input> |
|
|
|
<el-input class="m-r-10" type="text" size="small" v-model="form.phone" disabled></el-input> |
|
|
|
<el-button type="primary" size="small" @click="bindPhone">更换</el-button> |
|
|
|
<el-button type="text" size="small" @click="bindPhone">更换</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="line"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>邮箱</label> |
|
|
|
<label>邮箱:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-input class="m-r-10" size="small" v-model="form.email" disabled></el-input> |
|
|
|
<el-input class="m-r-10" size="small" v-model="form.email" disabled></el-input> |
|
|
|
<el-button v-if="form.email" type="primary" size="small" @click="bindEmail">更换</el-button> |
|
|
|
<el-button v-if="form.email" type="text" size="small" @click="bindEmail">更换</el-button> |
|
|
|
<el-button v-else size="small" @click="bindEmail">添加</el-button> |
|
|
|
<el-button v-else type="text" size="small" @click="bindEmail">添加</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<label>密码</label> |
|
|
|
<label>密码:</label> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-input class="m-r-10" size="small" value="xxxxxxxx" disabled></el-input> |
|
|
|
<el-input class="m-r-10" size="small" value="xxxxxxxx" disabled></el-input> |
|
|
|
<el-button type="primary" size="small" @click="bindPassword">更换密码</el-button> |
|
|
|
<el-button type="text" size="small" @click="bindPassword">更换</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
</div> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="text-center"> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="btns"> |
|
|
|
|
|
|
|
<el-button size="small" v-throttle @click="save">取消</el-button> |
|
|
|
<el-button type="primary" size="small" v-throttle @click="save">更新</el-button> |
|
|
|
<el-button type="primary" size="small" v-throttle @click="save">更新</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -816,22 +818,33 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.page{ |
|
|
|
.page{ |
|
|
|
margin-bottom: 20px; |
|
|
|
margin-bottom: 12px; |
|
|
|
.list{ |
|
|
|
.list{ |
|
|
|
li{ |
|
|
|
.line{ |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
margin-bottom: 24px; |
|
|
|
margin-bottom: 30px; |
|
|
|
li{ |
|
|
|
|
|
|
|
margin-right: 100px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
li{ |
|
|
|
|
|
|
|
display: inline-flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
&>label{ |
|
|
|
&>label{ |
|
|
|
margin-bottom: 5px; |
|
|
|
width: 100px; |
|
|
|
font-size: 16px; |
|
|
|
margin-right: 5px; |
|
|
|
|
|
|
|
text-align: right; |
|
|
|
|
|
|
|
font-size: 14px; |
|
|
|
color: #4c4c4c; |
|
|
|
color: #4c4c4c; |
|
|
|
} |
|
|
|
} |
|
|
|
.el-input{ |
|
|
|
.el-input{ |
|
|
|
width: 300px; |
|
|
|
width: 220px; |
|
|
|
.el-input__inner{ |
|
|
|
.el-input__inner{ |
|
|
|
border-color: #999; |
|
|
|
border-color: #CACFDB; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.el-select .el-input.is-disabled .el-input__inner{ |
|
|
|
|
|
|
|
border-color: #ddd; |
|
|
|
} |
|
|
|
} |
|
|
|
.val{ |
|
|
|
.val{ |
|
|
|
margin-right: 15px; |
|
|
|
margin-right: 15px; |
|
|
@ -840,11 +853,10 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
.mul{ |
|
|
|
.mul{ |
|
|
|
display: inline-flex; |
|
|
|
display: inline-flex; |
|
|
|
margin-top: 10px; |
|
|
|
|
|
|
|
.child{ |
|
|
|
.child{ |
|
|
|
display: inline-flex; |
|
|
|
display: inline-flex; |
|
|
|
flex-direction: column; |
|
|
|
width: 132px; |
|
|
|
margin-right: 20px; |
|
|
|
margin-right: 10px; |
|
|
|
&>span{ |
|
|
|
&>span{ |
|
|
|
margin-bottom: 5px; |
|
|
|
margin-bottom: 5px; |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
@ -856,20 +868,32 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.archives{ |
|
|
|
.archives{ |
|
|
|
padding: 30px; |
|
|
|
padding: 16px 30px; |
|
|
|
margin-bottom: 30px; |
|
|
|
margin-bottom: 6px; |
|
|
|
border-radius: 8px; |
|
|
|
border-radius: 4px; |
|
|
|
border: 1px dashed #C0C4CC; |
|
|
|
background-color: #FAFAFA; |
|
|
|
} |
|
|
|
} |
|
|
|
.fold{ |
|
|
|
.fold{ |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
img{ |
|
|
|
font-size: 12px; |
|
|
|
|
|
|
|
color: #006EFF; |
|
|
|
|
|
|
|
span{ |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
i{ |
|
|
|
transition: .5s; |
|
|
|
transition: .5s; |
|
|
|
&.active{ |
|
|
|
} |
|
|
|
|
|
|
|
&.active i{ |
|
|
|
transform: rotate(180deg); |
|
|
|
transform: rotate(180deg); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.btns{ |
|
|
|
|
|
|
|
padding: 12px 0; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
background-color: #fff; |
|
|
|
|
|
|
|
.el-button{ |
|
|
|
|
|
|
|
width: 80px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |