|
@@ -1,19 +1,8 @@
|
|
<template>
|
|
<template>
|
|
<div id="mainExp">
|
|
<div id="mainExp">
|
|
- <!-- <nut-navbar>
|
|
|
|
- <template v-slot:left>
|
|
|
|
- 我的简历
|
|
|
|
- </template>
|
|
|
|
- </nut-navbar> -->
|
|
|
|
<el-row v-if="loading">
|
|
<el-row v-if="loading">
|
|
<el-col :span="24" style="padding: .625rem 0 .625rem .625rem; background: #409eff;">
|
|
<el-col :span="24" style="padding: .625rem 0 .625rem .625rem; background: #409eff;">
|
|
- <el-row type="flex" justify="end">
|
|
|
|
- <!-- <el-col :span="6" style="text-align: center;">
|
|
|
|
- <el-button icon="el-icon-share" type="primary" style="padding: .3125rem 0rem;">
|
|
|
|
- <span style="font-size: .875rem; color: white;">分享</span>
|
|
|
|
- </el-button>
|
|
|
|
- </el-col> -->
|
|
|
|
- </el-row>
|
|
|
|
|
|
+ <el-row type="flex" justify="end"> </el-row>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6" style="text-align: center;">
|
|
<el-col :span="6" style="text-align: center;">
|
|
<el-avatar :size="80" :src="`${info.avatar_url}?${new Date().getTime()}`" fit="fill"></el-avatar>
|
|
<el-avatar :size="80" :src="`${info.avatar_url}?${new Date().getTime()}`" fit="fill"></el-avatar>
|
|
@@ -27,9 +16,7 @@
|
|
<span style="padding-left:0.625rem"> {{ info.info.xm }}</span>
|
|
<span style="padding-left:0.625rem"> {{ info.info.xm }}</span>
|
|
<i class="el-icon-user-solid" style="color: white;"></i>
|
|
<i class="el-icon-user-solid" style="color: white;"></i>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="3">
|
|
|
|
- <!-- <el-tag class="tagDes" effect="plain"><span style="font-size: .75rem;">已认证</span></el-tag> -->
|
|
|
|
- </el-col>
|
|
|
|
|
|
+ <el-col :span="3"> </el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="topRow">
|
|
<el-col :span="24" class="topRow">
|
|
<el-col>
|
|
<el-col>
|
|
@@ -108,7 +95,7 @@
|
|
<span>
|
|
<span>
|
|
职位分类:
|
|
职位分类:
|
|
<span v-if="info.expect && info.expect.category">
|
|
<span v-if="info.expect && info.expect.category">
|
|
- <font v-for="(item, index) in info.expect.category" :key="index"> {{ item.label }}</font>
|
|
|
|
|
|
+ <font v-for="(item, index) in info.expect.category" :key="index"> {{ item }}</font>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -139,7 +126,7 @@
|
|
<span>
|
|
<span>
|
|
期望城市:
|
|
期望城市:
|
|
<span v-if="info.expect && info.expect.city">
|
|
<span v-if="info.expect && info.expect.city">
|
|
- <font v-for="(item, index) in info.expect.city" :key="index"> {{ item.label }}</font>
|
|
|
|
|
|
+ <font v-for="(item, index) in info.expect.city" :key="index"> {{ item.name }}</font>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -480,7 +467,7 @@ export default {
|
|
}),
|
|
}),
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- ...mapActions(['userOperation', 'resumesOperation']),
|
|
|
|
|
|
+ ...mapActions(['userOperation', 'resumesOperation', 'dicOperation']),
|
|
async search() {
|
|
async search() {
|
|
let result = await this.resumesOperation({ type: 'search', data: { id: this.user.id } });
|
|
let result = await this.resumesOperation({ type: 'search', data: { id: this.user.id } });
|
|
if (result.data !== null) {
|
|
if (result.data !== null) {
|
|
@@ -546,10 +533,9 @@ export default {
|
|
data.abilities = _.get(this.uploads, `abilities`) === undefined ? [] : _.get(this.uploads, `abilities`);
|
|
data.abilities = _.get(this.uploads, `abilities`) === undefined ? [] : _.get(this.uploads, `abilities`);
|
|
data.shows = _.get(this.uploads, `shows`) === undefined ? [] : _.get(this.uploads, `shows`);
|
|
data.shows = _.get(this.uploads, `shows`) === undefined ? [] : _.get(this.uploads, `shows`);
|
|
data.attachments = _.get(this.uploads, `attachments`) === undefined ? [] : _.get(this.uploads, `attachments`);
|
|
data.attachments = _.get(this.uploads, `attachments`) === undefined ? [] : _.get(this.uploads, `attachments`);
|
|
- console.log(data);
|
|
|
|
return data;
|
|
return data;
|
|
},
|
|
},
|
|
- returnData(data) {
|
|
|
|
|
|
+ async returnData(data) {
|
|
if (data.expect.industry) {
|
|
if (data.expect.industry) {
|
|
let ind = data.expect.industry.split(',');
|
|
let ind = data.expect.industry.split(',');
|
|
this.$set(this.expect, `industry`, ind);
|
|
this.$set(this.expect, `industry`, ind);
|
|
@@ -558,19 +544,9 @@ export default {
|
|
let ind = data.expect.city.split(',');
|
|
let ind = data.expect.city.split(',');
|
|
let selected = [];
|
|
let selected = [];
|
|
for (const select of ind) {
|
|
for (const select of ind) {
|
|
- let res = this.provinceList.filter(item => item.label === select);
|
|
|
|
- if (res.length > 0) {
|
|
|
|
- selected = [...selected, ...res];
|
|
|
|
- } else {
|
|
|
|
- let res = this.secondList.filter(item => item.label === select);
|
|
|
|
- if (res.length > 0) {
|
|
|
|
- selected = [...selected, ...res];
|
|
|
|
- } else {
|
|
|
|
- let res = this.secondList1.filter(item => item.label === select);
|
|
|
|
- if (res.length > 0) {
|
|
|
|
- selected = [...selected, ...res];
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ let result = await this.dicOperation({ name: select });
|
|
|
|
+ if (`${result.errcode}` === '0') {
|
|
|
|
+ selected.push(result.data);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.$set(this.expect, `city`, selected);
|
|
this.$set(this.expect, `city`, selected);
|
|
@@ -579,8 +555,7 @@ export default {
|
|
let ind = data.expect.category.split(',');
|
|
let ind = data.expect.category.split(',');
|
|
let arr = [];
|
|
let arr = [];
|
|
for (const select of ind) {
|
|
for (const select of ind) {
|
|
- let result = this.jobTypeList.filter(item => item.label === select);
|
|
|
|
- arr = [...arr, ...result];
|
|
|
|
|
|
+ arr.push(select);
|
|
}
|
|
}
|
|
this.$set(this.expect, `category`, arr);
|
|
this.$set(this.expect, `category`, arr);
|
|
}
|
|
}
|