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
b0dfe3cc
Commit
b0dfe3cc
authored
Aug 08, 2023
by
liudx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联调导出接口
parent
a776e5f0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
50 deletions
+11
-50
public/company.docx
+0
-0
src/utils/indexApi.js
+1
-1
src/views/company/companyDetails.vue
+0
-0
src/views/company/technology.vue
+6
-34
src/views/login/forget.vue
+0
-9
src/views/patent/patentDetails.vue
+0
-0
src/views/userset/personalSetting.vue
+4
-6
No files found.
public/company.docx
View file @
b0dfe3cc
No preview for this file type
src/utils/indexApi.js
View file @
b0dfe3cc
...
@@ -6,7 +6,7 @@ export const patentselect = p => post('/api/patent/patents',p);
...
@@ -6,7 +6,7 @@ export const patentselect = p => post('/api/patent/patents',p);
//专利详情页面
//专利详情页面
export
const
patentDetail
=
p
=>
get
(
'/api/patent/patentDetail/'
+
p
.
id
);
export
const
patentDetail
=
p
=>
get
(
'/api/patent/patentDetail/'
+
p
.
id
);
//导出word给后端传递base64
//导出word给后端传递base64
export
const
exportword
=
p
=>
post
(
'/api/
patent/patentDetail/125
'
,
p
);
export
const
exportword
=
p
=>
post
(
'/api/
users/enterprisePatentExport
'
,
p
);
//专利智能推荐
//专利智能推荐
export
const
Recommend
=
p
=>
post
(
'/api/patent/intelligentRecommendation/'
+
p
.
id
,
p
);
export
const
Recommend
=
p
=>
post
(
'/api/patent/intelligentRecommendation/'
+
p
.
id
,
p
);
// 企业搜索接口
// 企业搜索接口
...
...
src/views/company/companyDetails.vue
View file @
b0dfe3cc
This diff is collapsed.
Click to expand it.
src/views/company/technology.vue
View file @
b0dfe3cc
...
@@ -119,6 +119,7 @@ export default {
...
@@ -119,6 +119,7 @@ export default {
{
{
type
:
"radar"
,
type
:
"radar"
,
radarIndex
:
0
,
radarIndex
:
0
,
symbol
:
'none'
,
data
:
[
data
:
[
{
{
value
:
[
20
,
10
,
25
],
value
:
[
20
,
10
,
25
],
...
@@ -139,6 +140,7 @@ export default {
...
@@ -139,6 +140,7 @@ export default {
{
{
type
:
"radar"
,
type
:
"radar"
,
radarIndex
:
0
,
radarIndex
:
0
,
symbol
:
'none'
,
data
:
[
data
:
[
{
{
value
:
[
10
,
20
,
10
],
value
:
[
10
,
20
,
10
],
...
@@ -159,37 +161,6 @@ export default {
...
@@ -159,37 +161,6 @@ export default {
],
],
};
};
chart
.
setOption
(
option1
);
chart
.
setOption
(
option1
);
//在name上移动
// let that = this;
// chart.on("mousemove", function (params) {
// that.hover = true;
// if (params.name == "技术质量") {
// that.$nextTick(() => {
// that.$refs.hover.style.left = params.event.offsetX + "px";
// that.$refs.hover.style.top = params.event.offsetY + "px";
// });
// that.con =
// "从有效专利占专利申请总量比例、有效发明专利占有效专利比例和风险专利占全部申请专利的比例分析";
// } else if (params.name == "公司竞争力") {
// that.$nextTick(() => {
// that.$refs.hover.style.left = params.event.offsetX + "px";
// that.$refs.hover.style.top = params.event.offsetY + "px";
// });
// that.con = "从公司资质类别、公司规模、对外投资和公司融资分析";
// } else if (params.name == "技术体量") {
// that.$nextTick(() => {
// that.$refs.hover.style.left = params.event.offsetX + "px";
// that.$refs.hover.style.top = params.event.offsetY + "px";
// });
// that.con = "从专利申请总量、有效专利总量和近3年专利申请增速分析";
// } else {
// that.hover = false;
// }
// });
// chart.on("mouseout", function (params) {
// that.hover = false;
// });
},
},
getOption2
()
{
getOption2
()
{
var
data
=
[
var
data
=
[
...
@@ -218,11 +189,11 @@ export default {
...
@@ -218,11 +189,11 @@ export default {
this
.
option2
=
{
this
.
option2
=
{
tooltip
:
{
tooltip
:
{
formatter
:
"{a} <br/>{b} : {c}
%
"
,
formatter
:
"{a} <br/>{b} : {c}"
,
},
},
series
:
[
series
:
[
{
{
name
:
"
Pressure
"
,
name
:
"
总分
"
,
startAngle
:
180
,
startAngle
:
180
,
endAngle
:
0
,
endAngle
:
0
,
min
:
0
,
min
:
0
,
...
@@ -240,7 +211,7 @@ export default {
...
@@ -240,7 +211,7 @@ export default {
data
:
[
data
:
[
{
{
value
:
50
,
value
:
50
,
name
:
"
总分
"
,
name
:
"
科创能力总分值
"
,
},
},
],
],
},
},
...
@@ -254,6 +225,7 @@ export default {
...
@@ -254,6 +225,7 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.company_con
{
.company_con
{
clear
:
both
;
clear
:
both
;
//
min-height
:
900px
;
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
...
...
src/views/login/forget.vue
View file @
b0dfe3cc
...
@@ -35,15 +35,6 @@
...
@@ -35,15 +35,6 @@
:rules=
"formRules"
:rules=
"formRules"
>
>
<a-form-item
name=
"phone"
>
<a-form-item
name=
"phone"
>
<!-- :rules="[
{ required: true, message: '请输入手机号!' },
{
pattern:
/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,
message: '手机号格式不正确!',
validateTrigger: 'onBlur',
},
]" -->
<a-input
v-model:value=
"formState.phone"
placeholder=
"请输入手机号"
>
<a-input
v-model:value=
"formState.phone"
placeholder=
"请输入手机号"
>
<template
#
prefix
>
<template
#
prefix
>
<img
src=
"../../static/login/icon-user.png"
alt=
""
/>
<img
src=
"../../static/login/icon-user.png"
alt=
""
/>
...
...
src/views/patent/patentDetails.vue
View file @
b0dfe3cc
This diff is collapsed.
Click to expand it.
src/views/userset/personalSetting.vue
View file @
b0dfe3cc
...
@@ -195,23 +195,21 @@ export default {
...
@@ -195,23 +195,21 @@ export default {
file
.
type
===
"image/gif"
||
file
.
type
===
"image/gif"
||
file
.
type
===
"image/jpg"
;
file
.
type
===
"image/jpg"
;
if
(
!
isJpgOrPng
)
{
if
(
!
isJpgOrPng
)
{
return
this
.
$
message
.
error
(
"请上传正确的图片格式!"
);
return
message
.
error
(
"请上传正确的图片格式!"
);
}
}
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
;
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
;
if
(
!
isLt2M
)
{
if
(
!
isLt2M
)
{
return
this
.
$
message
.
error
(
"图片大小必须小于2MB!"
);
return
message
.
error
(
"图片大小必须小于2MB!"
);
}
}
},
},
imageUpload
(
file
)
{
imageUpload
(
file
)
{
console
.
log
(
file
);
let
data
=
new
FormData
();
let
data
=
new
FormData
();
data
.
append
(
"head_img"
,
file
.
file
);
data
.
append
(
"head_img"
,
file
.
file
);
console
.
log
(
data
);
uploadFile
(
data
).
then
((
res
)
=>
{
uploadFile
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
message
.
success
(
res
.
msg
);
message
.
success
(
res
.
msg
);
this
.
img
=
res
.
data
.
file_url
;
this
.
img
=
res
.
data
.
file_url
;
// console.log( this.img)
// console.log( this.img)
}
else
{
}
else
{
message
.
error
(
res
.
msg
);
message
.
error
(
res
.
msg
);
...
@@ -224,7 +222,7 @@ export default {
...
@@ -224,7 +222,7 @@ export default {
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
formState
.
name
=
res
.
data
.
name
;
this
.
formState
.
name
=
res
.
data
.
name
;
this
.
img
=
res
.
data
.
head_img
;
this
.
img
=
res
.
data
.
head_img
;
this
.
login_name
=
res
.
data
.
account_number
;
this
.
login_name
=
res
.
data
.
account_number
;
this
.
formState
.
phone
=
res
.
data
.
phone
;
this
.
formState
.
phone
=
res
.
data
.
phone
;
this
.
phone
=
res
.
data
.
phone
;
this
.
phone
=
res
.
data
.
phone
;
console
.
log
(
this
.
img
);
console
.
log
(
this
.
img
);
...
...
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