|
|
|
|
@ -23,13 +23,35 @@
|
|
|
|
|
>
|
|
|
|
|
</a-modal> -->
|
|
|
|
|
<!-- 城市的弹出框 -->
|
|
|
|
|
<a-modal class="cityModal" transitionName="" v-model="visible" width="680px" @cancel="cityModalClose" title="请选择城市" :footer="null">
|
|
|
|
|
<div class="inputBox"><a-input placeholder="请输入城市名称" allow-clear width="300px" v-model="cityValue" @keyup.enter="searchCity" @input="resetCityList"></a-input><a-button @click="searchCity">确认</a-button></div>
|
|
|
|
|
<a-modal
|
|
|
|
|
class="cityModal"
|
|
|
|
|
transitionName=""
|
|
|
|
|
v-model="visible"
|
|
|
|
|
width="680px"
|
|
|
|
|
@cancel="cityModalClose"
|
|
|
|
|
title="请选择城市"
|
|
|
|
|
:footer="null"
|
|
|
|
|
>
|
|
|
|
|
<div class="inputBox">
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="请输入城市名称"
|
|
|
|
|
allow-clear
|
|
|
|
|
width="300px"
|
|
|
|
|
v-model="cityValue"
|
|
|
|
|
@keyup.enter="searchCity"
|
|
|
|
|
@input="resetCityList"
|
|
|
|
|
></a-input
|
|
|
|
|
><a-button @click="searchCity">确认</a-button>
|
|
|
|
|
</div>
|
|
|
|
|
<ul class="firstList">
|
|
|
|
|
<li @click="[(currentCityList = hotCityList), (activeInd = -1)]">
|
|
|
|
|
<div :class="activeInd == -1 ? 'active' : ''">热门地区</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li v-for="(item, index) in hasJobCityList.firstList" :key="index" @click="[changeCurrentCity(index), (activeInd = index)]">
|
|
|
|
|
<li
|
|
|
|
|
v-for="(item, index) in hasJobCityList.firstList"
|
|
|
|
|
:key="index"
|
|
|
|
|
@click="[changeCurrentCity(index), (activeInd = index)]"
|
|
|
|
|
>
|
|
|
|
|
<div :class="activeInd == index ? 'active' : ''">
|
|
|
|
|
<span v-for="i in item" :key="i">{{ i }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
@ -184,11 +206,39 @@
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul> -->
|
|
|
|
|
<div class="searchBox" @blur="hidedownHotStore" @focus="showHotStore" tabindex="0" outline="0" hidefocus="true">
|
|
|
|
|
<a-input placeholder="搜索职位、企业名称、年龄要求" @keyup.enter="onSearch" @input="resetsearch" @blur="hidedownHotStore" @focus="showHotStore" tabindex="0" v-model="searchValue" class="searchinput" style="" allow-clear>
|
|
|
|
|
<div slot="prefix" @focus.stop="" tabindex="0" @click.stop="visible = true">
|
|
|
|
|
<div
|
|
|
|
|
class="searchBox"
|
|
|
|
|
@blur="hidedownHotStore"
|
|
|
|
|
@focus="showHotStore"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
outline="0"
|
|
|
|
|
hidefocus="true"
|
|
|
|
|
>
|
|
|
|
|
<a-input
|
|
|
|
|
placeholder="搜索职位、企业名称、年龄要求"
|
|
|
|
|
@keyup.enter="onSearch"
|
|
|
|
|
@input="resetsearch"
|
|
|
|
|
@blur="hidedownHotStore"
|
|
|
|
|
@focus="showHotStore"
|
|
|
|
|
tabindex="0"
|
|
|
|
|
v-model="searchValue"
|
|
|
|
|
class="searchinput"
|
|
|
|
|
style=""
|
|
|
|
|
allow-clear
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
slot="prefix"
|
|
|
|
|
@focus.stop=""
|
|
|
|
|
tabindex="0"
|
|
|
|
|
@click.stop="visible = true"
|
|
|
|
|
>
|
|
|
|
|
<span>{{ currentCity }}</span
|
|
|
|
|
><i class="iconfont icon-sousuoxiala"></i><i class="iconfont icon-guanbishixin" v-show="currentCity != '全国'" @click.stop="resetCity"></i>
|
|
|
|
|
><i class="iconfont icon-sousuoxiala"></i
|
|
|
|
|
><i
|
|
|
|
|
class="iconfont icon-guanbishixin"
|
|
|
|
|
v-show="currentCity != '全国'"
|
|
|
|
|
@click.stop="resetCity"
|
|
|
|
|
></i>
|
|
|
|
|
</div>
|
|
|
|
|
<button slot="suffix" @click="onSearch" style="">搜索</button>
|
|
|
|
|
</a-input>
|
|
|
|
|
@ -202,7 +252,11 @@
|
|
|
|
|
<div class="hotStore">
|
|
|
|
|
<!-- <span>热门企业:</span> -->
|
|
|
|
|
<ul>
|
|
|
|
|
<li v-for="(item, index) in hotStoreList" :key="index" @click="getHotStoreList(item)">
|
|
|
|
|
<li
|
|
|
|
|
v-for="(item, index) in hotStoreList"
|
|
|
|
|
:key="index"
|
|
|
|
|
@click="getHotStoreList(item)"
|
|
|
|
|
>
|
|
|
|
|
{{ item.storeName }}
|
|
|
|
|
</li>
|
|
|
|
|
<!-- <li @click="resetResult" style="color: #aaa">重置</li> -->
|
|
|
|
|
@ -237,18 +291,60 @@
|
|
|
|
|
<div class="w" id="maincontent">
|
|
|
|
|
<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 == 2 }" data-type="2">三方</div>
|
|
|
|
|
<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 == 2 }"
|
|
|
|
|
data-type="2"
|
|
|
|
|
>
|
|
|
|
|
三方
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="filter" :class="[filterStatus == 0 ? '' : 'nobd']" style="">
|
|
|
|
|
<div class="filter-title" :style="{ top: filterStatus == 0 ? '-32px' : '-21px' }">
|
|
|
|
|
<div
|
|
|
|
|
class="filter-title"
|
|
|
|
|
:style="{ top: filterStatus == 0 ? '-32px' : '-21px' }"
|
|
|
|
|
>
|
|
|
|
|
<span
|
|
|
|
|
><span>所有筛选<i class="iconfont icon-youjiantou"></i></span>
|
|
|
|
|
<span class="filter-show">
|
|
|
|
|
<span @click="delFilter($event, 'price')" v-show="filterObj.price">{{ filterObj.price }}<i class="iconfont icon-guanbi2" v-show="filterObj.price"></i></span>
|
|
|
|
|
<span @click="delFilter($event, 'gender')" v-show="filterObj.gender">{{ filterObj.gender }}<i class="iconfont icon-guanbi2" v-show="filterObj.gender"></i></span>
|
|
|
|
|
<span @click="delFilter($event, 'special', item)" v-for="(item, index) in filterObj.specialactive" :key="index">{{ item.name }}<i class="iconfont icon-guanbi2"></i></span>
|
|
|
|
|
<span
|
|
|
|
|
@click="delFilter($event, 'price')"
|
|
|
|
|
v-show="filterObj.price"
|
|
|
|
|
>{{ filterObj.price
|
|
|
|
|
}}<i
|
|
|
|
|
class="iconfont icon-guanbi2"
|
|
|
|
|
v-show="filterObj.price"
|
|
|
|
|
></i
|
|
|
|
|
></span>
|
|
|
|
|
<span
|
|
|
|
|
@click="delFilter($event, 'gender')"
|
|
|
|
|
v-show="filterObj.gender"
|
|
|
|
|
>{{ filterObj.gender
|
|
|
|
|
}}<i
|
|
|
|
|
class="iconfont icon-guanbi2"
|
|
|
|
|
v-show="filterObj.gender"
|
|
|
|
|
></i
|
|
|
|
|
></span>
|
|
|
|
|
<span
|
|
|
|
|
@click="delFilter($event, 'special', item)"
|
|
|
|
|
v-for="(item, index) in filterObj.specialactive"
|
|
|
|
|
:key="index"
|
|
|
|
|
>{{ item.name }}<i class="iconfont icon-guanbi2"></i
|
|
|
|
|
></span>
|
|
|
|
|
<i v-show="showDotted" style="line-height: 24px">...</i>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
@ -257,7 +353,8 @@
|
|
|
|
|
}}<i
|
|
|
|
|
class="iconfont icon-sousuoxiala"
|
|
|
|
|
:style="{
|
|
|
|
|
transform: filterStatus == 0 ? 'rotate(180deg) scale(.6)' : '',
|
|
|
|
|
transform:
|
|
|
|
|
filterStatus == 0 ? 'rotate(180deg) scale(.6)' : '',
|
|
|
|
|
}"
|
|
|
|
|
></i
|
|
|
|
|
></span>
|
|
|
|
|
@ -331,7 +428,12 @@
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>性别:</dt>
|
|
|
|
|
<dd @click="searchGender">
|
|
|
|
|
<span :style="{ color: filterObj.gender == '男' ? '#ff4400' : '' }">男</span><span :style="{ color: filterObj.gender == '女' ? '#ff4400' : '' }">女</span
|
|
|
|
|
<span
|
|
|
|
|
:style="{ color: filterObj.gender == '男' ? '#ff4400' : '' }"
|
|
|
|
|
>男</span
|
|
|
|
|
><span
|
|
|
|
|
:style="{ color: filterObj.gender == '女' ? '#ff4400' : '' }"
|
|
|
|
|
>女</span
|
|
|
|
|
><span
|
|
|
|
|
:style="{
|
|
|
|
|
color: filterObj.gender == '男女不限' ? '#ff4400' : '',
|
|
|
|
|
@ -347,7 +449,8 @@
|
|
|
|
|
v-for="(item, index) in tagArray1"
|
|
|
|
|
:key="index"
|
|
|
|
|
:class="{
|
|
|
|
|
'special-active': filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
'special-active':
|
|
|
|
|
filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
}"
|
|
|
|
|
@click.stop="specialclick(index, item)"
|
|
|
|
|
>{{ item.name }}</span
|
|
|
|
|
@ -361,7 +464,8 @@
|
|
|
|
|
v-for="(item, index) in tagArray3"
|
|
|
|
|
:key="index"
|
|
|
|
|
:class="{
|
|
|
|
|
'special-active': filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
'special-active':
|
|
|
|
|
filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
}"
|
|
|
|
|
@click.stop="specialclick(index, item)"
|
|
|
|
|
>{{ item.name }}</span
|
|
|
|
|
@ -375,7 +479,8 @@
|
|
|
|
|
v-for="(item, index) in tagArray0"
|
|
|
|
|
:key="index"
|
|
|
|
|
:class="{
|
|
|
|
|
'special-active': filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
'special-active':
|
|
|
|
|
filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
}"
|
|
|
|
|
@click.stop="specialclick(index, item)"
|
|
|
|
|
>{{ item.name }}</span
|
|
|
|
|
@ -389,7 +494,8 @@
|
|
|
|
|
v-for="(item, index) in tagArray4"
|
|
|
|
|
:key="index"
|
|
|
|
|
:class="{
|
|
|
|
|
'special-active': filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
'special-active':
|
|
|
|
|
filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
}"
|
|
|
|
|
@click.stop="specialclick(index, item)"
|
|
|
|
|
>{{ item.name }}</span
|
|
|
|
|
@ -403,7 +509,8 @@
|
|
|
|
|
v-for="(item, index) in tagArray2"
|
|
|
|
|
:key="index"
|
|
|
|
|
:class="{
|
|
|
|
|
'special-active': filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
'special-active':
|
|
|
|
|
filterObj.specialactive.indexOf(item) > -1,
|
|
|
|
|
}"
|
|
|
|
|
@click.stop="specialclick(index, item)"
|
|
|
|
|
>{{ item.name }}</span
|
|
|
|
|
@ -426,7 +533,13 @@
|
|
|
|
|
|
|
|
|
|
<div v-if="!isspinning">
|
|
|
|
|
<div class="subset" v-for="(item, index) in jobMainList" :key="index">
|
|
|
|
|
<router-link target="_blank" :to="'/detail?' + 'id=' + item.id + '&' + 'page=' + formvalue.pageNum" rel="opener">
|
|
|
|
|
<router-link
|
|
|
|
|
target="_blank"
|
|
|
|
|
:to="
|
|
|
|
|
'/detail?' + 'id=' + item.id + '&' + 'page=' + formvalue.pageNum
|
|
|
|
|
"
|
|
|
|
|
rel="opener"
|
|
|
|
|
>
|
|
|
|
|
<div class="subsetleft" @click="totop">
|
|
|
|
|
<div class="imgbox">
|
|
|
|
|
<img v-if="item.logo.length !== 0" :src="item.logo" />
|
|
|
|
|
@ -447,18 +560,39 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="jobtag">
|
|
|
|
|
<!-- <span>返费</span> -->
|
|
|
|
|
<i class="iconfont icon-ziying" v-if="item.signType == 1" style=""></i>
|
|
|
|
|
<span v-for="(item1, index) in item.jobSpecialLabelNames" :key="index">{{ item1 }}</span
|
|
|
|
|
><span v-if="item.jobSpecialLabelNames.length == 0">暂无特色</span>
|
|
|
|
|
<i
|
|
|
|
|
class="iconfont icon-ziying"
|
|
|
|
|
v-if="item.signType == 1"
|
|
|
|
|
style=""
|
|
|
|
|
></i>
|
|
|
|
|
<span
|
|
|
|
|
v-for="(item1, index) in item.jobSpecialLabelNames"
|
|
|
|
|
:key="index"
|
|
|
|
|
>{{ item1 }}</span
|
|
|
|
|
><span v-if="item.jobSpecialLabelNames.length == 0"
|
|
|
|
|
>暂无特色</span
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="jobpricemonth">
|
|
|
|
|
<!-- :style="{ opacity: item.minMonthlyPay ? '1' : '0' }" -->
|
|
|
|
|
|
|
|
|
|
<span>{{ item.minMonthlyPay ? item.minMonthlyPay : "" }}</span
|
|
|
|
|
>-<span>{{ item.maxMonthlyPay ? item.maxMonthlyPay : "" }}</span
|
|
|
|
|
<span>{{
|
|
|
|
|
item.minMonthlyPay ? item.minMonthlyPay : ""
|
|
|
|
|
}}</span
|
|
|
|
|
>-<span>{{
|
|
|
|
|
item.maxMonthlyPay ? item.maxMonthlyPay : ""
|
|
|
|
|
}}</span
|
|
|
|
|
>元/月
|
|
|
|
|
</div>
|
|
|
|
|
<div class="jobpricehour" v-html="getSalaryClassifyValue(item.salaryClassify, item.salaryClassifyValue)">
|
|
|
|
|
<div
|
|
|
|
|
class="jobpricehour"
|
|
|
|
|
v-html="
|
|
|
|
|
getSalaryClassifyValue(
|
|
|
|
|
item.salaryClassify,
|
|
|
|
|
item.salaryClassifyValue
|
|
|
|
|
)
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<!-- <template v-if="item.hourlyPay"
|
|
|
|
|
><span>{{ item.hourlyPay }}</span
|
|
|
|
|
>元/小时</template
|
|
|
|
|
@ -474,7 +608,10 @@
|
|
|
|
|
<div class="subsetright">
|
|
|
|
|
<div class="topContainer">
|
|
|
|
|
<div class="updateTime" style="display: none">
|
|
|
|
|
<span>更新时间:{{ item.updateTime || "--" }} ( {{ item.diffTime || "--" }} ) </span>
|
|
|
|
|
<span
|
|
|
|
|
>更新时间:{{ item.updateTime || "--" }} (
|
|
|
|
|
{{ item.diffTime || "--" }} )
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="topbox">
|
|
|
|
|
<div>服务费</div>
|
|
|
|
|
@ -488,7 +625,22 @@
|
|
|
|
|
<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"> <button type="primary" class="jobDesp">更多</button></router-link>
|
|
|
|
|
<router-link
|
|
|
|
|
target="_blank"
|
|
|
|
|
:to="
|
|
|
|
|
'/detail?' +
|
|
|
|
|
'id=' +
|
|
|
|
|
item.id +
|
|
|
|
|
'&' +
|
|
|
|
|
'page=' +
|
|
|
|
|
formvalue.pageNum
|
|
|
|
|
"
|
|
|
|
|
rel="opener"
|
|
|
|
|
>
|
|
|
|
|
<button type="primary" class="jobDesp">
|
|
|
|
|
更多
|
|
|
|
|
</button></router-link
|
|
|
|
|
>
|
|
|
|
|
<!-- </a-popover> -->
|
|
|
|
|
<button @click="torecord(item)">报名</button>
|
|
|
|
|
|
|
|
|
|
@ -498,8 +650,21 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pagecontainer">
|
|
|
|
|
<a-pagination :current="+formvalue.pageNum" :default-current="1" :defaultPageSize="8" :total="formvalue.total" @change="pageChange" />
|
|
|
|
|
<div class="ant-pagination-options-quick-jumper">跳至<input ref="pageinput" type="text" @keyup.enter="inputpageChange" @blur="inputpageChange" />页</div>
|
|
|
|
|
<a-pagination
|
|
|
|
|
:current="+formvalue.pageNum"
|
|
|
|
|
:default-current="1"
|
|
|
|
|
:defaultPageSize="8"
|
|
|
|
|
:total="formvalue.total"
|
|
|
|
|
@change="pageChange"
|
|
|
|
|
/>
|
|
|
|
|
<div class="ant-pagination-options-quick-jumper">
|
|
|
|
|
跳至<input
|
|
|
|
|
ref="pageinput"
|
|
|
|
|
type="text"
|
|
|
|
|
@keyup.enter="inputpageChange"
|
|
|
|
|
@blur="inputpageChange"
|
|
|
|
|
/>页
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="maincontentright">
|
|
|
|
|
@ -547,7 +712,11 @@ import {
|
|
|
|
|
getHotStoreApi,
|
|
|
|
|
// getCityApi,
|
|
|
|
|
} from "../../api/job";
|
|
|
|
|
import { moneyToFixed, getSalaryClassifyValue, isNotEmptyCheck } from "../../utils/commonUtil";
|
|
|
|
|
import {
|
|
|
|
|
moneyToFixed,
|
|
|
|
|
getSalaryClassifyValue,
|
|
|
|
|
isNotEmptyCheck,
|
|
|
|
|
} from "../../utils/commonUtil";
|
|
|
|
|
import recommend from "@/components/FirstJob/components/recommend.vue";
|
|
|
|
|
import { nationlist } from "../../utils/datalist";
|
|
|
|
|
import Clipboard from "clipboard";
|
|
|
|
|
@ -848,7 +1017,10 @@ export default {
|
|
|
|
|
console.log(typeof this.searchValue.trim());
|
|
|
|
|
if (this.searchValue.trim() !== "") {
|
|
|
|
|
this.formvalue.pageNum = 1;
|
|
|
|
|
if (typeof +this.searchValue.trim() == "number" && !isNaN(+this.searchValue.trim())) {
|
|
|
|
|
if (
|
|
|
|
|
typeof +this.searchValue.trim() == "number" &&
|
|
|
|
|
!isNaN(+this.searchValue.trim())
|
|
|
|
|
) {
|
|
|
|
|
this.formvalue.ageStr = this.searchValue.trim();
|
|
|
|
|
} else {
|
|
|
|
|
this.formvalue.aliasName = this.searchValue.trim();
|
|
|
|
|
@ -880,8 +1052,16 @@ export default {
|
|
|
|
|
} else if (e.target.nodeName == "BUTTON") {
|
|
|
|
|
console.log(this.minMonthlyPay);
|
|
|
|
|
console.log(this.maxMonthlyPay);
|
|
|
|
|
if (this.minMonthlyPay.length != 0 && this.maxMonthlyPay.length != 0 && typeof +this.minMonthlyPay == "number" && typeof +this.maxMonthlyPay == "number" && !isNaN(+this.minMonthlyPay) && !isNaN(+this.maxMonthlyPay)) {
|
|
|
|
|
this.formvalue.monthlyPayStr = this.minMonthlyPay + "-" + this.maxMonthlyPay;
|
|
|
|
|
if (
|
|
|
|
|
this.minMonthlyPay.length != 0 &&
|
|
|
|
|
this.maxMonthlyPay.length != 0 &&
|
|
|
|
|
typeof +this.minMonthlyPay == "number" &&
|
|
|
|
|
typeof +this.maxMonthlyPay == "number" &&
|
|
|
|
|
!isNaN(+this.minMonthlyPay) &&
|
|
|
|
|
!isNaN(+this.maxMonthlyPay)
|
|
|
|
|
) {
|
|
|
|
|
this.formvalue.monthlyPayStr =
|
|
|
|
|
this.minMonthlyPay + "-" + this.maxMonthlyPay;
|
|
|
|
|
this.filterObj.price = this.formvalue.monthlyPayStr;
|
|
|
|
|
this.getJobList();
|
|
|
|
|
}
|
|
|
|
|
@ -922,7 +1102,12 @@ export default {
|
|
|
|
|
// 获取职位特色
|
|
|
|
|
getJobSpecial() {
|
|
|
|
|
if (isNotEmptyCheck(localStorage.getItem("SPECIALLIST"))) {
|
|
|
|
|
if (new Date(new Date().getTime() - JSON.parse(localStorage.getItem("SPECIALLIST")).timestamp).getHours() > 2) {
|
|
|
|
|
if (
|
|
|
|
|
new Date(
|
|
|
|
|
new Date().getTime() -
|
|
|
|
|
JSON.parse(localStorage.getItem("SPECIALLIST")).timestamp
|
|
|
|
|
).getHours() > 2
|
|
|
|
|
) {
|
|
|
|
|
this.getJobSpecialList().then((res) => {
|
|
|
|
|
this.specialList = res;
|
|
|
|
|
this.specialList.forEach((item) => {
|
|
|
|
|
@ -937,7 +1122,11 @@ export default {
|
|
|
|
|
} else if (item.typeClassify == "4") {
|
|
|
|
|
this.tagArray4.push(item);
|
|
|
|
|
}
|
|
|
|
|
if (item.name == "大龄工" || item.name == "暑假工" || item.name == "长白班") {
|
|
|
|
|
if (
|
|
|
|
|
item.name == "大龄工" ||
|
|
|
|
|
item.name == "暑假工" ||
|
|
|
|
|
item.name == "长白班"
|
|
|
|
|
) {
|
|
|
|
|
this.specialHotTag.push(item);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
@ -948,7 +1137,9 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.specialList = JSON.parse(localStorage.getItem("SPECIALLIST")).data;
|
|
|
|
|
this.specialList = JSON.parse(
|
|
|
|
|
localStorage.getItem("SPECIALLIST")
|
|
|
|
|
).data;
|
|
|
|
|
this.specialList.forEach((item) => {
|
|
|
|
|
if (item.typeClassify == "0") {
|
|
|
|
|
this.tagArray0.push(item);
|
|
|
|
|
@ -961,7 +1152,11 @@ export default {
|
|
|
|
|
} else if (item.typeClassify == "4") {
|
|
|
|
|
this.tagArray4.push(item);
|
|
|
|
|
}
|
|
|
|
|
if (item.name == "大龄工" || item.name == "暑假工" || item.name == "长白班") {
|
|
|
|
|
if (
|
|
|
|
|
item.name == "大龄工" ||
|
|
|
|
|
item.name == "暑假工" ||
|
|
|
|
|
item.name == "长白班"
|
|
|
|
|
) {
|
|
|
|
|
this.specialHotTag.push(item);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
@ -986,7 +1181,11 @@ export default {
|
|
|
|
|
} else if (item.typeClassify == "4") {
|
|
|
|
|
this.tagArray4.push(item);
|
|
|
|
|
}
|
|
|
|
|
if (item.name == "大龄工" || item.name == "暑假工" || item.name == "长白班") {
|
|
|
|
|
if (
|
|
|
|
|
item.name == "大龄工" ||
|
|
|
|
|
item.name == "暑假工" ||
|
|
|
|
|
item.name == "长白班"
|
|
|
|
|
) {
|
|
|
|
|
this.specialHotTag.push(item);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
@ -1006,7 +1205,7 @@ export default {
|
|
|
|
|
} else {
|
|
|
|
|
this.formvalue.signType = this.signType = "";
|
|
|
|
|
}
|
|
|
|
|
this.formvalue.pageNum = 1
|
|
|
|
|
this.formvalue.pageNum = 1;
|
|
|
|
|
this.getJobList();
|
|
|
|
|
},
|
|
|
|
|
async getJobSpecialList() {
|
|
|
|
|
@ -1162,7 +1361,10 @@ export default {
|
|
|
|
|
this.filterObj.gender = "";
|
|
|
|
|
this.formvalue.sex = "";
|
|
|
|
|
} else {
|
|
|
|
|
this.filterObj.specialactive.splice(this.filterObj.specialactive.indexOf(items), 1);
|
|
|
|
|
this.filterObj.specialactive.splice(
|
|
|
|
|
this.filterObj.specialactive.indexOf(items),
|
|
|
|
|
1
|
|
|
|
|
);
|
|
|
|
|
this.specialvalue.splice(this.specialvalue.indexOf(items.id), 1);
|
|
|
|
|
this.formvalue.jobSpecialLabelIds = this.specialvalue;
|
|
|
|
|
|
|
|
|
|
|