Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hp-smart
Commits
1834001d
Commit
1834001d
authored
Oct 26, 2024
by
lyy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
echarts图表显示值
parent
eeaddac3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
4 deletions
+54
-4
HPBI003.jsp
src/main/webapp/HP/BI/HPBI003.jsp
+38
-4
HPBI004.jsp
src/main/webapp/HP/BI/HPBI004.jsp
+16
-0
No files found.
src/main/webapp/HP/BI/HPBI003.jsp
View file @
1834001d
...
...
@@ -121,7 +121,7 @@
<div
id=
"app"
>
<el-container>
<el-header
style=
"height: 5vh; padding: 0"
>
<div
class=
"home-header-pagema
i
n"
>
<div
class=
"home-header-pageman"
>
<el-select
v-model=
"factory"
@
change=
"handledataPicker"
>
<el-option
v-for=
"(item,index) in factoryList"
...
...
@@ -408,8 +408,36 @@
// ]
},
xAxis
:
{
type
:
'category'
},
yAxis
:
{},
series
:
[{
type
:
'bar'
,
itemStyle
:
{
color
:
'#0391FF'
}
},
{
type
:
'bar'
,
itemStyle
:
{
color
:
'#00EBFF'
}},
{
type
:
'bar'
,
itemStyle
:
{
color
:
'#05CC26'
}
}]
yAxis
:
{
type
:
'value'
},
series
:
[
{
type
:
'bar'
,
itemStyle
:
{
color
:
'#0391FF'
},
label
:
{
show
:
true
,
position
:
'top'
}
},
{
type
:
'bar'
,
itemStyle
:
{
color
:
'#00EBFF'
},
label
:
{
show
:
true
,
position
:
'top'
}
},
{
type
:
'bar'
,
itemStyle
:
{
color
:
'#05CC26'
}
,
label
:
{
show
:
true
,
position
:
'top'
}
}]
}
},
queryBJInfo
(){
...
...
@@ -440,6 +468,12 @@
IPLAT
.
EiCommunicator
.
send
(
'HPBI003'
,
'queryZHCLInfo'
,
inInfo
,
{
onSuccess
:
function
(
res
)
{
_this
.
queryZHCLInfoList
=
res
.
extAttr
.
result
;
_this
.
queryZHCLInfoList
.
forEach
(
item
=>
{
item
.
label
=
{
show
:
true
,
position
:
'top'
};
});
console
.
log
(
'queryZHCLInfoArray'
,
_this
.
queryZHCLInfoList
)
_this
.
queryZHCLInfoArray
=
res
.
extAttr
.
name
;
console
.
log
(
'queryZHCLInfoArray'
,
_this
.
queryZHCLInfoArray
)
...
...
@@ -467,7 +501,7 @@
}
},
grid
:
{
top
:
'
9
%'
,
top
:
'
18
%'
,
bottom
:
'2%'
,
left
:
'2%'
,
right
:
'2%'
,
...
...
src/main/webapp/HP/BI/HPBI004.jsp
View file @
1834001d
...
...
@@ -423,6 +423,10 @@
areaStyle
:
{
color
:
'#245085'
},
label
:
{
show
:
true
,
position
:
'top'
}
}
]
...
...
@@ -507,6 +511,10 @@
areaStyle
:
{
color
:
'#245085'
},
label
:
{
show
:
true
,
position
:
'top'
}
}
]
...
...
@@ -576,6 +584,10 @@
areaStyle
:
{
color
:
'#245085'
},
label
:
{
show
:
true
,
position
:
'top'
}
}
]
...
...
@@ -627,6 +639,10 @@
areaStyle
:
{
color
:
'#245085'
},
label
:
{
show
:
true
,
position
:
'top'
}
}
]
...
...
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