Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-ui
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘自豪 Rambo Pan
shld-databoard-ui
Commits
b713b52a
Commit
b713b52a
authored
Aug 22, 2024
by
谢章伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
柱状图调整
parent
d329fa51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
safe-quality.vue
src/module/databoard/databoard/safe-quality.vue
+14
-5
No files found.
src/module/databoard/databoard/safe-quality.vue
View file @
b713b52a
...
@@ -283,7 +283,8 @@ export default {
...
@@ -283,7 +283,8 @@ export default {
bottom
:
"1%"
bottom
:
"1%"
},
},
yAxis
:
{
yAxis
:
{
show
:
false
show
:
false
,
type
:
'log'
},
},
xAxis
:
{
xAxis
:
{
data
:
[
'计划量'
,
'完成量'
,
'余量'
],
data
:
[
'计划量'
,
'完成量'
,
'余量'
],
...
@@ -316,7 +317,8 @@ export default {
...
@@ -316,7 +317,8 @@ export default {
bottom
:
"1%"
bottom
:
"1%"
},
},
yAxis
:
{
yAxis
:
{
show
:
false
show
:
false
,
type
:
'log'
},
},
xAxis
:
{
xAxis
:
{
data
:
[
'计划量'
,
'完成量'
,
'余量'
],
data
:
[
'计划量'
,
'完成量'
,
'余量'
],
...
@@ -349,7 +351,8 @@ export default {
...
@@ -349,7 +351,8 @@ export default {
bottom
:
"1%"
bottom
:
"1%"
},
},
yAxis
:
{
yAxis
:
{
show
:
false
show
:
false
,
type
:
'log'
},
},
xAxis
:
{
xAxis
:
{
data
:
[
'计划量'
,
'完成量'
,
'余量'
],
data
:
[
'计划量'
,
'完成量'
,
'余量'
],
...
@@ -544,7 +547,7 @@ export default {
...
@@ -544,7 +547,7 @@ export default {
})
})
},
},
formatNumber
(
number
){
formatNumber
(
number
){
// 格式化保留两位小时
,返回数字
// 格式化保留两位小数
,返回数字
return
Number
(
conver_num_retain
(
number
).
replaceAll
(
','
,
''
));
return
Number
(
conver_num_retain
(
number
).
replaceAll
(
','
,
''
));
},
},
getcarShipTrainCss
(){
getcarShipTrainCss
(){
...
@@ -573,7 +576,7 @@ export default {
...
@@ -573,7 +576,7 @@ export default {
color
:
'#FFFFFF'
,
color
:
'#FFFFFF'
,
},
},
barWidth
:
'40%'
,
barWidth
:
'40%'
,
barGap
:
'50%'
,
barGap
:
'50%'
,
emphasis
:
{
emphasis
:
{
focus
:
'series'
focus
:
'series'
},
},
...
@@ -709,6 +712,12 @@ export default {
...
@@ -709,6 +712,12 @@ export default {
padding
:
0
;
padding
:
0
;
margin
:
0
;
margin
:
0
;
}
}
#people_bar
canvas
{
width
:
100%
;
height
:
100%
;
padding
:
0
;
margin
:
0
;
}
#people_bar
div
canvas
{
#people_bar
div
canvas
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
...
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