|
@@ -150,6 +150,7 @@ const handleChangeType = (show) => {
|
|
|
items.value.options.forEach(e => e.value = null)
|
|
|
}
|
|
|
}
|
|
|
+// console.log(route)
|
|
|
|
|
|
async function initPosition (jobId) {
|
|
|
const res = await getJobAdvertisedExtend(jobId)
|
|
@@ -297,7 +298,7 @@ if (route.query && route.query.id) {
|
|
|
const handleCancel = () => {
|
|
|
itemData.value = {}
|
|
|
const currentPage = router.currentRoute.value.path
|
|
|
- router.push({ path: currentPage.indexOf('jobFair') !== -1 ? '/recruit/enterprise/jobFair/index' : '/recruit/enterprise/position/index' })
|
|
|
+ router.push({ path: currentPage.indexOf('jobFair') !== -1 ? `/recruit/enterprise/jobFair/details/${route.params.id}` : '/recruit/enterprise/position' })
|
|
|
// 新增职位发布需更新账户信息
|
|
|
if (route.query && !route.query?.id) {
|
|
|
setTimeout(async () => {
|