Commit 87772722 by hanxiao

增加发明人搜索维度

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