Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
ty_patentSys
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanxiao
ty_patentSys
Commits
87772722
Commit
87772722
authored
Sep 04, 2023
by
hanxiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加发明人搜索维度
parent
d3d79dc9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
10 deletions
+31
-10
src/views/home/home.vue
+4
-1
src/views/patent/index.vue
+27
-9
No files found.
src/views/home/home.vue
View file @
87772722
...
@@ -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>
...
...
src/views/patent/index.vue
View file @
87772722
...
@@ -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
:
""
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment