|
@@ -71,10 +71,14 @@ const desc = [
|
|
]
|
|
]
|
|
|
|
|
|
const handlePosition = (item) => {
|
|
const handlePosition = (item) => {
|
|
- window.open(`/recruit/position/details/${item.job.positionId}`)
|
|
|
|
|
|
+ const id = item.job.id // item.job.positionId
|
|
|
|
+ if (!id) return
|
|
|
|
+ window.open(`/recruit/position/details/${id}`)
|
|
}
|
|
}
|
|
const handleEnterprise = (item) => {
|
|
const handleEnterprise = (item) => {
|
|
- window.open(`/company/details/${item.enterprise.enterpriseId}?key=briefIntroduction`)
|
|
|
|
|
|
+ const id = item.enterprise.id // item.enterprise.enterpriseId
|
|
|
|
+ if (!id) return
|
|
|
|
+ window.open(`/company/details/${id}?key=briefIntroduction`)
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|