|
|
@@ -519,6 +519,11 @@
|
|
|
<div v-if="detailIndex < workExpList.filter(exp => exp.workExpId === item.workExpId).length - 1"
|
|
|
class="info-boxsWorks-content-divider"></div>
|
|
|
</div>
|
|
|
+ <!-- 是否屏蔽该公司 -->
|
|
|
+ <div class="flex align-center" style="margin-top: 10px;">
|
|
|
+ <div style="color: #999;font-size: 14px;margin-right: 10px;">不对该公司展示</div>
|
|
|
+ <el-switch :active-value="1" :inactive-value="0" v-model="item.isShield" @change="changeIsDisplay(item)" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!-- 添加/编辑工作经历 -->
|
|
|
<div v-else class="info-boxsWorks-edit flex align-center justify-center">
|
|
|
@@ -1165,6 +1170,26 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 是否屏蔽该公司
|
|
|
+ changeIsDisplay(item) {
|
|
|
+ console.log(item)
|
|
|
+ let data = {
|
|
|
+ workExp: {
|
|
|
+ isShield: item.isShield,
|
|
|
+ workExpId: item.workExpId
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.$Request.post("/app/userFirst/addWorkExp", data, { type: 'json' }).then((res) => {
|
|
|
+ if (res.code == 0) {
|
|
|
+ ElMessage({
|
|
|
+ message: '修改成功',
|
|
|
+ type: 'success',
|
|
|
+ duration: 1500,
|
|
|
+ offset: this.screenHeight / 2
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
updateSalaryRange() {
|
|
|
const { minSalary, maxSalary } = this.intentionJob
|
|
|
if (minSalary && maxSalary && Number(maxSalary) > Number(minSalary)) {
|