|
|
@ -4,10 +4,18 @@ |
|
|
|
<div class="inner my-1"> |
|
|
|
<bread-crumb :arr="arr" /> |
|
|
|
</div> |
|
|
|
<banner :show-page="showPage" /> |
|
|
|
<!-- <banner :show-page="showPage" /> --> |
|
|
|
<div class="inner ins-box"> |
|
|
|
<p class="font-bold-24 item-title">{{ shareName }}</p> |
|
|
|
<div>{{ description }}</div> |
|
|
|
<p class="font-bold-24 item-title" v-if="description">{{ shareName }}</p> |
|
|
|
<div class="font-20" v-if="description">{{ description }}</div> |
|
|
|
<p class="font-bold-24 item-title" v-if="direction">研究方向:</p> |
|
|
|
<div class="font-20" v-if="direction" v-dompurify-html="direction"></div> |
|
|
|
<p class="font-bold-24 item-title">科研能力:</p> |
|
|
|
<div class="font-20"> |
|
|
|
<p>可做实验:{{ experiments }}</p> |
|
|
|
<p>测试分析:{{ vertify }}</p> |
|
|
|
<p>相关项目:{{ projectKind }}</p> |
|
|
|
</div> |
|
|
|
<p class="font-bold-24 item-title" v-if="list[0]">设备列表</p> |
|
|
|
<div class="d-flex flex-wrap" v-if="list[0]"> |
|
|
|
<div :class="(index + 1) % 4 === 0 ? 'margin-0' : ''" :key="index" class="item-box mb-8" v-for="(item, index) in list"> |
|
|
@ -79,12 +87,12 @@ |
|
|
|
<script> |
|
|
|
import { mapMutations, mapState } from 'vuex'; |
|
|
|
import { selInstrumentByRes, teamSearch } from 'config/api'; |
|
|
|
import Banner from 'components/Banner/Banner.vue'; |
|
|
|
// import Banner from 'components/Banner/Banner.vue'; |
|
|
|
import HNav from './../../components/HNav.vue'; |
|
|
|
import BreadCrumb from 'components/BreadCrumb/BreadCrumb.vue'; |
|
|
|
export default { |
|
|
|
name: 'Institute', |
|
|
|
components: { Banner, HNav, BreadCrumb }, |
|
|
|
components: { HNav, BreadCrumb }, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
id: 0, |
|
|
@ -114,6 +122,10 @@ export default { |
|
|
|
list: [], |
|
|
|
description: '', |
|
|
|
shareName: '', |
|
|
|
direction: '', // 研究方向 |
|
|
|
experiments: '', // 科研能力 |
|
|
|
projectKind: '', // 项目分类 |
|
|
|
vertify: '', // 校验 |
|
|
|
}; |
|
|
|
}, |
|
|
|
computed: mapState('home', ['LabId']), |
|
|
@ -130,6 +142,18 @@ export default { |
|
|
|
if (this.$route.params.name) { |
|
|
|
this.shareName = this.$route.params.name; |
|
|
|
} |
|
|
|
if (this.$route.params.direction) { |
|
|
|
this.direction = this.$route.params.direction; |
|
|
|
} |
|
|
|
if (this.$route.params.experiments) { |
|
|
|
this.experiments = this.$route.params.experiments; |
|
|
|
} |
|
|
|
if (this.$route.params.projectKind) { |
|
|
|
this.projectKind = this.$route.params.projectKind; |
|
|
|
} |
|
|
|
if (this.$route.params.vertify) { |
|
|
|
this.vertify = this.$route.params.vertify; |
|
|
|
} |
|
|
|
this.getData(); |
|
|
|
this.getTeam(); |
|
|
|
}, |
|
|
|