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
880918b4
Commit
880918b4
authored
Jul 26, 2023
by
liudx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联调公司详情研发可持续性
parent
318824ab
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
52 deletions
+46
-52
public/company.docx
+0
-0
src/components/EchartsCon.vue
+1
-35
src/utils/indexApi.js
+4
-0
src/views/company/companyDetails.vue
+0
-0
src/views/company/index.vue
+41
-17
src/views/company/overview.vue
+0
-0
No files found.
public/company.docx
View file @
880918b4
No preview for this file type
src/components/EchartsCon.vue
View file @
880918b4
...
...
@@ -23,40 +23,7 @@ export default {
},
option
:
{
type
:
Object
,
default
()
{
return
{
title
:
{
text
:
"ECharts 入门示例"
,
},
tooltip
:
{},
legend
:
{
icon
:
"circle"
,
orient
:
"horizontal"
,
itemGap
:
40
,
itemWidth
:
14
,
itemHeight
:
14
,
textStyle
:
{
fontSize
:
14
,
fontWeight
:
400
,
padding
:
[
4
,
0
,
0
,
0
],
},
},
xAxis
:
{
type
:
"category"
,
data
:
[
"Mon"
,
"Tue"
,
"Wed"
,
"Thu"
,
"Fri"
,
"Sat"
,
"Sun"
],
},
yAxis
:
{
type
:
"value"
,
},
series
:
[
{
data
:
[
820
,
932
,
901
,
934
,
1290
,
1330
,
1320
],
type
:
"line"
,
},
],
};
},
default
:{}
},
},
computed
:
{
...
...
@@ -103,7 +70,6 @@ export default {
// },
init
()
{
let
chart
=
echarts
.
init
(
document
.
getElementById
(
this
.
id
));
chart
.
setOption
(
this
.
option
);
// let that = this;
...
...
src/utils/indexApi.js
View file @
880918b4
...
...
@@ -15,6 +15,10 @@ export const industryType = p => get('/api/common/industryType');
export
const
enterpriseSelect
=
p
=>
post
(
'/api/enterprise/list'
,
p
);
//企业详情
export
const
enterpriseDetail
=
p
=>
get
(
'/api/enterprise/detail/'
+
p
.
id
);
//企业详情-》研发概要 研发规模
export
const
researchDevelop
=
p
=>
get
(
'/api/enterprise/researchDevelop/'
+
p
.
id
)
//企业详情-》研发概要 研发可持续性
export
const
sustainability
=
p
=>
get
(
'/api/enterprise/sustainability/'
+
p
.
id
)
...
...
src/views/company/companyDetails.vue
View file @
880918b4
This diff is collapsed.
Click to expand it.
src/views/company/index.vue
View file @
880918b4
...
...
@@ -65,23 +65,29 @@
/>
</a-config-provider>
</a-form-item>
<a-row><label
for=
""
>
注册资本
</label></a-row>
<a-row>
<a-col
:span=
"11"
>
<a-form-item
name=
"minvalue"
:rules=
"minvalueRules"
>
<a-input
v-model=
"formState.capital_nums_min"
style=
"width: 95%"
placeholder=
"请输入数值"
></a-input>
</a-form-item>
</a-col>
<a-col
:span=
"1"
>
-
</a-col>
<a-col
:span=
"11"
>
<a-form-item
name=
"maxvalue"
:rules=
"maxvalueRules"
>
<a-input
v-model=
"formState.capital_nums_max"
style=
"width: 95%"
placeholder=
"请输入数值"
></a-input>
</a-form-item>
</a-col>
</a-row>
<a-form-item
label=
"注册资本"
>
<a-input-number
v-model=
"formState.capital_nums_min"
style=
"width: 47%"
placeholder=
"请输入数值"
@
chane=
"cccc"
></a-input-number>
-
<a-form-item-rest>
<a-input-number
v-model=
"formState.capital_nums_max"
style=
"width: 47%"
placeholder=
"请输入数值"
></a-input-number>
</a-form-item-rest>
</a-form-item>
<a-form-item
label=
"企业创新排名"
>
<a-select
v-model:value=
"valueInnovation"
...
...
@@ -198,6 +204,7 @@ import {
enterpriseList
,
industryType
,
enterpriseSelect
,
}
from
"../../utils/indexApi.js"
;
import
"dayjs/locale/zh-cn"
;
import
zh_CN
from
"ant-design-vue/lib/locale-provider/zh_CN"
;
...
...
@@ -234,10 +241,27 @@ export default {
},
filter
:
[],
companylist
:
[],
minvalueRules
:
[
{
required
:
true
,
message
:
"请输入ghj"
,
trigger
:
"blur"
},
{
type
:
"number"
,
message
:
"年龄必须是一个数值"
,
trigger
:
"blur"
},
{
min
:
18
,
max
:
60
,
message
:
"年龄必须介于18到60之间"
,
trigger
:
"blur"
,
},
],
};
},
components
:
{},
methods
:
{
validateUsername
()
{
if
(
value
!==
"admin"
)
{
callback
(
new
Error
(
"用户名必须是 admin"
));
}
else
{
callback
();
}
},
//获取企业列表
getCompanyList
(
keyword
)
{
let
params
=
{
...
...
@@ -387,7 +411,7 @@ export default {
...
params
.
area
,
...
params
.
company_industry
,
...
params
.
qualification
,
params
.
innovate
params
.
innovate
,
];
if
(
key
==
"keyword"
)
{
params
.
keyword
?
filter
.
push
(
params
.
keyword
)
:
""
;
...
...
src/views/company/overview.vue
View file @
880918b4
This diff is collapsed.
Click to expand it.
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