|
@@ -53,6 +53,7 @@ import { dealDictObjData } from '@/utils/position'
|
|
|
import { getJobFairEntJobPage, getJobFair } from '@/api/jobFair'
|
|
|
import PositionList from '@/components/PositionList'
|
|
|
import SwiperAd from '@/components/SwiperAd'
|
|
|
+import { getShareQueryById } from '@/api/jobFair.js'
|
|
|
|
|
|
const more = ref('more')
|
|
|
const listData = ref([])
|
|
@@ -65,6 +66,17 @@ const query = reactive({
|
|
|
const entName = ref('')
|
|
|
|
|
|
onLoad(async (options) => {
|
|
|
+ console.log('options:', options)
|
|
|
+ if (options.scene) {
|
|
|
+ const scene = decodeURIComponent(options.scene)
|
|
|
+ const key = scene.split('=')[1]
|
|
|
+ console.log('key:', key)
|
|
|
+ if (!key) return
|
|
|
+ const res = await getShareQueryById({key})
|
|
|
+ console.log('res:', res)
|
|
|
+ options.jobFairId = res?.data?.jobFairId
|
|
|
+ options.enterpriseId = res?.data?.enterpriseId
|
|
|
+ }
|
|
|
if (options?.jobFairId) {
|
|
|
query.jobFairId = options.jobFairId
|
|
|
if (options.enterpriseId) {
|