|
@@ -54,7 +54,7 @@ let fairId = ''
|
|
onLoad((options) => {
|
|
onLoad((options) => {
|
|
jobId = options?.jobId || props.jobId || ''
|
|
jobId = options?.jobId || props.jobId || ''
|
|
fairId = options?.fairId || ''
|
|
fairId = options?.fairId || ''
|
|
- console.log('jobId:', jobId); console.log('fairId:', fairId)
|
|
|
|
|
|
+ // console.log('jobId:', jobId); console.log('fairId:', fairId)
|
|
if (jobId) getPositionDetail(jobId)
|
|
if (jobId) getPositionDetail(jobId)
|
|
else {
|
|
else {
|
|
show.value = showExtend.value = true
|
|
show.value = showExtend.value = true
|
|
@@ -69,7 +69,6 @@ const getPositionDetail = async (id) => {
|
|
if (!res?.data && !Object.keys(res.data).length) return
|
|
if (!res?.data && !Object.keys(res.data).length) return
|
|
itemData.value = {...res.data, ...dealDictObjData({}, res.data)}
|
|
itemData.value = {...res.data, ...dealDictObjData({}, res.data)}
|
|
show.value = true
|
|
show.value = true
|
|
- console.log('itemData:', itemData.value)
|
|
|
|
if (itemData.value?.type === '3') {
|
|
if (itemData.value?.type === '3') {
|
|
isStudent.value = true
|
|
isStudent.value = true
|
|
getPositionExtendDetail(id)
|
|
getPositionExtendDetail(id)
|
|
@@ -84,7 +83,6 @@ const getPositionExtendDetail = async (jobId) => {
|
|
const res = await getJobAdvertisedExtend(jobId)
|
|
const res = await getJobAdvertisedExtend(jobId)
|
|
extendData.value = res?.data || {}
|
|
extendData.value = res?.data || {}
|
|
showExtend.value = true
|
|
showExtend.value = true
|
|
- console.log('extendData:', extendData.value)
|
|
|
|
}
|
|
}
|
|
|
|
|
|
const baseInfoRef = ref(null)
|
|
const baseInfoRef = ref(null)
|