|
|
@ -37,6 +37,20 @@ |
|
|
|
</label> --> |
|
|
|
</label> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
|
|
|
|
|
<span>教育程度</span> |
|
|
|
|
|
|
|
<el-select |
|
|
|
|
|
|
|
v-model="personalInformation.educationDegree" |
|
|
|
|
|
|
|
placeholder="请选择教育程度" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<el-option |
|
|
|
|
|
|
|
v-for="(item,index) in educationDegreeList" |
|
|
|
|
|
|
|
:key="index" |
|
|
|
|
|
|
|
:label="item.name" |
|
|
|
|
|
|
|
:value="item.value" |
|
|
|
|
|
|
|
></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- <div class="item"> |
|
|
|
<span>所在国家</span> |
|
|
|
<span>所在国家</span> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="personalInformation.countries" |
|
|
|
v-model="personalInformation.countries" |
|
|
@ -49,7 +63,7 @@ |
|
|
|
:value="item.value" |
|
|
|
:value="item.value" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="line"> |
|
|
|
<div class="line"> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
@ -100,7 +114,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="line"> |
|
|
|
<!-- <div class="line"> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
|
<span>出生年月日</span> |
|
|
|
<span>出生年月日</span> |
|
|
|
<el-date-picker |
|
|
|
<el-date-picker |
|
|
@ -114,9 +128,9 @@ |
|
|
|
<span>证件</span> |
|
|
|
<span>证件</span> |
|
|
|
<input id="idnumber" class="idnumber" placeholder="请输入证件" type="text" v-model="personalInformation.idNumber"/> |
|
|
|
<input id="idnumber" class="idnumber" placeholder="请输入证件" type="text" v-model="personalInformation.idNumber"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<div class="line"> |
|
|
|
<div class="line"> |
|
|
|
<div class="item"> |
|
|
|
<!-- <div class="item"> |
|
|
|
<span>教育程度</span> |
|
|
|
<span>教育程度</span> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="personalInformation.educationDegree" |
|
|
|
v-model="personalInformation.educationDegree" |
|
|
@ -129,23 +143,23 @@ |
|
|
|
:value="item.value" |
|
|
|
:value="item.value" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<div class="item"> |
|
|
|
<!-- <div class="item"> |
|
|
|
<span>当前所在学校</span> |
|
|
|
<span>当前所在学校</span> |
|
|
|
<el-select v-model="personalInformation.schoolAppellationId" filterable placeholder="请选择学校" class="school"> |
|
|
|
<el-select v-model="personalInformation.schoolAppellationId" filterable placeholder="请选择学校" class="school"> |
|
|
|
<el-option v-for="(item,index) in schoolList" :key="index" :label="item.schoolName" :value="item.schoolId"></el-option> |
|
|
|
<el-option v-for="(item,index) in schoolList" :key="index" :label="item.schoolName" :value="item.schoolId"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 个人档案 --> |
|
|
|
<!-- 个人档案 --> |
|
|
|
<p class="meta-title plus"> |
|
|
|
<!-- <p class="meta-title plus"> |
|
|
|
<span>个人档案</span> |
|
|
|
<span>个人档案</span> |
|
|
|
<el-button type="text" icon="el-icon-plus" @click="addArch">新增</el-button> |
|
|
|
<el-button type="text" icon="el-icon-plus" @click="addArch">新增</el-button> |
|
|
|
</p> |
|
|
|
</p> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="information" style="margin-top: 20px;"> |
|
|
|
<!-- <div class="information" style="margin-top: 20px;"> |
|
|
|
<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"> |
|
|
|
<div class="line"> |
|
|
|
<div class="line"> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
@ -247,7 +261,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
|
|
<div class="fold" v-if="archivesList.length > 1"> |
|
|
|
<div class="fold" v-if="archivesList.length > 1"> |
|
|
|
<img :class="{ 'arrowTransform': showArch, 'arrowTransformReturn': !showArch}" style="width: 21px;height: 17px;" src="../../assets/img/open.png" alt="" @click="foldArch"> |
|
|
|
<img :class="{ 'arrowTransform': showArch, 'arrowTransformReturn': !showArch}" style="width: 21px;height: 17px;" src="../../assets/img/open.png" alt="" @click="foldArch"> |
|
|
@ -270,34 +284,41 @@ |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="item"> |
|
|
|
<div class="item"> |
|
|
|
|
|
|
|
<span>密码</span> |
|
|
|
|
|
|
|
<div class="btns flex-end-content"> |
|
|
|
|
|
|
|
<el-button type="primary" size="small" @click="bindPassword">更换</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="line"> |
|
|
|
|
|
|
|
<!-- <div class="item"> |
|
|
|
<span>手机号</span> |
|
|
|
<span>手机号</span> |
|
|
|
<div class="btns flex-between"> |
|
|
|
<div class="btns flex-between"> |
|
|
|
<span>{{personalInformation.phone}}</span> |
|
|
|
<span>{{personalInformation.phone}}</span> |
|
|
|
<el-button v-if="personalInformation.phone" type="primary" size="small" @click="bindPhone">更换</el-button> |
|
|
|
<el-button v-if="personalInformation.phone" type="primary" size="small" @click="bindPhone">更换</el-button> |
|
|
|
<el-button v-else type="primary" size="small" @click="bindPhone">绑定</el-button> |
|
|
|
<el-button v-else type="primary" size="small" @click="bindPhone">绑定</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
<!-- <div class="item"> |
|
|
|
<div class="line"> |
|
|
|
|
|
|
|
<div class="item"> |
|
|
|
|
|
|
|
<span>邮箱</span> |
|
|
|
<span>邮箱</span> |
|
|
|
<div class="btns flex-between"> |
|
|
|
<div class="btns flex-between"> |
|
|
|
<span>{{personalInformation.email}}</span> |
|
|
|
<span>{{personalInformation.email}}</span> |
|
|
|
<el-button v-if="personalInformation.email" type="primary" size="small" @click="bindEmail">更换</el-button> |
|
|
|
<el-button v-if="personalInformation.email" type="primary" size="small" @click="bindEmail">更换</el-button> |
|
|
|
<el-button v-else type="primary" size="small" @click="bindEmail">绑定</el-button> |
|
|
|
<el-button v-else type="primary" size="small" @click="bindEmail">绑定</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<!-- <div class="item"> |
|
|
|
<!-- <div class="item"> |
|
|
|
<span>微信</span> |
|
|
|
<span>微信</span> |
|
|
|
<input id="weChat" class="weChat" disabled placeholder="微信" type="text" v-model="personalInformation.weChatID"/> |
|
|
|
<input id="weChat" class="weChat" disabled placeholder="微信" type="text" v-model="personalInformation.weChatID"/> |
|
|
|
</div> --> |
|
|
|
</div> --> |
|
|
|
<div class="line"> |
|
|
|
<div class="line"> |
|
|
|
<div class="item"> |
|
|
|
<!-- <div class="item"> |
|
|
|
<span>密码</span> |
|
|
|
<span>密码</span> |
|
|
|
<div class="btns flex-end-content"> |
|
|
|
<div class="btns flex-end-content"> |
|
|
|
<el-button type="primary" size="small" @click="bindPassword">更换</el-button> |
|
|
|
<el-button type="primary" size="small" @click="bindPassword">更换</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<!-- <div class="item"></div> --> |
|
|
|
<!-- <div class="item"></div> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -596,14 +617,6 @@ export default { |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.$set(e, 'ProfessionalList', []); |
|
|
|
this.$set(e, 'ProfessionalList', []); |
|
|
|
} |
|
|
|
} |
|
|
|
// if(e.provinceId){ |
|
|
|
|
|
|
|
// this.$get(this.api.queryCity,{provinceId: e.provinceId}).then(res => { |
|
|
|
|
|
|
|
// this.$set(e, 'cityList', res.message); |
|
|
|
|
|
|
|
// }).catch(res => {}); |
|
|
|
|
|
|
|
// }else{ |
|
|
|
|
|
|
|
// this.$set(e, 'cityList', []); |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
console.log(11,window.scrollTo) |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.concatArch(1) |
|
|
|
this.concatArch(1) |
|
|
@ -644,7 +657,7 @@ export default { |
|
|
|
this.archivesList.forEach((n,k) => { |
|
|
|
this.archivesList.forEach((n,k) => { |
|
|
|
if(!n.personalCareerId) isEmpty = true |
|
|
|
if(!n.personalCareerId) isEmpty = true |
|
|
|
}) |
|
|
|
}) |
|
|
|
if(isEmpty) return this.$message.warning('请选择职业'); |
|
|
|
// if(isEmpty) return this.$message.warning('请选择职业'); |
|
|
|
this.showArch = true |
|
|
|
this.showArch = true |
|
|
|
this.concatArch() |
|
|
|
this.concatArch() |
|
|
|
}, |
|
|
|
}, |
|
|
@ -722,14 +735,6 @@ export default { |
|
|
|
this.archivesList[index].professionalClassName = '' |
|
|
|
this.archivesList[index].professionalClassName = '' |
|
|
|
this.archivesList[index].professionalId = '' |
|
|
|
this.archivesList[index].professionalId = '' |
|
|
|
this.archivesList[index].professionalName = '' |
|
|
|
this.archivesList[index].professionalName = '' |
|
|
|
// this.archivesList.map(e =>{ |
|
|
|
|
|
|
|
// if(e.disciplineId == item){ |
|
|
|
|
|
|
|
// e.professionalClassId = '', |
|
|
|
|
|
|
|
// e.professionalClassName = '', |
|
|
|
|
|
|
|
// e.professionalId = '', |
|
|
|
|
|
|
|
// e.professionalName = '' |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// }) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
getItemProfessionalClass(item,index){ |
|
|
|
getItemProfessionalClass(item,index){ |
|
|
|
this.clearItemClass(index) |
|
|
|
this.clearItemClass(index) |
|
|
@ -772,12 +777,6 @@ export default { |
|
|
|
clearItemProfess(index){ |
|
|
|
clearItemProfess(index){ |
|
|
|
this.archivesList[index].professionalId = '' |
|
|
|
this.archivesList[index].professionalId = '' |
|
|
|
this.archivesList[index].professionalName = '' |
|
|
|
this.archivesList[index].professionalName = '' |
|
|
|
// this.archivesList.map(e =>{ |
|
|
|
|
|
|
|
// if(e.professionalClassId == item){ |
|
|
|
|
|
|
|
// e.professionalId = '', |
|
|
|
|
|
|
|
// e.professionalName = '' |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
// }) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
getItemProfessional(item,index){ |
|
|
|
getItemProfessional(item,index){ |
|
|
|
this.clearItemProfess(index) |
|
|
|
this.clearItemProfess(index) |
|
|
@ -830,7 +829,7 @@ export default { |
|
|
|
if(!n.personalCareerId) isEmpty = true |
|
|
|
if(!n.personalCareerId) isEmpty = true |
|
|
|
n.userId = this.userId |
|
|
|
n.userId = this.userId |
|
|
|
}) |
|
|
|
}) |
|
|
|
if(isEmpty) return this.$message.warning('请选择职业') |
|
|
|
// if(isEmpty) return this.$message.warning('请选择职业') |
|
|
|
if(this.personalInformation.idNumber && !/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)/.test(this.personalInformation.idNumber)) return this.$message.warning('请输入正确的证件号码') |
|
|
|
if(this.personalInformation.idNumber && !/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)/.test(this.personalInformation.idNumber)) return this.$message.warning('请输入正确的证件号码') |
|
|
|
let personalInformation = this.personalInformation |
|
|
|
let personalInformation = this.personalInformation |
|
|
|
let userInfoEntity = { |
|
|
|
let userInfoEntity = { |
|
|
@ -884,7 +883,6 @@ export default { |
|
|
|
if(!this.emailTimer){ |
|
|
|
if(!this.emailTimer){ |
|
|
|
this.emailDisabled = true |
|
|
|
this.emailDisabled = true |
|
|
|
this.emailTimer = setInterval(() => { |
|
|
|
this.emailTimer = setInterval(() => { |
|
|
|
console.log('倒计时中') |
|
|
|
|
|
|
|
if(count > 0){ |
|
|
|
if(count > 0){ |
|
|
|
count-- |
|
|
|
count-- |
|
|
|
this.emailBtnText = `${count}秒后重试` |
|
|
|
this.emailBtnText = `${count}秒后重试` |
|
|
@ -902,7 +900,6 @@ export default { |
|
|
|
if(!this.phoneTimer){ |
|
|
|
if(!this.phoneTimer){ |
|
|
|
this.phoneDisabled = true |
|
|
|
this.phoneDisabled = true |
|
|
|
this.phoneTimer = setInterval(() => { |
|
|
|
this.phoneTimer = setInterval(() => { |
|
|
|
console.log('倒计时中') |
|
|
|
|
|
|
|
if(count > 0){ |
|
|
|
if(count > 0){ |
|
|
|
count-- |
|
|
|
count-- |
|
|
|
this.phoneBtnText = `${count}秒后重试` |
|
|
|
this.phoneBtnText = `${count}秒后重试` |
|
|
|