|
|
|
|
@ -215,10 +215,10 @@
|
|
|
|
|
<div class="maincontentleft" style="padding-top: 50px">
|
|
|
|
|
<div class="tabBar" @click="changeTab($event)">
|
|
|
|
|
<div class="tabSubset" :class="{ active: signType == '' }" data-type="0">全部</div>
|
|
|
|
|
<!-- <div class="tabSubset" :class="{ active: signType == 1 }" data-type="1">自营</div> -->
|
|
|
|
|
<div class="tabSubset" :class="{ active: signType == 1 }" v-if="loginValue.agencyName == '郑州一才工作'" data-type="1">一才</div>
|
|
|
|
|
<!-- <div class="tabSubset" :class="{ active: signType == 2 }" data-type="2">三方</div> -->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="filter" :class="[filterStatus == 0 ? '' : 'nobd']" style>
|
|
|
|
|
<div class="filter" v-show="signType == ''" :class="[filterStatus == 0 ? '' : 'nobd']" style>
|
|
|
|
|
<div class="filter-title" :style="{ top: filterStatus == 0 ? '-32px' : '-21px' }">
|
|
|
|
|
<span>
|
|
|
|
|
<span>
|
|
|
|
|
@ -404,11 +404,14 @@
|
|
|
|
|
<div class="subset" v-for="(item, index) in jobMainList" :key="index" :style="{
|
|
|
|
|
background: item.recruitment == '1' ? '#fff' : '#f5f5f5',
|
|
|
|
|
}">
|
|
|
|
|
<router-link target="_blank" :to="'/detail?' + 'id=' + item.id + '&' + 'page=' + formvalue.pageNum" rel="opener">
|
|
|
|
|
|
|
|
|
|
<!-- v-if="signType == ''" -->
|
|
|
|
|
|
|
|
|
|
<router-link target="_blank" :to="signType == '' ? ('/detail?' + 'id=' + item.id + '&' + 'page=' + formvalue.pageNum) : ('/detailYicai?' + 'id=' + item.id)" rel="opener">
|
|
|
|
|
<div class="subsetleft" @click="totop">
|
|
|
|
|
<div class="imgbox">
|
|
|
|
|
<img v-if="item.logo.length !== 0" :src="item.logo" />
|
|
|
|
|
<div v-else class="default_avatar">{{item.brandName}}</div>
|
|
|
|
|
<div v-else class="default_avatar">{{item.brandName || item.jobName}}</div>
|
|
|
|
|
<!-- <img v-else src="../../../static/img/nopicture.png" /> -->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="jobinfobox">
|
|
|
|
|
@ -435,7 +438,7 @@
|
|
|
|
|
<span v-for="(item1, index) in item.jobSpecialLabelNames" :key="index">{{ item1 }}</span>
|
|
|
|
|
<span v-if="item.jobSpecialLabelNames.length == 0">暂无特色</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="jobpricemonth">
|
|
|
|
|
<div class="jobpricemonth" v-if="item.minMonthlyPay">
|
|
|
|
|
<!-- :style="{ opacity: item.minMonthlyPay ? '1' : '0' }" -->
|
|
|
|
|
|
|
|
|
|
<span>{{ item.minMonthlyPay ? item.minMonthlyPay : "" }}</span>-
|
|
|
|
|
@ -471,7 +474,7 @@
|
|
|
|
|
<span v-if="item.jobDesp" :class="'copyInfo' + index">{{ item.jobDesp }}</span
|
|
|
|
|
><span v-else>暂无详单</span>
|
|
|
|
|
</template>-->
|
|
|
|
|
<router-link target="_blank" :to="'/detail?' + 'id=' + item.id + '&' + 'page=' + formvalue.pageNum" rel="opener">
|
|
|
|
|
<router-link target="_blank" :to="signType == '' ? ('/detail?' + 'id=' + item.id + '&' + 'page=' + formvalue.pageNum) : ('/detailYicai?' + 'id=' + item.id)" rel="opener">
|
|
|
|
|
<button type="primary" class="jobDesp br4" :style="{
|
|
|
|
|
background: item.recruitment == '1' ? '#fff' : '#f5f5f5',
|
|
|
|
|
}">更多</button>
|
|
|
|
|
@ -555,7 +558,7 @@ import Clipboard from 'clipboard'
|
|
|
|
|
// import recordbill from "@/components/FirstJob/components/recordbill.vue";
|
|
|
|
|
export default {
|
|
|
|
|
// 注入获取职位列表的方法
|
|
|
|
|
inject: ['getJobList', 'reload'],
|
|
|
|
|
inject: ['getJobList','getJobListYicai', 'reload'],
|
|
|
|
|
// 组件名称
|
|
|
|
|
name: '',
|
|
|
|
|
// 局部注册的组件
|
|
|
|
|
@ -623,6 +626,7 @@ export default {
|
|
|
|
|
proxyinfo: JSON.parse(localStorage.getItem('LOGIN_DATA')),
|
|
|
|
|
nationlist: nationlist,
|
|
|
|
|
specialHotTag: [],
|
|
|
|
|
loginValue:{},
|
|
|
|
|
dateinfo: {
|
|
|
|
|
day: '',
|
|
|
|
|
week: '',
|
|
|
|
|
@ -816,12 +820,18 @@ export default {
|
|
|
|
|
// console.log(this.proxyinfo);
|
|
|
|
|
// console.log(this.$route);
|
|
|
|
|
this.currentPage = this.$route.params.pagenum
|
|
|
|
|
this.signType = this.$route.params.signType ? this.$route.params.signType : ''
|
|
|
|
|
if (this.currentPage) {
|
|
|
|
|
// console.log(this.currentPage);
|
|
|
|
|
this.formvalue.pageNum = this.currentPage
|
|
|
|
|
}
|
|
|
|
|
// this.reload();
|
|
|
|
|
this.getJobList()
|
|
|
|
|
if(this.signType == ''){
|
|
|
|
|
this.getJobList()
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
this.getJobListYicai()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.getJobSpecial()
|
|
|
|
|
this.getProvince()
|
|
|
|
|
this.getdateinfo()
|
|
|
|
|
@ -843,12 +853,16 @@ export default {
|
|
|
|
|
} else {
|
|
|
|
|
this.getPosition()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* el 被新创建的 vm.el 替换,并挂载到实例上去之后调用该钩子。
|
|
|
|
|
* 如果 root 实例挂载了一个文档内元素,当 mounted 被调用时 vm.el 也在文档内。
|
|
|
|
|
*/
|
|
|
|
|
mounted() {},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.loginValue = localStorage.getItem('LOGIN_DATA') !== null ? JSON.parse(localStorage.getItem('LOGIN_DATA')) : { tel: '' }
|
|
|
|
|
console.log(this.loginValue)
|
|
|
|
|
},
|
|
|
|
|
// 组件方法
|
|
|
|
|
methods: {
|
|
|
|
|
// 处理筛选框的定位
|
|
|
|
|
@ -1067,11 +1081,13 @@ export default {
|
|
|
|
|
if (e.target.dataset.type != undefined) {
|
|
|
|
|
if (e.target.dataset.type != 0) {
|
|
|
|
|
this.formvalue.signType = this.signType = e.target.dataset.type
|
|
|
|
|
this.getJobListYicai()
|
|
|
|
|
} else {
|
|
|
|
|
this.formvalue.signType = this.signType = ''
|
|
|
|
|
this.formvalue.pageNum = 1
|
|
|
|
|
this.getJobList()
|
|
|
|
|
}
|
|
|
|
|
this.formvalue.pageNum = 1
|
|
|
|
|
this.getJobList()
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
async getJobSpecialList() {
|
|
|
|
|
@ -1334,9 +1350,14 @@ export default {
|
|
|
|
|
// 跳转到路由新页面的方法
|
|
|
|
|
// console.log(item);
|
|
|
|
|
// let userinfo = JSON.stringify(item);
|
|
|
|
|
|
|
|
|
|
this.$router.push({ name: 'recordbill', params: item })
|
|
|
|
|
sessionStorage.setItem('CURRENT_FIRM', JSON.stringify(item))
|
|
|
|
|
if(this.signType == ''){
|
|
|
|
|
this.$router.push({ name: 'recordbill', params: item })
|
|
|
|
|
sessionStorage.setItem('CURRENT_FIRM', JSON.stringify(item))
|
|
|
|
|
}else if(this.signType == '1'){
|
|
|
|
|
this.$router.push({ name: 'recordbillYicai', params: item })
|
|
|
|
|
sessionStorage.setItem('CURRENT_FIRM_YICAI', JSON.stringify(item))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
getSalaryClassifyValue(salaryClassify, salaryClassifyValue) {
|
|
|
|
|
return getSalaryClassifyValue(salaryClassify, salaryClassifyValue)
|
|
|
|
|
@ -1422,7 +1443,9 @@ export default {
|
|
|
|
|
this.classifyList = data.data.labels
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
let fileterContent = document.querySelector('.filter-content')
|
|
|
|
|
this.filterHeight = fileterContent.scrollHeight
|
|
|
|
|
if(isNotEmptyCheck(fileterContent.scrollHeight)){
|
|
|
|
|
this.filterHeight = fileterContent.scrollHeight
|
|
|
|
|
}
|
|
|
|
|
// fileterContent.style.height = this.filterHeight + "px";
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|