|
@@ -1,34 +1,35 @@
|
|
|
<template>
|
|
|
<v-card class="card-box pa-5">
|
|
|
- <v-tabs v-model="tab" align-tabs="center" color="primary" bg-color="#f7f8fa" class="mb-3">
|
|
|
+ <!-- <v-tabs v-model="tab" align-tabs="center" color="primary" bg-color="#f7f8fa" class="mb-3">
|
|
|
<v-tab v-for="(tab, index) in jobFairDetailsJob" :key="index" :value="index">{{ tab.title }}</v-tab>
|
|
|
- <!-- <v-tab :value="1">投递简历</v-tab> -->
|
|
|
</v-tabs>
|
|
|
- <component :is="jobFairDetailsJob[tab].component" :id="id"></component>
|
|
|
+ <component :is="jobFairDetailsJob[tab].component" :id="id"></component> -->
|
|
|
+
|
|
|
+ <jobFairDetailsJob :id="id" />
|
|
|
</v-card>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
defineOptions({ name: 'jobFairDetails' })
|
|
|
-import { shallowRef, ref } from 'vue'
|
|
|
+// import { shallowRef, ref } from 'vue'
|
|
|
import { useRouter } from 'vue-router'
|
|
|
import JobFairDetailsJob from './components/job.vue'
|
|
|
-import JobFairDetailsResume from './components/resume.vue'
|
|
|
+// import JobFairDetailsResume from './components/resume.vue'
|
|
|
const router = useRouter()
|
|
|
|
|
|
-const jobFairDetailsJob = shallowRef([
|
|
|
- {
|
|
|
- title: '职位',
|
|
|
- component: JobFairDetailsJob
|
|
|
- },
|
|
|
- {
|
|
|
- title: '投递简历',
|
|
|
- component: JobFairDetailsResume
|
|
|
- }
|
|
|
-])
|
|
|
+// const jobFairDetailsJob = shallowRef([
|
|
|
+// {
|
|
|
+// title: '职位',
|
|
|
+// component: JobFairDetailsJob
|
|
|
+// },
|
|
|
+// {
|
|
|
+// title: '投递简历',
|
|
|
+// component: JobFairDetailsResume
|
|
|
+// }
|
|
|
+// ])
|
|
|
|
|
|
const id = router.currentRoute.value.params.id
|
|
|
-const tab = ref(0)
|
|
|
+// const tab = ref(0)
|
|
|
|
|
|
</script>
|
|
|
|