|
@@ -1,31 +1,32 @@
|
|
|
<template>
|
|
|
<div class="content">
|
|
|
<v-hover v-slot="{ isHovering, props }" v-for="val in list" :key="val.id">
|
|
|
- <v-card class="cursor-pointer mb-3 pa-4" v-bind="props" :elevation="isHovering ? 10 : 5" @click="handleClick(val.id)">
|
|
|
- <div class="d-flex justify-space-between">
|
|
|
- <div class="d-flex align-center">
|
|
|
- <!-- <svg-icon name="jobFair" size="20" class="mr-1"></svg-icon> -->
|
|
|
- <p class="job-name font-weight-medium" v-ellipse-tooltip>{{ formatName(val.name) }}</p>
|
|
|
+ <v-card class="cursor-pointer mb-3 pa-4" v-bind="props" :elevation="isHovering ? 10 : 5" >
|
|
|
+ <div @click="handleClick(val.id)">
|
|
|
+ <div class="d-flex justify-space-between">
|
|
|
+ <div class="d-flex align-center">
|
|
|
+ <p class="job-name font-weight-medium" v-ellipse-tooltip>{{ formatName(val.name) }}</p>
|
|
|
+ </div>
|
|
|
+ <p v-if="!val.payFrom && !val.payTo" class="salary">面议</p>
|
|
|
+ <p v-else class="salary ml-3">{{ val.payFrom ? val.payFrom + '-' : '' }}{{ val.payTo }}{{ val.payName ? '/' + val.payName : '' }}</p>
|
|
|
</div>
|
|
|
- <p v-if="!val.payFrom && !val.payTo" class="salary">面议</p>
|
|
|
- <p v-else class="salary ml-3">{{ val.payFrom ? val.payFrom + '-' : '' }}{{ val.payTo }}{{ val.payName ? '/' + val.payName : '' }}</p>
|
|
|
- </div>
|
|
|
- <div class="d-flex justify-space-between mt-3">
|
|
|
- <div class="color-999 font-size-15">
|
|
|
- <span v-for="k in desc" :key="k.mdi">
|
|
|
- <span v-if="val[k.value] || k.value === 'areaName'" class="mr-5">
|
|
|
- <v-icon color="var(--color-666)" size="15">{{ k.mdi }}</v-icon>
|
|
|
- <span class="ml-1 tag-text">
|
|
|
- {{ k.value === 'areaName' ? !val.areaId ? '全国' : val.area?.str : val[k.value] }}
|
|
|
+ <div class="d-flex justify-space-between mt-3">
|
|
|
+ <div class="color-999 font-size-15">
|
|
|
+ <span v-for="k in desc" :key="k.mdi">
|
|
|
+ <span v-if="val[k.value] || k.value === 'areaName'" class="mr-5">
|
|
|
+ <v-icon color="var(--color-666)" size="15">{{ k.mdi }}</v-icon>
|
|
|
+ <span class="ml-1 tag-text">
|
|
|
+ {{ k.value === 'areaName' ? !val.areaId ? '全国' : val.area?.str : val[k.value] }}
|
|
|
+ </span>
|
|
|
</span>
|
|
|
</span>
|
|
|
- </span>
|
|
|
+ </div>
|
|
|
+ <div class="font-size-14 color-999">{{ timesTampChange(val.updateTime) }} 刷新</div>
|
|
|
</div>
|
|
|
- <div class="font-size-14 color-999">{{ timesTampChange(val.updateTime) }} 刷新</div>
|
|
|
</div>
|
|
|
<v-divider class="mt-3" />
|
|
|
<!-- 企业信息 -->
|
|
|
- <div class="d-flex align-center pt-4">
|
|
|
+ <div class="d-flex align-center pt-4" @click="jumpToEnterpriseDetail(val.enterprise.id, true)">
|
|
|
<img :src="val.enterprise.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" style="width: 60px; height: 60px; border-radius: 4px;border: 1px solid #ccc;" />
|
|
|
<div class="ml-3" style="flex: 1;">
|
|
|
<h3 v-ellipse-tooltip class="font-weight-medium enterprise-name" style="max-width: 480px;">{{ formatName(val.enterprise.anotherName || val.enterprise.name) }}</h3>
|
|
@@ -45,9 +46,11 @@
|
|
|
defineOptions({ name: 'jobCard' })
|
|
|
import { formatName } from '@/utils/getText'
|
|
|
import { timesTampChange } from '@/utils/date'
|
|
|
+import { jumpToEnterpriseDetail } from '@/utils/position'
|
|
|
|
|
|
const props = defineProps({
|
|
|
- list: Array
|
|
|
+ list: Array,
|
|
|
+ jobFairId: [String, Number]
|
|
|
})
|
|
|
|
|
|
// 城市、学历、工作经验
|