|
@@ -48,9 +48,7 @@
|
|
统一社会信用代码:{{ info.code || '暂无' }}
|
|
统一社会信用代码:{{ info.code || '暂无' }}
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="8" class="info">电话:{{ info.phone || '暂无' }}</el-col>
|
|
<el-col :span="8" class="info">电话:{{ info.phone || '暂无' }}</el-col>
|
|
- <el-col :span="8" class="info"
|
|
|
|
- >所属行业:{{ getDict(info.field || '暂无技术领域', 'field') }}</el-col
|
|
|
|
- >
|
|
|
|
|
|
+ <el-col :span="8" class="info">所属行业:{{ getDict(info.type, 'type') }}</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="right_3">
|
|
<el-col :span="24" class="right_3">
|
|
<el-col :span="8" class="info"
|
|
<el-col :span="8" class="info"
|
|
@@ -151,6 +149,7 @@ const fieldList = ref([])
|
|
const statusList = ref([])
|
|
const statusList = ref([])
|
|
const patternList = ref([])
|
|
const patternList = ref([])
|
|
const scaleList = ref([])
|
|
const scaleList = ref([])
|
|
|
|
+const IndustryList = ref([])
|
|
// 成果列表
|
|
// 成果列表
|
|
const list = ref([])
|
|
const list = ref([])
|
|
let skip = 0
|
|
let skip = 0
|
|
@@ -198,12 +197,16 @@ const searchOther = async () => {
|
|
// 企业规模
|
|
// 企业规模
|
|
result = await dictDataStore.query({ code: 'companyScale', is_use: '0' })
|
|
result = await dictDataStore.query({ code: 'companyScale', is_use: '0' })
|
|
if ($checkRes(result)) scaleList.value = result.data
|
|
if ($checkRes(result)) scaleList.value = result.data
|
|
|
|
+ // 企业所属行业
|
|
|
|
+ result = await dictDataStore.query({ code: 'companyIndustry', is_use: '0' })
|
|
|
|
+ if ($checkRes(result)) IndustryList.value = result.data
|
|
}
|
|
}
|
|
// 字典数据转换
|
|
// 字典数据转换
|
|
const getDict = (data, model) => {
|
|
const getDict = (data, model) => {
|
|
let res
|
|
let res
|
|
if (model == 'field') res = fieldList.value.find((f) => f.value == data)
|
|
if (model == 'field') res = fieldList.value.find((f) => f.value == data)
|
|
else if (model == 'status') res = statusList.value.find((f) => f.value == data)
|
|
else if (model == 'status') res = statusList.value.find((f) => f.value == data)
|
|
|
|
+ else if (model == 'type') res = IndustryList.value.find((f) => f.value == data)
|
|
else if (model == 'pattern') res = patternList.value.find((f) => f.value == data)
|
|
else if (model == 'pattern') res = patternList.value.find((f) => f.value == data)
|
|
else if (model == 'scale') res = scaleList.value.find((f) => f.value == data)
|
|
else if (model == 'scale') res = scaleList.value.find((f) => f.value == data)
|
|
return get(res, 'label')
|
|
return get(res, 'label')
|