|
@@ -37,10 +37,16 @@
|
|
{{ tag }}
|
|
{{ tag }}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <!-- 赏金 -->
|
|
|
|
- <view v-if="info.hire" class="topLine mt-5" style="display: flex; align-items: center;">
|
|
|
|
- <view class="iconfont icon-a-1_zhaopin" style="color: #e03506; font-size: 30px;"></view>
|
|
|
|
- <view class="hirePrice">{{ `赏金:${commissionCalculation(info.hirePrice / 100, 1)}元` }}</view>
|
|
|
|
|
|
+ <view class="topLine">
|
|
|
|
+ <!-- 赏金 -->
|
|
|
|
+ <view v-if="info.hire" class="mt-5" style="display: flex; align-items: center;">
|
|
|
|
+ <view class="iconfont icon-a-1_zhaopin" style="color: #e03506; font-size: 30px;"></view>
|
|
|
|
+ <view class="hirePrice">{{ `赏金:${commissionCalculation(info.hirePrice / 100, 1)}元` }}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- 招聘会 -->
|
|
|
|
+ <view v-if="isJobFair" class="mt-5" style="display: flex; align-items: center;">
|
|
|
|
+ <image src="/static/svg/jobFair.svg" class=" ss-m-r-10" style="width: 20px; height: 20px;"></image>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="font-size-13 color-999 ss-m-t-10" style="text-align: end;">更新时间:{{ timesTampChange(info.updateTime, 'Y-M-D h:m') }}</view>
|
|
<view class="font-size-13 color-999 ss-m-t-10" style="text-align: end;">更新时间:{{ timesTampChange(info.updateTime, 'Y-M-D h:m') }}</view>
|
|
<!-- 企业信息 -->
|
|
<!-- 企业信息 -->
|
|
@@ -250,6 +256,7 @@ watch(() => useUserStore.refreshToken, (newVal) => {
|
|
|
|
|
|
let jobId = ''
|
|
let jobId = ''
|
|
let jobFairId = ''
|
|
let jobFairId = ''
|
|
|
|
+const isJobFair = ref(false) // 是否是通过招聘会进入的岗位
|
|
let obj = {}
|
|
let obj = {}
|
|
onLoad(async (options) => {
|
|
onLoad(async (options) => {
|
|
console.log(options, 'options')
|
|
console.log(options, 'options')
|
|
@@ -268,6 +275,8 @@ onLoad(async (options) => {
|
|
|
|
|
|
jobId = options?.id || options?.jobId || obj?.jobId || ''
|
|
jobId = options?.id || options?.jobId || obj?.jobId || ''
|
|
jobFairId = options?.jobFairId !== 'undefined' && options.jobFairId !== 'null' && options.jobFairId || ''
|
|
jobFairId = options?.jobFairId !== 'undefined' && options.jobFairId !== 'null' && options.jobFairId || ''
|
|
|
|
+ isJobFair.value = Boolean(jobFairId)
|
|
|
|
+ // console.log(`${jobFairId?'是':'不是'}招聘会职位`, ',jobFairId:', jobFairId)
|
|
deliveryCheck()
|
|
deliveryCheck()
|
|
|
|
|
|
if (jobId) {
|
|
if (jobId) {
|
|
@@ -405,11 +414,13 @@ const createPoster = async () => {
|
|
//在点击open-type="share"按钮后会触发以下函数,可以在函数中写需要的逻辑,当然函数的返回值必须是一个对象,用于设置分享卡片的展示形式
|
|
//在点击open-type="share"按钮后会触发以下函数,可以在函数中写需要的逻辑,当然函数的返回值必须是一个对象,用于设置分享卡片的展示形式
|
|
//发送给微信好友
|
|
//发送给微信好友
|
|
onShareAppMessage((res) => {
|
|
onShareAppMessage((res) => {
|
|
- console.log(1, 'onShareAppMessage', res)
|
|
|
|
let path = `/pagesB/positionDetail/index?jobId=${info.value.id}`
|
|
let path = `/pagesB/positionDetail/index?jobId=${info.value.id}`
|
|
if (info.value.hire) {
|
|
if (info.value.hire) {
|
|
path += `&sharedById=${useUserStore.accountInfo.userId}`
|
|
path += `&sharedById=${useUserStore.accountInfo.userId}`
|
|
}
|
|
}
|
|
|
|
+ if (jobFairId) {
|
|
|
|
+ path += `&jobFairId=${jobFairId}`
|
|
|
|
+ }
|
|
if(!canvasToTempFilePath.value){
|
|
if(!canvasToTempFilePath.value){
|
|
setTimeout(() => {},1000)
|
|
setTimeout(() => {},1000)
|
|
}
|
|
}
|
|
@@ -586,6 +597,7 @@ async function handleSend () {
|
|
channelType: channel.channelType,
|
|
channelType: channel.channelType,
|
|
avatar: info.value?.contact?.avatar,
|
|
avatar: info.value?.contact?.avatar,
|
|
sex: info.value?.contact?.sex,
|
|
sex: info.value?.contact?.sex,
|
|
|
|
+ ...(jobFairId && { jobFairId })
|
|
}
|
|
}
|
|
const queryStr = Object.keys(query).reduce((r, v) => {
|
|
const queryStr = Object.keys(query).reduce((r, v) => {
|
|
return r += `${v}=${encodeURIComponent(query[v])}&`
|
|
return r += `${v}=${encodeURIComponent(query[v])}&`
|