|
@@ -11,8 +11,8 @@
|
|
|
<span :style="{'color': statusInfo.color,'font-size': '14px'}">{{ statusInfo.label }}</span>
|
|
|
</div>
|
|
|
<div class="contact-info">
|
|
|
- {{ info.business.type }}
|
|
|
- <span v-if="info.business.type && info.scaleName">·</span>
|
|
|
+ {{ info.financingName }}
|
|
|
+ <span v-if="info.financingName && info.scaleName">·</span>
|
|
|
{{ info.scaleName }}
|
|
|
<span v-if="info.industryName && info.scaleName">·</span>
|
|
|
{{ info.industryName }}
|
|
@@ -58,7 +58,10 @@
|
|
|
<h4>工商信息</h4>
|
|
|
<div :class="['mt-2', 'business-item']" v-for="val in businessList" :key="val.value">
|
|
|
<div>{{ val.label }}</div>
|
|
|
- <div class="business-value ellipsis">{{ info.business[val.value] || '暂无' }}</div>
|
|
|
+ <div class="business-value ellipsis">
|
|
|
+ {{ info.business[val.value] || '暂无' }}
|
|
|
+ <span v-if="val.value === 'registeredCapital' && info.business[val.value]">万元</span>
|
|
|
+ </div>
|
|
|
<div :class="['my-3']"></div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -80,6 +83,7 @@ import { timesTampChange } from '@/utils/date'
|
|
|
import { dealDictObjData } from '@/utils/position'
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
+import { getDict } from '@/hooks/web/useDictionaries'
|
|
|
|
|
|
const props = defineProps({
|
|
|
id: {
|
|
@@ -126,6 +130,14 @@ const getDetails = async () => {
|
|
|
getCollectionStatus(props.id)
|
|
|
// 企业实名认证信息
|
|
|
authInfo.value = await getEnterpriseAuthDetails(props.id)
|
|
|
+
|
|
|
+ // 企业类型
|
|
|
+ if (!info.value.business) return
|
|
|
+ getDict('menduner_enterprise_type').then(({ data }) => {
|
|
|
+ if (!data || !data.length) return
|
|
|
+ const obj = data.find(e => e.value === info.value.business.type)
|
|
|
+ if (obj) info.value.business.typeName = obj.label
|
|
|
+ })
|
|
|
}
|
|
|
getDetails()
|
|
|
|
|
@@ -151,7 +163,7 @@ const handleFollow = async () => {
|
|
|
|
|
|
// 工商信息
|
|
|
const businessList = [
|
|
|
- { label: '企业类型:', value: 'type' },
|
|
|
+ { label: '企业类型:', value: 'typeName' },
|
|
|
{ label: '统一社会信用代码:', value: 'code' },
|
|
|
{ label: '成立日期:', value: 'establishmentTime' },
|
|
|
{ label: '注册资本:', value: 'registeredCapital' }
|