|
@@ -82,7 +82,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="experience-item" v-for="(exp, index) in workExperiences" :key="index">
|
|
|
|
|
|
|
+ <view class="experience-item" v-for="(exp, index) in workExperiences" :key="index" @click.stop="goToWorkExperience(exp.workExpId)">
|
|
|
<view class="job-content">
|
|
<view class="job-content">
|
|
|
<view class="job-icon">
|
|
<view class="job-icon">
|
|
|
<image src="/static/images/jobApplicant/xuexiao.svg" mode="scaleToFill" />
|
|
<image src="/static/images/jobApplicant/xuexiao.svg" mode="scaleToFill" />
|
|
@@ -106,9 +106,17 @@
|
|
|
<view class="yuan">·</view>
|
|
<view class="yuan">·</view>
|
|
|
<view class="duration">{{ it.startTime }} - {{ it.endTime }}</view>
|
|
<view class="duration">{{ it.startTime }} - {{ it.endTime }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="exp-content">
|
|
|
|
|
|
|
+ <!-- <view class="exp-content">
|
|
|
<view class="content-label">{{ it.workContent }}</view>
|
|
<view class="content-label">{{ it.workContent }}</view>
|
|
|
- </view>
|
|
|
|
|
|
|
+ </view> -->
|
|
|
|
|
+ <view style="margin-bottom: 10rpx;font-size: 22rpx;">工作内容</view>
|
|
|
|
|
+ <view class="content-label">
|
|
|
|
|
+ {{ it.workContent }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view style="margin: 12rpx 0;font-size: 22rpx;">工作业绩</view>
|
|
|
|
|
+ <view class="content-label">
|
|
|
|
|
+ {{it.workPerformance}}
|
|
|
|
|
+ </view>
|
|
|
<view class="exp-content">
|
|
<view class="exp-content">
|
|
|
<view class="skill-tags">
|
|
<view class="skill-tags">
|
|
|
<view class="tag" v-for="skill in it.skills">{{ skill }}</view>
|
|
<view class="tag" v-for="skill in it.skills">{{ skill }}</view>
|
|
@@ -126,13 +134,13 @@
|
|
|
<view class="form-item required">
|
|
<view class="form-item required">
|
|
|
<view class="job-title">
|
|
<view class="job-title">
|
|
|
<view class="job-title-txt">教育经历</view>
|
|
<view class="job-title-txt">教育经历</view>
|
|
|
- <image @click="goEducationalBackground" class="job-image" src="@/static/images/jobApplicant/edit.svg"
|
|
|
|
|
|
|
+ <image @click="goEducationalBackground('')" class="job-image" src="@/static/images/jobApplicant/edit.svg"
|
|
|
mode="scaleToFill" />
|
|
mode="scaleToFill" />
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="experience-item" v-for="(item, index) in eduList" :key="index">
|
|
|
|
|
|
|
+ <view class="experience-item" v-for="(item, index) in eduList" :key="index" @click.stop="goEducationalBackground(item.eduId)">
|
|
|
<view class="job-content">
|
|
<view class="job-content">
|
|
|
<view class="job-icon">
|
|
<view class="job-icon">
|
|
|
<image src="/static/images/jobApplicant/bumen.svg" mode="scaleToFill" />
|
|
<image src="/static/images/jobApplicant/bumen.svg" mode="scaleToFill" />
|
|
@@ -274,6 +282,7 @@ export default {
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
|
|
+ hasEcommerceExperience: false,
|
|
|
eduList: [{
|
|
eduList: [{
|
|
|
school: "学校时间",
|
|
school: "学校时间",
|
|
|
profession: "专业",
|
|
profession: "专业",
|
|
@@ -300,6 +309,8 @@ export default {
|
|
|
var that = this
|
|
var that = this
|
|
|
this.$Request.getT("/app/userFirst/getUserResumes", {}).then((res) => {
|
|
this.$Request.getT("/app/userFirst/getUserResumes", {}).then((res) => {
|
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
|
|
|
+ that.hasEcommerceExperience = res.data.resumeList && res.data.resumeList.ifExp ? true :
|
|
|
|
|
+ false
|
|
|
res.data.workExps.forEach(function (item) {
|
|
res.data.workExps.forEach(function (item) {
|
|
|
item.type = JSON.parse(item.type)
|
|
item.type = JSON.parse(item.type)
|
|
|
item.workExpDetails = []
|
|
item.workExpDetails = []
|
|
@@ -340,8 +351,10 @@ export default {
|
|
|
goWorkProgress() {
|
|
goWorkProgress() {
|
|
|
uni.navigateTo({ url: '/pages/my/workExperience' })
|
|
uni.navigateTo({ url: '/pages/my/workExperience' })
|
|
|
},
|
|
},
|
|
|
- goEducationalBackground() {
|
|
|
|
|
- uni.navigateTo({ url: '/pages/my/educationExperience' })
|
|
|
|
|
|
|
+ goEducationalBackground(id = '') {
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: `/pages/my/educationExperience?id=${id}`
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
// 选择头像
|
|
// 选择头像
|
|
|
async chooseAvatar() {
|
|
async chooseAvatar() {
|
|
@@ -388,7 +401,21 @@ export default {
|
|
|
skills: "请填写面试技能要求",
|
|
skills: "请填写面试技能要求",
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ goToWorkExperience(id = '') {
|
|
|
|
|
+ // 获取业务类型数据
|
|
|
|
|
+ const businessTypes = this.getBusinessTypes()
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: `/pages/my/workExperience?id=${id}&businessTypes=${encodeURIComponent(JSON.stringify(businessTypes))}`
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ getBusinessTypes() {
|
|
|
|
|
+ // 根据是否有跨境电商经验返回业务类型
|
|
|
|
|
+ if (this.hasEcommerceExperience) {
|
|
|
|
|
+ return ['0']
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return []
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
// 删除工作经历
|
|
// 删除工作经历
|
|
|
removeWorkExperience(index) {
|
|
removeWorkExperience(index) {
|
|
|
if (this.workExperiences.length > 1) {
|
|
if (this.workExperiences.length > 1) {
|
|
@@ -760,6 +787,7 @@ export default {
|
|
|
line-height: 20rpx;
|
|
line-height: 20rpx;
|
|
|
text-align: left;
|
|
text-align: left;
|
|
|
margin-bottom: 10rpx;
|
|
margin-bottom: 10rpx;
|
|
|
|
|
+ white-space: pre-wrap;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.skill-tags {
|
|
.skill-tags {
|