Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
蒋勇
zhichan
Commits
6786ca23
Commit
6786ca23
authored
Dec 20, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
fc8bd905
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
igirl-web/app/base/controller/impl/patentycCtl.js
+11
-12
No files found.
igirl-web/app/base/controller/impl/patentycCtl.js
View file @
6786ca23
...
...
@@ -20,14 +20,19 @@ class PatentycCtl extends CtlBase {
async
obtainreport
(
pobj
,
obj
,
req
){
var
result
=
await
this
.
service
.
obtainreport
(
obj
);
return
System
.
getResult2
(
result
,
null
);
}
}
async
reportGeneration
(
pobj
,
obj
,
req
)
{
//导出报告
var
result
=
await
this
.
service
.
reportGeneration
(
obj
);
return
System
.
getResult2
(
result
,
null
);
};
//申请人分析-申请人排名
async
applierRank
(
pobj
,
obj
,
req
)
{
var
result
=
await
this
.
service
.
applierRank
(
obj
);
return
System
.
getResult2
(
result
,
null
);
};
//申请人分析-申请人归属国分析
async
applierCity
(
pobj
,
obj
,
req
)
{
var
result
=
await
this
.
service
.
applierCity
(
obj
);
...
...
@@ -117,11 +122,6 @@ class PatentycCtl extends CtlBase {
return
System
.
getResult2
(
result
,
null
);
};
async
reportGeneration
(
pobj
,
obj
,
req
)
{
//导出报告
var
result
=
await
this
.
service
.
reportGeneration
(
obj
);
return
System
.
getResult2
(
result
,
null
);
};
async
mainCountryApplyTrend
(
pobj
,
obj
,
req
)
{
//区域分析-主要国家申请趋势
var
result
=
await
this
.
service
.
mainCountryApplyTrend
(
obj
);
return
System
.
getResult2
(
result
,
null
);
...
...
@@ -471,7 +471,7 @@ class PatentycCtl extends CtlBase {
}
}
var
pubstatus
=
""
;
if
(
patentinfo1
.
data
.
hits
[
i
].
_source
.
pub_status
!=
null
)
{
if
(
patentinfo1
.
data
.
hits
[
i
].
_source
.
pub_status
!=
null
){
pubstatus
=
patentinfo1
.
data
.
hits
[
i
].
_source
.
pub_status
;
}
var
item
=
{
...
...
@@ -483,7 +483,7 @@ class PatentycCtl extends CtlBase {
applydate
:
patentinfo1
.
data
.
hits
[
i
].
_source
.
filing_time
,
publishdate
:
publish_date
,
articletype
:
patentinfo1
.
data
.
hits
[
i
].
_source
.
pub_type
,
pubstatus
:
pubstatus
pubstatus
:
pubstatus
}
patent1
.
push
(
item
);
}
...
...
@@ -525,7 +525,7 @@ class PatentycCtl extends CtlBase {
applydate
:
patentinfo2
.
data
.
hits
[
i
].
_source
.
app_date
,
publishdate
:
patentinfo2
.
data
.
hits
[
i
].
_source
.
pub_date
,
articletype
:
patentinfo2
.
data
.
hits
[
i
].
_source
.
pub_type
,
pubstatus
:
""
pubstatus
:
""
}
patent2
.
push
(
item
);
}
...
...
@@ -980,7 +980,7 @@ class PatentycCtl extends CtlBase {
var
pubstatus
=
""
;
if
(
patentinfo1
.
data
.
hits
[
i
].
_source
.
pub_status
!=
null
)
{
pubstatus
=
patentinfo1
.
data
.
hits
[
i
].
_source
.
pub_status
;
}
}
var
item
=
{
applynum
:
patentinfo1
.
data
.
hits
[
i
].
_source
.
filing_no
,
publishnum
:
publish_num
,
...
...
@@ -1307,6 +1307,5 @@ class PatentycCtl extends CtlBase {
}
return
System
.
getResult2
(
result
,
null
);
}
}
module
.
exports
=
PatentycCtl
;
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