|
@@ -139,13 +139,13 @@
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="3" class="content textOver">
|
|
<el-col :span="3" class="content textOver">
|
|
- {{ getArea(item.area || '暂无地区') }}
|
|
|
|
|
|
+ {{ getArea(item.area) }}
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="3" class="content textOver">
|
|
<el-col :span="3" class="content textOver">
|
|
- {{ getDict(item.education || '学历/职称', 'maturity') }}
|
|
|
|
|
|
+ {{ getDict(item.education || '学历/职称', 'education') }}
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="3" class="content textOver">
|
|
<el-col :span="3" class="content textOver">
|
|
- {{ getDict(item.field || '暂无技术领域', 'maturity') }}
|
|
|
|
|
|
+ {{ getDict(item.field || '暂无技术领域', 'field') }}
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="3" class="content textOver">
|
|
<el-col :span="3" class="content textOver">
|
|
{{ item.unit || '暂无工作单位' }}
|
|
{{ item.unit || '暂无工作单位' }}
|
|
@@ -338,6 +338,7 @@ const statusList = ref([])
|
|
const fieldList = ref([])
|
|
const fieldList = ref([])
|
|
const patternList = ref([])
|
|
const patternList = ref([])
|
|
const scaleList = ref([])
|
|
const scaleList = ref([])
|
|
|
|
+const educationList = ref([])
|
|
// 成果
|
|
// 成果
|
|
const achievementList = ref([])
|
|
const achievementList = ref([])
|
|
// 专家
|
|
// 专家
|
|
@@ -359,6 +360,9 @@ onMounted(async () => {
|
|
})
|
|
})
|
|
const searchOther = async () => {
|
|
const searchOther = async () => {
|
|
let result
|
|
let result
|
|
|
|
+ // 学历
|
|
|
|
+ result = await dictDataStore.query({ code: 'education', is_use: '0' })
|
|
|
|
+ if ($checkRes(result)) educationList.value = result.data
|
|
// 合作类型
|
|
// 合作类型
|
|
result = await dictDataStore.query({ code: 'projectType', is_use: '0' })
|
|
result = await dictDataStore.query({ code: 'projectType', is_use: '0' })
|
|
if ($checkRes(result)) projectList.value = result.data
|
|
if ($checkRes(result)) projectList.value = result.data
|
|
@@ -436,6 +440,7 @@ const searchAchieve = async () => {
|
|
const getDict = (data, model) => {
|
|
const getDict = (data, model) => {
|
|
let res
|
|
let res
|
|
if (model == 'cooperate') res = projectList.value.find((f) => f.value == data)
|
|
if (model == 'cooperate') res = projectList.value.find((f) => f.value == data)
|
|
|
|
+ else if (model == 'education') res = educationList.value.find((f) => f.value == data)
|
|
else if (model == 'maturity') res = maturityList.value.find((f) => f.value == data)
|
|
else if (model == 'maturity') res = maturityList.value.find((f) => f.value == data)
|
|
else if (model == 'type') res = industryList.value.find((f) => f.value == data)
|
|
else if (model == 'type') res = industryList.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)
|
|
@@ -447,6 +452,7 @@ const getDict = (data, model) => {
|
|
// 地区显示
|
|
// 地区显示
|
|
const getArea = (data) => {
|
|
const getArea = (data) => {
|
|
if (data) return data.join(',')
|
|
if (data) return data.join(',')
|
|
|
|
+ else return '暂无地区'
|
|
}
|
|
}
|
|
// 查看详情
|
|
// 查看详情
|
|
const toView = (item, type) => {
|
|
const toView = (item, type) => {
|