|
|
|
@ -3,16 +3,24 @@ |
|
|
|
<loadlogo v-if="!loadlogo" /> |
|
|
|
<far-bottom></far-bottom> |
|
|
|
<view v-if="loadlogo"> |
|
|
|
<view class="dis-flex companiesList"> |
|
|
|
<view class="dis-flex companiesList" v-if="0"> |
|
|
|
<view style="flex: 0.8;"> |
|
|
|
<filtertab :pageName="'企业'" :requestType="'8'" :isPageScroll="'1'" @selectAreaid="selectAreaid" @selectClassid="selectClassid" @getmore="getmore" @getResumeList="getResumeList" |
|
|
|
@selectClassTwoid="selectClassTwoid" @getcityWork="getcityWork" @selectOrders="selectOrders" :cate_one="cate_one" :cate_two="cate_two" :title="title"></filtertab> |
|
|
|
<filtertab :pageName="'企业'" :requestType="'8'" :isPageScroll="'1'" @selectAreaid="selectAreaid" |
|
|
|
@selectClassid="selectClassid" @getmore="getmore" @getResumeList="getResumeList" |
|
|
|
@selectClassTwoid="selectClassTwoid" @getcityWork="getcityWork" @selectOrders="selectOrders" |
|
|
|
:cate_one="cate_one" :cate_two="cate_two" :title="title"></filtertab> |
|
|
|
</view> |
|
|
|
<view class="f-26" style="flex: 0.2;line-height: 75upx;padding-left: 20upx;" @click="openclass"> |
|
|
|
<text>更多</text> |
|
|
|
<text class="iconfont icon-unfold" style="padding-left: 10upx;vertical-align: top;"></text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="dis-flex companiesList"> |
|
|
|
<view class="search-box"> |
|
|
|
<input class="search-inp" type="text" v-model="keyword"> |
|
|
|
<button class="search-btn" @click="search">搜索</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="enterpriseList" v-if="inviteList.length > 0"> |
|
|
|
<view class="enterprise-item " v-for="(item,index) in inviteList" :key="index" @click="toCompanyDetails(item)"> |
|
|
|
<view class="enterprise-border dis-flex"> |
|
|
|
@ -21,13 +29,14 @@ |
|
|
|
<view class="content-title"> |
|
|
|
{{item.storename}} |
|
|
|
<view class="dis-il-block title-tag" v-if="item.is_authentication == 1">已认证</view> |
|
|
|
<view class="f-24 col-9" style="float: right;font-weight: 500;"> |
|
|
|
<view class="f-24 col-9" style="float: right;font-weight: 500;" v-if="0"> |
|
|
|
{{item.distances_text}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="content-label">{{item.nature}} · {{item.scale}} · {{item.industry}}</view> |
|
|
|
<view class="content-num"> |
|
|
|
{{item.area}} · 在招 |
|
|
|
<!-- {{item.area}} · --> |
|
|
|
在招 |
|
|
|
<text style="color: #3388FF;">{{ item.release_recruit }}</text> |
|
|
|
个 |
|
|
|
</view> |
|
|
|
@ -41,7 +50,7 @@ |
|
|
|
<screening :check="check" :num="num" @close="close" @checkeda="checkeda" @confirm="confirm" v-bind:moreData.sync="moreData"></screening> |
|
|
|
|
|
|
|
<!-- 城市 --> |
|
|
|
<TabBars :tabBarAct="0" pageType="15"></TabBars> |
|
|
|
<!-- <TabBars :tabBarAct="0" pageType="15"></TabBars> --> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
@ -67,14 +76,17 @@ export default { |
|
|
|
page:1, |
|
|
|
page_index:10, |
|
|
|
loadlogo:true, |
|
|
|
num:0, |
|
|
|
// num:0,//打开筛选功能 |
|
|
|
num:1,//隐藏筛选功能 |
|
|
|
Areaid:'', |
|
|
|
ordersId:'', |
|
|
|
datas:{}, |
|
|
|
isMore:true, |
|
|
|
total:1, |
|
|
|
enterpriseList:[], |
|
|
|
AreaidAt:'' |
|
|
|
AreaidAt:'', |
|
|
|
keyword:'', |
|
|
|
detailBack: false,//是否从详情页返回来 |
|
|
|
}; |
|
|
|
}, |
|
|
|
components: { |
|
|
|
@ -92,11 +104,21 @@ export default { |
|
|
|
console.log(this.locationArray,'定位定位') |
|
|
|
// debugger |
|
|
|
// this.getCompaniesList() |
|
|
|
|
|
|
|
if(this.num != 0){ |
|
|
|
// debugger |
|
|
|
this.confirm(); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
if(this.num != 0){ |
|
|
|
// debugger |
|
|
|
this.confirm(); |
|
|
|
if(!this.detailBack){ |
|
|
|
// console.log('刷成第一页'); |
|
|
|
// this.confirm(); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
onReachBottom() { |
|
|
|
@ -118,9 +140,21 @@ export default { |
|
|
|
|
|
|
|
}, |
|
|
|
toCompanyDetails(item){ |
|
|
|
App.navigationTo({ |
|
|
|
url: "pages/subPages2/hirePlatform/companyDetails/companyDetails?id=" + item.id |
|
|
|
}); |
|
|
|
// App.navigationTo({ |
|
|
|
// url: "pages/subPages2/hirePlatform/companyDetails/companyDetails?id=" + item.id |
|
|
|
// }); |
|
|
|
uni.navigateTo({ |
|
|
|
url: "/pages/subPages2/hirePlatform/companyDetails/companyDetails?id=" + item.id, |
|
|
|
events: { |
|
|
|
// 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据 |
|
|
|
acceptDataFromOpenedPageA: function(data) { |
|
|
|
console.log(data, '111'); |
|
|
|
if(data.data=='to detail'){ |
|
|
|
this.detailBack = true; |
|
|
|
} |
|
|
|
}, |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
confirm(datas,flag){ |
|
|
|
// debugger |
|
|
|
@ -130,6 +164,8 @@ export default { |
|
|
|
if(datas){ |
|
|
|
this.datas = datas; |
|
|
|
} |
|
|
|
console.log(this.datas, 'this.datas-----'); |
|
|
|
|
|
|
|
let indata = { |
|
|
|
recruit_industry_id:this.resumeID[0], |
|
|
|
sort:this.ordersId, |
|
|
|
@ -138,7 +174,8 @@ export default { |
|
|
|
area_id:this.AreaidAt, |
|
|
|
is_total:1, |
|
|
|
page:this.page, |
|
|
|
page_index:this.page_index |
|
|
|
page_index:this.page_index, |
|
|
|
sort: 5 |
|
|
|
} |
|
|
|
let data = Object.assign(indata ,this.datas); |
|
|
|
App._post_form( |
|
|
|
@ -254,12 +291,41 @@ export default { |
|
|
|
}, |
|
|
|
selectClassTwoid(data){ |
|
|
|
console.log(data) |
|
|
|
}, |
|
|
|
search(){ |
|
|
|
this.confirm({title: this.keyword}) |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|
|
|
.search-box{ |
|
|
|
width: 690rpx; |
|
|
|
height: 34px; |
|
|
|
border: 1px solid #82d0f7; |
|
|
|
border-radius: 30px; |
|
|
|
background-color: #fff; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
margin: 10rpx auto; |
|
|
|
.search-inp{ |
|
|
|
flex-grow: 1; |
|
|
|
padding: 0px 10px 0px 20px; |
|
|
|
font-size: 14px; |
|
|
|
} |
|
|
|
.search-btn{ |
|
|
|
width: 120upx; |
|
|
|
height: 30px; |
|
|
|
background-color: #82d0f7; |
|
|
|
border-radius: 15px; |
|
|
|
color: #fff; |
|
|
|
font-size: 12px; |
|
|
|
padding: 0px; |
|
|
|
margin-right: 2px; |
|
|
|
} |
|
|
|
} |
|
|
|
.companiesList { |
|
|
|
padding: 10upx 0upx; |
|
|
|
.tab-item { |
|
|
|
@ -324,5 +390,8 @@ export default { |
|
|
|
border-top: 1upx solid #EEEEEE; |
|
|
|
} |
|
|
|
} |
|
|
|
.enterprise-item:nth-of-type(1) .enterprise-border{ |
|
|
|
border-top: none; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
|