|
@@ -74,9 +74,9 @@
|
|
<script setup>
|
|
<script setup>
|
|
defineOptions({name: 'recruit-personal-shareJob-index'})
|
|
defineOptions({name: 'recruit-personal-shareJob-index'})
|
|
import { ref } from 'vue'
|
|
import { ref } from 'vue'
|
|
-import { getJobAdvertisedShareQrcode, getJobAdvertisedShare } from '@/api/position'
|
|
|
|
|
|
+import { getJobAdvertisedShareQrcode } from '@/api/position'
|
|
|
|
+import { saveShareQuery } from '@/api/recruit/personal/jobFair'
|
|
import { formatName } from '@/utils/getText'
|
|
import { formatName } from '@/utils/getText'
|
|
-// import { timesTampChange } from '@/utils/date'
|
|
|
|
|
|
|
|
// 职位详情
|
|
// 职位详情
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
@@ -109,7 +109,7 @@ const getQrCode = async () => {
|
|
// 参与招聘会的职位则需要传递招聘会id
|
|
// 参与招聘会的职位则需要传递招聘会id
|
|
if (props.jobFairId) params.jobFairId = props.jobFairId
|
|
if (props.jobFairId) params.jobFairId = props.jobFairId
|
|
|
|
|
|
- const result = await getJobAdvertisedShare(params)
|
|
|
|
|
|
+ const result = await saveShareQuery(params)
|
|
const query = {
|
|
const query = {
|
|
scene: 'id=' + result,
|
|
scene: 'id=' + result,
|
|
path: 'pagesB/positionDetail/index',
|
|
path: 'pagesB/positionDetail/index',
|