|
|
@ -85,7 +85,7 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
</el-step> |
|
|
|
</el-steps> |
|
|
|
</el-steps> |
|
|
|
<div class="stepBoxBtn"> |
|
|
|
<div class="stepBoxBtn" v-if="!userForm.status"> |
|
|
|
<div class="backBtn" @click="back">上一步</div> |
|
|
|
<div class="backBtn" @click="back">上一步</div> |
|
|
|
<div class="nextBtn" v-if="active == 6" @click="saveInfo">提交审核</div> |
|
|
|
<div class="nextBtn" v-if="active == 6" @click="saveInfo">提交审核</div> |
|
|
|
<div class="nextBtn" v-else @click="next">下一步</div> |
|
|
|
<div class="nextBtn" v-else @click="next">下一步</div> |
|
|
@ -116,11 +116,25 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-if="active == 0 && !certifform.applyId" class="addWork" @click="applyBegin">开始验证</div> |
|
|
|
<div |
|
|
|
|
|
|
|
v-if="active == 0 && (!certifform.applyId || certifform.status != 1)" |
|
|
|
|
|
|
|
class="addWork" |
|
|
|
|
|
|
|
@click="applyBegin" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
开始验证 |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="applySuccess" v-if="certifform.applyId && certifform.status == 1"> |
|
|
|
<div class="applySuccess" v-if="certifform.applyId && certifform.status == 1"> |
|
|
|
<img src="/assets/ability/applysuccess.png" alt="" /> |
|
|
|
<img src="/assets/ability/applysuccess.png" alt="" /> |
|
|
|
验证通过 |
|
|
|
验证通过 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div |
|
|
|
|
|
|
|
class="applySuccess" |
|
|
|
|
|
|
|
v-if="certifform.applyId && certifform.status != 1" |
|
|
|
|
|
|
|
style="color: #fc4444" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<img src="/assets/ability/applyfail.png" alt="" /> |
|
|
|
|
|
|
|
验证不通过 |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="active2" v-show="active == 1 || active == 6"> |
|
|
|
<div class="active2" v-show="active == 1 || active == 6"> |
|
|
|
<!-- 工作经历 --> |
|
|
|
<!-- 工作经历 --> |
|
|
@ -465,9 +479,7 @@ export default { |
|
|
|
return { |
|
|
|
return { |
|
|
|
active: 0, |
|
|
|
active: 0, |
|
|
|
// 实名认证 |
|
|
|
// 实名认证 |
|
|
|
certifform: { |
|
|
|
certifform: {}, |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
certifRules: { |
|
|
|
certifRules: { |
|
|
|
name: [ |
|
|
|
name: [ |
|
|
|
{ required: true, message: '真实姓名不能为空', trigger: 'blur' }, |
|
|
|
{ required: true, message: '真实姓名不能为空', trigger: 'blur' }, |
|
|
@ -552,7 +564,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
...mapGetters(['userinform','userId', 'token']), |
|
|
|
...mapGetters(['userinform', 'userId', 'token']), |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
created() { |
|
|
|
this.getCloudAllList() |
|
|
|
this.getCloudAllList() |
|
|
@ -586,6 +598,11 @@ export default { |
|
|
|
// 个人简介 |
|
|
|
// 个人简介 |
|
|
|
if (res.personalInfo) { |
|
|
|
if (res.personalInfo) { |
|
|
|
this.userForm = res.personalInfo |
|
|
|
this.userForm = res.personalInfo |
|
|
|
|
|
|
|
if (!this.userForm.city || !this.userForm.testSkills || !this.userForm.personalAdvantage) { |
|
|
|
|
|
|
|
this.userForm.flag = false |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.userForm.flag = true |
|
|
|
|
|
|
|
} |
|
|
|
this.province = this.userForm.city.split('-')[0] |
|
|
|
this.province = this.userForm.city.split('-')[0] |
|
|
|
this.city = this.userForm.city.split('-')[1] |
|
|
|
this.city = this.userForm.city.split('-')[1] |
|
|
|
|
|
|
|
|
|
|
@ -637,6 +654,8 @@ export default { |
|
|
|
this.$message.success('实名认证成功') |
|
|
|
this.$message.success('实名认证成功') |
|
|
|
this.searchApply() |
|
|
|
this.searchApply() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
this.$message.error('实名认证失败') |
|
|
|
|
|
|
|
this.searchApply() |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch((error) => {}) |
|
|
|
.catch((error) => {}) |
|
|
@ -647,6 +666,8 @@ export default { |
|
|
|
this.$message.success('实名认证成功') |
|
|
|
this.$message.success('实名认证成功') |
|
|
|
this.searchApply() |
|
|
|
this.searchApply() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
this.$message.error('实名认证失败') |
|
|
|
|
|
|
|
this.searchApply() |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch((error) => {}) |
|
|
|
.catch((error) => {}) |
|
|
@ -667,6 +688,26 @@ export default { |
|
|
|
return this.$message.warning('请先通过实名认证') |
|
|
|
return this.$message.warning('请先通过实名认证') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (this.active == 2) { |
|
|
|
|
|
|
|
// 项目经历 |
|
|
|
|
|
|
|
if (this.projectList.length && this.projectList[0].caseId) { |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
return this.$message.warning('至少保存一条项目经历') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.active == 3) { |
|
|
|
|
|
|
|
// 个人简介 |
|
|
|
|
|
|
|
if (!this.userForm.flag) { |
|
|
|
|
|
|
|
return this.$message.warning('请先保存个人简介') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.active == 5) { |
|
|
|
|
|
|
|
// 教育经历 |
|
|
|
|
|
|
|
if (this.educationList.length && this.educationList[0].caseId) { |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
return this.$message.warning('至少保存一条教育经历') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
this.active++ |
|
|
|
this.active++ |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 工作经历添加 |
|
|
|
// 工作经历添加 |
|
|
@ -787,6 +828,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
couldUserInfoAdd(this.userForm).then((res) => { |
|
|
|
couldUserInfoAdd(this.userForm).then((res) => { |
|
|
|
this.$message.success('保存个人简介成功') |
|
|
|
this.$message.success('保存个人简介成功') |
|
|
|
|
|
|
|
this.userForm.flag = true |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|