Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
8ea2f6d3
Commit
8ea2f6d3
authored
Sep 18, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
59f29c93
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
ActualRateColumnar.vue
...ataAnalysis/components/threeEchart/ActualRateColumnar.vue
+5
-5
ActualRateColumnar2.vue
...taAnalysis/components/threeEchart/ActualRateColumnar2.vue
+5
-5
No files found.
src/components/FinancialModule/DataAnalysis/components/threeEchart/ActualRateColumnar.vue
View file @
8ea2f6d3
<
template
>
<
template
>
<div
class=
"echartsBox"
>
<div
class=
"echartsBox"
>
<div
class=
"titleBox row"
>
<div
class=
"titleBox row"
>
<h3>
毛利
率
变化趋势图
</h3>
<h3>
毛利变化趋势图
</h3>
<div
style=
"margin-left: 20px;"
>
<div
style=
"margin-left: 20px;"
>
...
@@ -78,11 +78,11 @@ export default {
...
@@ -78,11 +78,11 @@ export default {
label
:
{
label
:
{
show
:
true
,
show
:
true
,
position
:
'top'
,
// 在顶部显示
position
:
'top'
,
// 在顶部显示
formatter
:
'{c}
%
'
// 格式化金额,{c} 代表数据值
formatter
:
'{c}
w
'
// 格式化金额,{c} 代表数据值
},
},
data
:
x
.
MonthData
.
map
(
x
=>
{
return
x
})
// 绑定实时数据数组
data
:
x
.
MonthData
.
map
(
x
=>
{
return
(
x
/
10000
).
toFixed
(
2
)
})
// 绑定实时数据数组
}
}
if
(
x
.
Name
==
'毛利
率
'
)
datas
.
push
(
obj
)
if
(
x
.
Name
==
'毛利'
)
datas
.
push
(
obj
)
if
(
indexs
>
6
){
if
(
indexs
>
6
){
let
name
=
x
.
Name
;
let
name
=
x
.
Name
;
Newobj
[
name
]
=
false
;
Newobj
[
name
]
=
false
;
...
@@ -144,7 +144,7 @@ export default {
...
@@ -144,7 +144,7 @@ export default {
textStyle
:
{
textStyle
:
{
color
:
"#969696"
color
:
"#969696"
},
},
formatter
:
'{value}
%
'
,
formatter
:
'{value}
w
'
,
margin
:
20
// 标签距离y轴的距离为20
margin
:
20
// 标签距离y轴的距离为20
},
},
splitLine
:{
splitLine
:{
...
...
src/components/FinancialModule/DataAnalysis/components/threeEchart/ActualRateColumnar2.vue
View file @
8ea2f6d3
<
template
>
<
template
>
<div
class=
"echartsBox"
>
<div
class=
"echartsBox"
>
<div
class=
"titleBox row"
>
<div
class=
"titleBox row"
>
<h3>
实际利
率
变化趋势图
</h3>
<h3>
实际利
润
变化趋势图
</h3>
<div
style=
"margin-left: 20px;"
>
<div
style=
"margin-left: 20px;"
>
...
@@ -78,11 +78,11 @@ export default {
...
@@ -78,11 +78,11 @@ export default {
label
:
{
label
:
{
show
:
true
,
show
:
true
,
position
:
'top'
,
// 在顶部显示
position
:
'top'
,
// 在顶部显示
formatter
:
'{c}
%
'
// 格式化金额,{c} 代表数据值
formatter
:
'{c}
w
'
// 格式化金额,{c} 代表数据值
},
},
data
:
x
.
MonthData
.
map
(
x
=>
{
return
x
})
// 绑定实时数据数组
data
:
x
.
MonthData
.
map
(
x
=>
{
return
(
x
/
10000
).
toFixed
(
2
)
})
// 绑定实时数据数组
}
}
if
(
x
.
Name
==
'实际利
率
'
)
datas
.
push
(
obj
)
if
(
x
.
Name
==
'实际利
润
'
)
datas
.
push
(
obj
)
if
(
indexs
>
6
){
if
(
indexs
>
6
){
let
name
=
x
.
Name
;
let
name
=
x
.
Name
;
Newobj
[
name
]
=
false
;
Newobj
[
name
]
=
false
;
...
@@ -144,7 +144,7 @@ export default {
...
@@ -144,7 +144,7 @@ export default {
textStyle
:
{
textStyle
:
{
color
:
"#969696"
color
:
"#969696"
},
},
formatter
:
'{value}
%
'
,
formatter
:
'{value}
w
'
,
margin
:
20
// 标签距离y轴的距离为20
margin
:
20
// 标签距离y轴的距离为20
},
},
splitLine
:{
splitLine
:{
...
...
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