forked from TALL/check-work
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
171 lines
4.5 KiB
171 lines
4.5 KiB
<template>
|
|
<div class="inner equ-box">
|
|
<div class="equ-info d-flex">
|
|
<img :src="obj.visitLocation" />
|
|
<div class="equ-info-box mb-5">
|
|
<p class="equ-name">{{ obj.name }}</p>
|
|
<div class="d-flex flex-wrap">
|
|
<div class="equ-info-left" style="width: 200px">
|
|
<p>成果名字:</p>
|
|
<p>学科分类:</p>
|
|
<p>联系人:</p>
|
|
<p>联系方式:</p>
|
|
<p>转让形式:</p>
|
|
<p>成果表现形式:</p>
|
|
<p>成果阶段:</p>
|
|
</div>
|
|
<div style="width: 500px">
|
|
<p>{{ obj.name }}</p>
|
|
<p>{{ obj.classification === 0 ? '中医药学' : '' }}</p>
|
|
<p>
|
|
<span :key="index" v-for="(item, index) in obj.selPeoList">{{ item.contactsName }}</span>
|
|
</p>
|
|
<p>
|
|
<span :key="index" v-for="(item, index) in obj.selPeoList">{{ item.contactsPhone }}</span>
|
|
</p>
|
|
<p>
|
|
{{ obj.layout === 0 ? '产权转让' :
|
|
obj.layout === 1 ? '资金入股' :
|
|
obj.layout === 2 ? '技术入股' :
|
|
obj.layout === 3 ? '合作开发' :
|
|
obj.layout === 0 ? '技术服务' : '其他'}}
|
|
</p>
|
|
<p>
|
|
{{ obj.performance === 0 ? '国际标准' :
|
|
obj.performance === 1 ? '国家标准' :
|
|
obj.performance === 2 ? '行业标准' :
|
|
obj.performance === 3 ? '地方标准' :
|
|
obj.performance === 4 ? '企业标准' :
|
|
obj.performance === 5 ? '新技术' :
|
|
obj.performance === 6 ? '新工艺' :
|
|
obj.performance === 7 ? '新产品' :
|
|
obj.performance === 8 ? '新材料' :
|
|
obj.performance === 9 ? '新装备' :
|
|
obj.performance === 10 ? '农业、生物新品种' :
|
|
obj.performance === 11 ? '矿产新品种' : '其他应用技术'}}
|
|
</p>
|
|
<p>
|
|
{{ obj.stage === 0 ? '初期阶段' :
|
|
obj.stage === 1 ? '中期阶段' : '成熟应用阶段' }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="equ-btn">
|
|
<!-- <a-button style="margin-right: 20px">转化意向</a-button> -->
|
|
<intention-model :type-data="typeData" style="margin-right: 20px; float: left" />
|
|
<!-- <a-button type="primary">加入购物车</a-button> -->
|
|
<add-shopping :type-data="typeData" style="margin-right: 20px; float: right" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="content-box">
|
|
<div v-dompurify-html="obj.content"></div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapState } from 'vuex';
|
|
import { selResMes } from 'config/api';
|
|
import IntentionModel from 'components/Introduce/IntentionModel.vue';
|
|
import AddShopping from 'components/Introduce/AddShopping.vue';
|
|
export default {
|
|
name: 'AchDet',
|
|
components: { IntentionModel, AddShopping },
|
|
data() {
|
|
return {
|
|
obj: {},
|
|
typeData: {
|
|
type: 2,
|
|
Id: '',
|
|
},
|
|
};
|
|
},
|
|
computed: mapState('home', ['achId']),
|
|
created() {
|
|
this.typeData.Id = this.achId;
|
|
this.getData();
|
|
},
|
|
methods: {
|
|
async getData() {
|
|
try {
|
|
const params = { param: { id: this.achId } };
|
|
const res = await selResMes(params);
|
|
const { code, data, msg } = res.data;
|
|
if (code === 200) {
|
|
console.log(data);
|
|
this.obj = data;
|
|
}
|
|
} catch (error) {
|
|
console.log(error);
|
|
}
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="stylus" scoped>
|
|
.equ-box {
|
|
background: #fff;
|
|
padding: 20px;
|
|
margin: 60px auto;
|
|
}
|
|
|
|
.equ-info {
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.14901960784313725);
|
|
position: relative;
|
|
|
|
img {
|
|
width: 300px;
|
|
height: 300px;
|
|
}
|
|
}
|
|
|
|
.equ-name {
|
|
font-size: 24px;
|
|
font-family: Microsoft YaHei;
|
|
font-weight: bold;
|
|
line-height: 31px;
|
|
color: rgba(0, 0, 0, 0.85);
|
|
opacity: 1;
|
|
}
|
|
|
|
.equ-info-box {
|
|
position: relative;
|
|
font-size: 16px;
|
|
margin-left: 20px;
|
|
height: 300px;
|
|
font-family: Microsoft YaHei;
|
|
font-weight: 400;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
opacity: 1;
|
|
|
|
p {
|
|
margin-bottom: 6px;
|
|
}
|
|
}
|
|
|
|
.equ-info-left {
|
|
font-size: 16px;
|
|
font-family: Microsoft YaHei;
|
|
font-weight: 400;
|
|
color: rgba(0, 0, 0, 0.45);
|
|
opacity: 1;
|
|
|
|
p {
|
|
margin-bottom: 6px;
|
|
}
|
|
}
|
|
|
|
.equ-btn {
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
|
|
.content-box {
|
|
min-height: 400px;
|
|
padding: 20px;
|
|
font-size: 16px;
|
|
color: rgba(0, 0, 0, 0.65);
|
|
}
|
|
</style>
|
|
|