|
@@ -1,12 +1,12 @@
|
|
|
<template>
|
|
|
<div class="info-box">
|
|
|
<h4 class="mb-3">{{ $t('enterprise.companyInfo') }}</h4>
|
|
|
- <div style="height: 50px;">
|
|
|
+ <div style="height: 50px; line-height: 50px;">
|
|
|
<v-img class="float-left" :src="props.info.enterprise.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" :width="45" height="45"></v-img>
|
|
|
<div class="ml-3 float-left">
|
|
|
<p class="enterprise-name cursor-pointer" @click="handleEnterprise(0)">{{ props.info.enterprise.anotherName }}</p>
|
|
|
- <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>
|
|
|
<div class="mt-3 border-bottom-dashed" style="font-size: 14px;">
|
|
@@ -23,9 +23,9 @@
|
|
|
|
|
|
<script setup>
|
|
|
defineOptions({ name: 'enterprise-info' })
|
|
|
-import { ref, computed } from 'vue'
|
|
|
+import { ref } from 'vue'
|
|
|
import { dealDictObjData } from '@/utils/position'
|
|
|
-import { getEnterpriseAuthDetails } from '@/api/position'
|
|
|
+// import { getEnterpriseAuthDetails } from '@/api/position'
|
|
|
|
|
|
const props = defineProps({
|
|
|
info: {
|
|
@@ -39,27 +39,27 @@ const list = [
|
|
|
{ icon: 'mdi-account-multiple', label: 'scaleName' },
|
|
|
{ icon: 'mdi-family-tree', label: 'industryName' }
|
|
|
]
|
|
|
-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 obj = ref({})
|
|
|
-const authInfo = ref({})
|
|
|
+// const authInfo = ref({})
|
|
|
const getData = async () => {
|
|
|
const prise = props.info.enterprise
|
|
|
obj.value = dealDictObjData({}, prise)
|
|
|
// 企业实名认证信息
|
|
|
- authInfo.value = await getEnterpriseAuthDetails(props.info.enterprise.id)
|
|
|
+ // authInfo.value = await getEnterpriseAuthDetails(props.info.enterprise.id)
|
|
|
}
|
|
|
getData()
|
|
|
|
|
|
-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 handleEnterprise = (val) => {
|
|
|
const key = val ? 'recruitmentPositions' : 'briefIntroduction'
|