|
@@ -118,14 +118,13 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="experience-list">
|
|
<view class="experience-list">
|
|
|
- <view class="experience-item" @click.stop="goToWorkExperience(item.workExpId)"
|
|
|
|
|
- v-for="item in detail.workExps">
|
|
|
|
|
|
|
+ <view class="experience-item" v-for="item in detail.workExps">
|
|
|
<view class="company-logo">
|
|
<view class="company-logo">
|
|
|
<image src="../../static/images/index/changsha.svg" class="logo-img" mode="aspectFit">
|
|
<image src="../../static/images/index/changsha.svg" class="logo-img" mode="aspectFit">
|
|
|
</image>
|
|
</image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="experience-content">
|
|
<view class="experience-content">
|
|
|
- <view class="experience-box" v-for="it in item.workExpDetails">
|
|
|
|
|
|
|
+ <view class="experience-box" v-for="it in item.workExpDetails" @click.stop="goToWorkExperience(item.workExpId)">
|
|
|
<view class="job-info-row">
|
|
<view class="job-info-row">
|
|
|
<view class="job-title">{{ it.position }}</view>
|
|
<view class="job-title">{{ it.position }}</view>
|
|
|
<view class="job-department">{{ it.department }}</view>
|
|
<view class="job-department">{{ it.department }}</view>
|
|
@@ -146,6 +145,10 @@
|
|
|
<view class="tag" v-for="skill in it.skills">{{ skill }}</view>
|
|
<view class="tag" v-for="skill in it.skills">{{ skill }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="flex align-center justify-between">
|
|
|
|
|
+ <view style="color: #78828a;font-size: 22rpx;">不对该公司展示</view>
|
|
|
|
|
+ <u-switch v-model="item.isShield" @change="changeIsDisplay(item)"></u-switch>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view @click.stop="commonDelete(item.workExpId, 'workExps')">
|
|
<view @click.stop="commonDelete(item.workExpId, 'workExps')">
|
|
|
<image src="../../static/images/index/delete.svg" class="delete-icon" />
|
|
<image src="../../static/images/index/delete.svg" class="delete-icon" />
|
|
@@ -270,6 +273,28 @@ export default {
|
|
|
uni.$off('skillsUpdated')
|
|
uni.$off('skillsUpdated')
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ // 是否屏蔽该公司
|
|
|
|
|
+ changeIsDisplay(item){
|
|
|
|
|
+ let data = {
|
|
|
|
|
+ workExp:{
|
|
|
|
|
+ isShield:item.isShield?1:0,
|
|
|
|
|
+ workExpId:item.workExpId
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$Request.postJson("/app/userFirst/addWorkExp", data).then((res) => {
|
|
|
|
|
+ if (res.code == 0) {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: "修改成功",
|
|
|
|
|
+ icon: "none"
|
|
|
|
|
+ });
|
|
|
|
|
+ } else {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: res.msg,
|
|
|
|
|
+ icon: "none",
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
goBack() {
|
|
goBack() {
|
|
|
uni.navigateBack();
|
|
uni.navigateBack();
|
|
|
},
|
|
},
|
|
@@ -292,6 +317,7 @@ export default {
|
|
|
} catch (e) {
|
|
} catch (e) {
|
|
|
console.warn('item.type JSON解析失败:', item.type);
|
|
console.warn('item.type JSON解析失败:', item.type);
|
|
|
}
|
|
}
|
|
|
|
|
+ item.isShield = item.isShield == 1?true:false
|
|
|
item.workExpDetails = [];
|
|
item.workExpDetails = [];
|
|
|
res.data.workExpList.forEach(function (it) {
|
|
res.data.workExpList.forEach(function (it) {
|
|
|
console.log(it.skills);
|
|
console.log(it.skills);
|