|
@@ -4,7 +4,7 @@
|
|
|
<view class="f-horizon">
|
|
|
<image style="width: 80px; height: 80px;" :src="info.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'"></image>
|
|
|
<view class="f-straight ss-m-l-10" style="flex: 1;position: relative;">
|
|
|
- <view class="title-des font-weight-bold" style="max-width: 60vw;">{{ dealEnterpriseName(info.anotherName || info.name) }}</view>
|
|
|
+ <view class="title-des font-weight-bold" style="max-width: 60vw;">{{ formatName(info.anotherName || info.name) }}</view>
|
|
|
<view class="color-999 ellipsis font-size-14" style="max-width: 60vw;">
|
|
|
<span>{{ !!info.industryName? info.industryName : ''}}</span>
|
|
|
<span class="ss-m-x-10" v-if="info?.industryName && info?.scaleName"> | </span>
|
|
@@ -119,7 +119,7 @@ import { getJobAdvertisedSearch } from '@/api/position'
|
|
|
import { getAccessToken } from '@/utils/request'
|
|
|
import PositionList from '@/components/PositionList'
|
|
|
import { checkIsImage } from '@/utils'
|
|
|
-import { dealEnterpriseName } from '@/utils/getText'
|
|
|
+import { formatName } from '@/utils/getText'
|
|
|
|
|
|
const current = ref(0)
|
|
|
const items = ['企业介绍', '招聘职位']
|
|
@@ -173,7 +173,7 @@ const handleFollow = async () => {
|
|
|
// 企业详情
|
|
|
const getData = async () => {
|
|
|
const { data } = await getEnterpriseDetails(id.value)
|
|
|
- title.value = dealEnterpriseName(data.enterprise.anotherName || data.enterprise.name)
|
|
|
+ title.value = formatName(data.enterprise.anotherName || data.enterprise.name)
|
|
|
info.value = data.enterprise ? { ...data, ...dealDictObjData({}, data.enterprise) } : data
|
|
|
getCollectionStatus()
|
|
|
}
|