|
@@ -7,8 +7,8 @@
|
|
|
<div class="ml-4">
|
|
|
<div class="contact-name">
|
|
|
{{ info.enterprise.name }}
|
|
|
- <v-icon :color="statusInfo.color" size="20">{{ statusInfo.mdi }}</v-icon>
|
|
|
- <span :style="{'color': statusInfo.color,'font-size': '14px'}">{{ statusInfo.label }}</span>
|
|
|
+ <!-- <v-icon :color="statusInfo.color" size="20">{{ statusInfo.mdi }}</v-icon>
|
|
|
+ <span :style="{'color': statusInfo.color,'font-size': '14px'}">{{ statusInfo.label }}</span> -->
|
|
|
</div>
|
|
|
<div class="contact-info">
|
|
|
{{ info.financingName }}
|
|
@@ -46,13 +46,11 @@
|
|
|
</div>
|
|
|
<div class="content-right">
|
|
|
<div class="welfare mb-3">
|
|
|
- <h4>工作时间及福利</h4>
|
|
|
- <div class="my-3" style="color: var(--color-666);font-size: 14px;">
|
|
|
- <v-icon size="17" color="#ccc" class="mr-2">mdi-clock</v-icon>{{ info.enterprise?.workTime || '暂无' }}
|
|
|
- </div>
|
|
|
- <div class="welfare-tags">
|
|
|
+ <h4>福利</h4>
|
|
|
+ <div v-if="info?.enterprise?.welfareList.length" class="welfare-tags mt-3">
|
|
|
<v-chip size="small" label v-for="(k, i) in info?.enterprise?.welfareList?.slice(0, 6)" :key="i" class="mb-2 welfare-tags-item ellipsis" color="primary">{{ k }}</v-chip>
|
|
|
</div>
|
|
|
+ <div v-else class="color-666 font-size-14 mt-3">暂无</div>
|
|
|
</div>
|
|
|
<div class="welfare">
|
|
|
<h4>工商信息</h4>
|
|
@@ -77,10 +75,10 @@
|
|
|
|
|
|
<script setup>
|
|
|
defineOptions({ name: 'enterprise-details'})
|
|
|
-import { ref, computed } from 'vue'
|
|
|
+import { ref } from 'vue'
|
|
|
import EnterpriseIntroduction from './components/introduction.vue'
|
|
|
import recruitmentPositions from './components/positions.vue'
|
|
|
-import { getEnterpriseAuthDetails } from '@/api/position'
|
|
|
+// import { getEnterpriseAuthDetails } from '@/api/position'
|
|
|
import { getEnterpriseDetails, getEnterpriseSubscribeCheck, getEnterpriseSubscribe, getEnterpriseUnsubscribe, enterpriseClick } from '@/api/enterprise'
|
|
|
import { timesTampChange } from '@/utils/date'
|
|
|
import { dealDictObjData } from '@/utils/position'
|
|
@@ -121,16 +119,16 @@ const handleEnterpriseClick = async () => {
|
|
|
}
|
|
|
handleEnterpriseClick()
|
|
|
|
|
|
-const statusList = [
|
|
|
- { label: '未认证', color: '#fb8c00', value: null, mdi: 'mdi-shield-remove' },
|
|
|
- { label: '审核中', color: '#fb8c00', value: '0', mdi: 'mdi-shield-half-full' },
|
|
|
- { label: '已认证', color: 'var(--v-primary-base)', value: '1', mdi: 'mdi-shield-check' },
|
|
|
- { label: '已驳回', color: '#fe574a', value: '2', mdi: 'mdi-shield-off' }
|
|
|
-]
|
|
|
+// const statusList = [
|
|
|
+// { label: '未认证', color: '#fb8c00', value: null, mdi: 'mdi-shield-remove' },
|
|
|
+// { label: '审核中', color: '#fb8c00', value: '0', mdi: 'mdi-shield-half-full' },
|
|
|
+// { label: '已认证', color: 'var(--v-primary-base)', value: '1', mdi: 'mdi-shield-check' },
|
|
|
+// { label: '已驳回', color: '#fe574a', value: '2', mdi: 'mdi-shield-off' }
|
|
|
+// ]
|
|
|
|
|
|
// 企业详情
|
|
|
const info = ref({})
|
|
|
-const authInfo = ref({})
|
|
|
+// const authInfo = ref({})
|
|
|
const getDetails = async () => {
|
|
|
if (!props.id) return
|
|
|
const data = await getEnterpriseDetails({ id: props.id })
|
|
@@ -142,14 +140,14 @@ const getDetails = async () => {
|
|
|
info.value = { ...data, ...dealDictObjData({}, data.enterprise) }
|
|
|
getCollectionStatus(props.id)
|
|
|
// 企业实名认证信息
|
|
|
- authInfo.value = await getEnterpriseAuthDetails(props.id)
|
|
|
+ // authInfo.value = await getEnterpriseAuthDetails(props.id)
|
|
|
}
|
|
|
getDetails()
|
|
|
|
|
|
-const statusInfo = computed(() => {
|
|
|
- const obj = (authInfo.value && Object.keys(authInfo.value).length) ? statusList.find(e => e.value === authInfo.value.status) : statusList[0]
|
|
|
- return obj
|
|
|
-})
|
|
|
+// const statusInfo = computed(() => {
|
|
|
+// const obj = (authInfo.value && Object.keys(authInfo.value).length) ? statusList.find(e => e.value === authInfo.value.status) : statusList[0]
|
|
|
+// return obj
|
|
|
+// })
|
|
|
|
|
|
// 效验求职者是否关注该企业
|
|
|
const isCollection = ref(false)
|