Commit 87772722 by hanxiao

增加发明人搜索维度

parent d3d79dc9
......@@ -50,7 +50,7 @@
@click="lenovnoPatentDetails(item)"
></div>
<div
v-else
v-else-if="patent_cate == 'fmr'"
style="cursor: pointer; width: 80%"
v-html="item.gkh"
@click="lenovnoPatentDetails(item)"
......@@ -58,6 +58,9 @@
<a-tag class="cate" color="blue" v-if="patent_cate == 'title'"
>专利名称</a-tag
>
<a-tag class="cate" color="blue" v-else-if="patent_cate == 'fmr'"
>发明人</a-tag
>
<a-tag class="cate" color="blue" v-else>专利号</a-tag>
</div>
</div>
......
......@@ -42,6 +42,12 @@
@click="lenovnoPatentDetails(item)"
></div>
<div
v-else-if="patent_cate == 'fmr'"
style="cursor: pointer; width: 80%"
v-html="item.gkh"
@click="lenovnoPatentDetails(item)"
></div>
<div
v-else
style="cursor: pointer"
v-html="item.gkh"
......@@ -50,6 +56,9 @@
<a-tag class="cate" color="blue" v-if="patent_cate == 'title'"
>专利名称</a-tag
>
<a-tag class="cate" color="blue" v-else-if="patent_cate == 'fmr'"
>发明人</a-tag
>
<a-tag class="cate" color="blue" v-else>专利号</a-tag>
</div>
</div>
......@@ -113,7 +122,7 @@
<!-- 专利表格结果 -->
<div class="patent_con_right">
<h2>
推荐<span>{{ total?total:0 }}</span
推荐<span>{{ total ? total : 0 }}</span
>条相关结果
<!-- 筛选的标签展示 -->
<div class="filter">
......@@ -139,8 +148,11 @@
</template>
</template>
</a-table>
<div style="height: 50%;" v-else>
<a-empty style="margin-top: 15%;" :description="'您的搜索词太宽泛,建议更换一下搜索词'" />
<div style="height: 50%" v-else>
<a-empty
style="margin-top: 15%"
:description="'您的搜索词太宽泛,建议更换一下搜索词'"
/>
</div>
<br />
<a-pagination
......@@ -217,6 +229,13 @@ export default {
width: 180,
},
{
title: "发明人",
dataIndex: "fmr",
key: "fmr",
ellipsis: true,
width: 180,
},
{
title: "公开日",
dataIndex: "gkrq",
key: "gkrq",
......@@ -231,7 +250,7 @@ export default {
patentdata: [],
filter: [],
total: 0,
search_word:false
search_word: false,
};
},
components: {},
......@@ -249,7 +268,7 @@ export default {
patents({ ...params }).then((res) => {
if (res.code == 0) {
this.patentdata = res.data.list;
this.search_word = res.data.search_word
this.search_word = res.data.search_word;
this.total = res.data.total;
} else {
message.error(res.data.msg);
......@@ -261,7 +280,6 @@ export default {
this.search_result_show = false;
this.keyword ? (this.filter = [this.keyword]) : (this.filter = []);
this.getList(this.keyword);
},
//改变页码
onChange() {
......@@ -287,8 +305,8 @@ export default {
};
patentselect({ ...params }).then((res) => {
if (res.code == 0) {
this.patentdata = res.data.list
this.search_word = res.data.search_word
this.patentdata = res.data.list;
this.search_word = res.data.search_word;
this.total = res.data.total;
}
});
......@@ -297,7 +315,7 @@ export default {
clearvalue() {
this.value1 = [];
this.value2 = [];
this.keyword = ''
this.keyword = "";
this.formState = {
// keyword: "",
rangetime1: "",
......
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