Commit 09887162 by liudx

修改bug

parent 081d36af
......@@ -62,7 +62,10 @@
></cooperation>
</a-tab-pane>
<a-tab-pane key="科创能力评价" tab="科创能力评价">
<technology :technologyData="technologyData"></technology>
<technology
:technologyData="technologyData"
:company_name="baseinfo.company_name"
></technology>
</a-tab-pane>
</a-tabs>
<a-modal
......@@ -186,8 +189,8 @@ export default {
},
visible: false,
max_value_purchase: 0,
max_value_apply:0,
max_list_apply:[],
max_value_apply: 0,
max_list_apply: [],
email: "",
value: undefined,
activeKey: "企业概况",
......@@ -319,7 +322,7 @@ export default {
jointApplication({ id: id }).then((res) => {
if (res.code == 0) {
this.jointData = res.data;
this.max_list_apply = this.jointData.max_list
this.max_list_apply = this.jointData.max_list;
this.max_value_apply =
this.jointData.max_list.length > 0
? this.jointData.max_list[0].max_value
......@@ -390,8 +393,7 @@ export default {
this.technologyData.technical_quality_avg,
this.technologyData.technical_volume_avg,
],
name: "均值",
name: this.technologyData.company_industry,
areaStyle: {
color: "#F7B46A",
},
......@@ -416,7 +418,7 @@ export default {
this.technologyData.technical_quality,
this.technologyData.technical_volume,
],
name: "科创能力分值",
name: this.baseinfo.company_name,
areaStyle: {
color: "#5A95F7",
......@@ -1012,7 +1014,7 @@ export default {
let company_finance = that.baseinfo.company_finance;
let max_value_purchase = that.max_value_purchase;
let max_list_apply = that.max_list_apply;
let max_value_apply = that.max_value_apply
let max_value_apply = that.max_value_apply;
let date = new Date();
var year = date.getFullYear();
var month = date.getMonth() + 1;
......@@ -1283,6 +1285,7 @@ export default {
created() {
this.id = this.$route.query.id;
this.init(this.id);
window.scrollTo(0, 0);
},
......
......@@ -79,13 +79,14 @@ export default {
},
props: {
technologyData: Object,
company_name:String,
},
beforeMount() {
this.init()
},
created() {
this.technology = this.$props.technologyData;
this.name = this.$props.company_name
console.log()
},
methods: {
......@@ -137,8 +138,7 @@ export default {
{
// value: [20, 10, 25],
value:[this.technology.company_competitiveness_avg,this.technology.technical_quality_avg,this.technology.technical_volume_avg],
name: "均值",
name: this.technology.company_industry,
areaStyle: {
color: "#F7B46A",
},
......@@ -159,7 +159,7 @@ export default {
{
// value: [10, 15, 15],
value:[this.technology.company_competitiveness,this.technology.technical_quality,this.technology.technical_volume],
name: "科创能力分值",
name: this.name,
areaStyle: {
color: "#5A95F7",
......
......@@ -5,7 +5,6 @@
<div class="home_main">
<div class="sider">
{{ current }}
<div
:class="[current == item.name ? 'sider_item active' : 'sider_item ']"
v-for="item in siderArr"
......
......@@ -35,7 +35,7 @@
<div style="position: relative">
<div
v-if="patent_cate == 'title'"
style="cursor: pointer;width: 80%;"
style="cursor: pointer; width: 80%"
v-html="item.title"
@click="lenovnoPatentDetails(item)"
></div>
......@@ -162,7 +162,7 @@ export default {
name: "patent",
data() {
return {
timer:null,
timer: null,
zh_CN,
search_result_show: false,
search_result: [],
......@@ -371,6 +371,7 @@ export default {
},
//联想搜索
onInput() {
console.log(11111111111111);
patentLenovo({ keyword: this.keyword }).then((res) => {
if (res.code == 0) {
this.search_result_show = true;
......@@ -386,6 +387,8 @@ export default {
},
//
onFocus() {
console.log(2222222222222);
if (this.keyword) {
patentLenovo({ keyword: this.keyword }).then((res) => {
if (res.code == 0) {
......@@ -409,7 +412,6 @@ export default {
},
//从联想结果打开专利页面
lenovnoPatentDetails(item) {
this.$router.push({
path: "/patentDetails",
query: {
......@@ -432,7 +434,8 @@ export default {
created() {
this.type = "专利";
this.keyword = this.$route.query.keyword;
if (!this.keyword && sessionStorage.getItem("searchzl") == "") {
this.keyword ? (this.filter = [this.keyword]) : (this.filter = []);
if (sessionStorage.getItem("searchzl") == "") {
this.getList(this.keyword);
}
......@@ -511,7 +514,6 @@ export default {
padding: 15px 5px 15px 25px;
font-family: "SF Pro Text";
font-size: 16px;
}
.search_result_item:hover {
background-color: #f5fbff;
......
......@@ -292,30 +292,35 @@
<a-descriptions-item :span="2" label="注册地址">{{
item.address
}}</a-descriptions-item>
<a-descriptions-item
:span="3"
label="专利信息"
v-if="item.patents.length > 3"
>
<div v-html="item.patents[0]"></div>
<div v-html="item.patents[1]"></div>
<div v-html="item.patents[2]"></div>
</a-descriptions-item>
<a-descriptions-item
:span="3"
label="专利信息"
v-else-if="item.patents.length == 0"
>
</a-descriptions-item>
<a-descriptions-item :span="3" label="专利信息" v-else>
<template v-for="patent in item.patents">
<div v-html="patent"></div>
</template>
</a-descriptions-item>
<a-descriptions-item :span="3" label="经营范围">
<div v-html="item.business_scope"></div>
</a-descriptions-item>
<template v-if="item.patents.length != 0">
<a-descriptions-item
:span="3"
label="专利信息"
v-if="item.patents.length > 3"
>
<div v-html="item.patents[0]"></div>
<div v-html="item.patents[1]"></div>
<div v-html="item.patents[2]"></div>
</a-descriptions-item>
<a-descriptions-item
:span="3"
label="专利信息"
v-else-if="item.patents.length == 0"
>
</a-descriptions-item>
<a-descriptions-item :span="3" label="专利信息" v-else>
<template v-for="patent in item.patents">
<div v-html="patent"></div>
</template>
</a-descriptions-item>
</template>
<template v-if="item.business_scope">
<a-descriptions-item :span="3" label="经营范围">
<div v-html="item.business_scope"></div>
</a-descriptions-item>
</template>
</a-descriptions>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment