|
@@ -4,9 +4,7 @@
|
|
<div style="height: 50px; line-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>
|
|
<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">
|
|
<div class="ml-3 float-left">
|
|
- <p class="enterprise-name cursor-pointer" @click="handleEnterprise(0)">{{ formatName(props.info.enterprise.anotherName || props.info.enterprise.name) }}</p>
|
|
|
|
- <!-- <v-icon :color="statusInfo.color" size="20">{{ statusInfo.mdi }}</v-icon>
|
|
|
|
- <span :style="{'color': statusInfo.color,'font-size': '14px'}">{{ statusInfo.label }}</span> -->
|
|
|
|
|
|
+ <p class="enterprise-name cursor-pointer" @click="jumpToEnterpriseDetail(props.info.enterprise.id, true)">{{ formatName(props.info.enterprise.anotherName || props.info.enterprise.name) }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="mt-3 border-bottom-dashed" style="font-size: 14px;">
|
|
<div class="mt-3 border-bottom-dashed" style="font-size: 14px;">
|
|
@@ -16,7 +14,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="font-size: 12px;height: 50px; line-height: 50px">
|
|
<div style="font-size: 12px;height: 50px; line-height: 50px">
|
|
- <span class="float-right more-position" @click="handleEnterprise(1)">{{ $t('position.allBtn') }}<v-icon>mdi-chevron-right</v-icon></span>
|
|
|
|
|
|
+ <span class="float-right more-position" @click="jumpToEnterpriseDetail(info.enterprise.id, true, 1)">{{ $t('position.allBtn') }}<v-icon>mdi-chevron-right</v-icon></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -24,9 +22,8 @@
|
|
<script setup>
|
|
<script setup>
|
|
defineOptions({ name: 'enterprise-info' })
|
|
defineOptions({ name: 'enterprise-info' })
|
|
import { ref } from 'vue'
|
|
import { ref } from 'vue'
|
|
-import { dealDictObjData } from '@/utils/position'
|
|
|
|
|
|
+import { dealDictObjData, jumpToEnterpriseDetail } from '@/utils/position'
|
|
import { formatName } from '@/utils/getText'
|
|
import { formatName } from '@/utils/getText'
|
|
-// import { getEnterpriseAuthDetails } from '@/api/position'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
info: {
|
|
info: {
|
|
@@ -39,32 +36,13 @@ const list = [
|
|
{ icon: 'mdi-account-multiple', label: 'scaleName' },
|
|
{ icon: 'mdi-account-multiple', label: 'scaleName' },
|
|
{ icon: 'mdi-family-tree', label: 'industryName' }
|
|
{ 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 obj = ref({})
|
|
const obj = ref({})
|
|
-// const authInfo = ref({})
|
|
|
|
const getData = async () => {
|
|
const getData = async () => {
|
|
const prise = props.info.enterprise
|
|
const prise = props.info.enterprise
|
|
obj.value = dealDictObjData({}, prise)
|
|
obj.value = dealDictObjData({}, prise)
|
|
- // 企业实名认证信息
|
|
|
|
- // authInfo.value = await getEnterpriseAuthDetails(props.info.enterprise.id)
|
|
|
|
}
|
|
}
|
|
getData()
|
|
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 handleEnterprise = (val) => {
|
|
|
|
- const key = val ? 'recruitmentPositions' : 'briefIntroduction'
|
|
|
|
- window.open(`/recruit/personal/company/details/${props.info.enterprise.id}?key=${key}`)
|
|
|
|
-}
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|