浏览代码

在招职位

lifanagju_citu 4 月之前
父节点
当前提交
12906b1970

+ 0 - 8
components.d.ts

@@ -31,10 +31,7 @@ declare module 'vue' {
     CtTextField: typeof import('./src/components/CtVuetify/CtTextField/index.vue')['default']
     DatePicker: typeof import('./src/components/DatePicker/index.vue')['default']
     Echarts: typeof import('./src/components/Echarts/index.vue')['default']
-    ElCascader: typeof import('element-plus/es')['ElCascader']
     ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
-    Ellipsis: typeof import('./src/components/Ellipsis/index.vue')['default']
-    ElTree: typeof import('element-plus/es')['ElTree']
     Empty: typeof import('./src/components/Empty/index.vue')['default']
     File: typeof import('./src/components/Upload/file.vue')['default']
     HeadSearch: typeof import('./src/components/headSearch/index.vue')['default']
@@ -72,15 +69,10 @@ declare module 'vue' {
     TextInput: typeof import('./src/components/FormUI/TextInput/index.vue')['default']
     TipDialog: typeof import('./src/components/CtDialog/tipDialog.vue')['default']
     ToolBar: typeof import('./src/components/PreviewImg/toolBar.vue')['default']
-    Tooltip: typeof import('./src/components/Tooltip/index.vue')['default']
-    ToolTip: typeof import('./src/components/CtTooltip/ToolTip.vue')['default']
     VerificationCode: typeof import('./src/components/VerificationCode/index.vue')['default']
     Verifition: typeof import('./src/components/Verifition/index.vue')['default']
     VerifyPoints: typeof import('./src/components/Verifition/Verify/VerifyPoints.vue')['default']
     VerifySlide: typeof import('./src/components/Verifition/Verify/VerifySlide.vue')['default']
     WangEditor: typeof import('./src/components/FormUI/wangEditor/index.vue')['default']
   }
-  export interface ComponentCustomProperties {
-    vLoading: typeof import('element-plus/es')['ElLoadingDirective']
-  }
 }

+ 8 - 0
src/router/modules/recruit.js

@@ -181,6 +181,14 @@ const recruit = [
         meta: {
           title: '招聘会详情'
         }
+      },
+      {
+        path: '/recruit/personal/jobFair/enterprise/:id',
+        component: () => import('@/views/recruit/personal/jobFair/enterprise/index.vue'),
+        name: 'jobFairEnterprise',
+        meta: {
+          title: '在招职位'
+        }
       }
     ]
   },

+ 6 - 1
src/views/recruit/personal/jobFair/details.vue

@@ -15,7 +15,7 @@
 			<!-- 参与招聘会企业列表 -->
 			<div class="mt-3">
 				<div class="content" v-if="list.length">
-					<v-card elevation="5" v-for="val in list" :key="val.id" class="cursor-pointer">
+					<v-card elevation="5" v-for="val in list" :key="val.id" class="cursor-pointer" @click="handleClickEnterprise(val)">
 						<div class="d-flex pa-4 pb-2">
 							<img :src="val.logoUrl" style="width: 80px; height: 80px; border-radius: 4px;" />
 							<div style="max-width: 455px;">
@@ -42,6 +42,7 @@ defineOptions({ name: 'jobFairDetails' })
 import { ref } from 'vue'
 import { formatName } from '@/utils/getText'
 import buttons from '@/views/recruit/personal/components/buttons.vue'
+import { useRouter } from 'vue-router'; const router = useRouter()
 
 const content = ref('')
 const breadcrumbs = ref([
@@ -89,6 +90,10 @@ const list = ref([
 const handleSearch = (val) => {
 	console.log(val, 'handleSearch')
 }
+
+const handleClickEnterprise = (val) => {
+  router.push(`/recruit/personal/jobFair/enterprise/${val.id}`)
+}
 </script>
 
 <style scoped lang="scss">

+ 9 - 0
src/views/recruit/personal/jobFair/enterprise/index.vue

@@ -0,0 +1,9 @@
+<template>
+  <div>vue3PageInit</div>
+</template>
+
+<script setup>
+defineOptions({name: 'jobFair-enterprise'})
+</script>
+<style lang="scss" scoped>
+</style>