|
@@ -67,7 +67,7 @@
|
|
<view v-if="props.showUpdateTime" class="font-size-13 color-999 ss-m-t-10" :style="`text-align: ${props.updateTimeAlign};`">更新时间:{{ timesTampChange(item?.job?.refreshTime || item.job?.updateTime, 'Y-M-D h:m') }}</view>
|
|
<view v-if="props.showUpdateTime" class="font-size-13 color-999 ss-m-t-10" :style="`text-align: ${props.updateTimeAlign};`">更新时间:{{ timesTampChange(item?.job?.refreshTime || item.job?.updateTime, 'Y-M-D h:m') }}</view>
|
|
</view>
|
|
</view>
|
|
<!-- 企业信息 -->
|
|
<!-- 企业信息 -->
|
|
- <view v-if="props.showEntInfo" class="sub-li-bottom">
|
|
|
|
|
|
+ <view v-if="props.showEntInfo" class="sub-li-bottom" @tap="handleClickEnt(item)">
|
|
<view class="avatarBox">
|
|
<view class="avatarBox">
|
|
<image class="enterAvatar ml" :src="item.enterprise?.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'"></image>
|
|
<image class="enterAvatar ml" :src="item.enterprise?.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'"></image>
|
|
</view>
|
|
</view>
|
|
@@ -92,6 +92,7 @@
|
|
import { commissionCalculation } from '@/utils/position'
|
|
import { commissionCalculation } from '@/utils/position'
|
|
import { timesTampChange } from '@/utils/date'
|
|
import { timesTampChange } from '@/utils/date'
|
|
import { formatName } from '@/utils/getText'
|
|
import { formatName } from '@/utils/getText'
|
|
|
|
+const emit = defineEmits(['entClick'])
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
list: { type: Array, default: () => [] },
|
|
list: { type: Array, default: () => [] },
|
|
@@ -119,6 +120,14 @@ const handleToJobFair = () => {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+const handleClickEnt = (item) => {
|
|
|
|
+ const info = {
|
|
|
|
+ enterpriseId: item?.enterprise?.id || null,
|
|
|
|
+ anotherName: item?.enterprise?.anotherName || null
|
|
|
|
+ }
|
|
|
|
+ emit('entClick', info)
|
|
|
|
+}
|
|
|
|
+
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|