|
@@ -2,12 +2,12 @@
|
|
<div class="position-box">
|
|
<div class="position-box">
|
|
<h4 class="mb-3">{{ $t('position.similarPosition') }}</h4>
|
|
<h4 class="mb-3">{{ $t('position.similarPosition') }}</h4>
|
|
<div v-for="(item, index) in props.list" :key="index" class="mb-2 cursor-pointer" @click.stop="handlePosition(item)">
|
|
<div v-for="(item, index) in props.list" :key="index" class="mb-2 cursor-pointer" @click.stop="handlePosition(item)">
|
|
- <p class="recruit-name" :style="{'max-width': !item.payFrom && !item.payTo ? '230px' : '140px'}">{{ formatName(item.name) }}</p>
|
|
|
|
|
|
+ <p class="recruit-name" v-ellipse-tooltip :style="{'max-width': !item.payFrom && !item.payTo ? '230px' : '140px'}">{{ formatName(item.name) }}</p>
|
|
<span v-if="!item.payFrom && !item.payTo" class="recruit-salary">面议</span>
|
|
<span v-if="!item.payFrom && !item.payTo" class="recruit-salary">面议</span>
|
|
<span v-else class="recruit-salary">{{ item.payFrom ? item.payFrom + '-' : '' }}{{ item.payTo }}{{ item.payName ? '/' + item.payName :'' }}</span>
|
|
<span v-else class="recruit-salary">{{ item.payFrom ? item.payFrom + '-' : '' }}{{ item.payTo }}{{ item.payName ? '/' + item.payName :'' }}</span>
|
|
<div :class="['enterprise', {'border-bottom-dashed': index !== list.length - 1}]">
|
|
<div :class="['enterprise', {'border-bottom-dashed': index !== list.length - 1}]">
|
|
<v-img class="float-left" :src="item.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" :width="30" :height="30"></v-img>
|
|
<v-img class="float-left" :src="item.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" :width="30" :height="30"></v-img>
|
|
- <span class="float-left enterprise-name">{{ formatName(item.anotherName) }}</span>
|
|
|
|
|
|
+ <span class="float-left enterprise-name" v-ellipse-tooltip>{{ formatName(item.anotherName || item.enterpriseName) }}</span>
|
|
<span class="float-right enterprise-address">{{ !item.areaId ? '全国' : item.area?.str }}</span>
|
|
<span class="float-right enterprise-address">{{ !item.areaId ? '全国' : item.area?.str }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -27,6 +27,7 @@ const props = defineProps({
|
|
default: () => {}
|
|
default: () => {}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+
|
|
const handlePosition = (item) => {
|
|
const handlePosition = (item) => {
|
|
window.open(`/recruit/personal/position/details/${item.id}`)
|
|
window.open(`/recruit/personal/position/details/${item.id}`)
|
|
}
|
|
}
|