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
3f23a442
Commit
3f23a442
authored
Oct 27, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-ly' of
http://git.pseer.com:8800/platform/hp-smart
into dev-ly
parents
e38697c3
e1bbb67b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
3 deletions
+34
-3
HPBI003.jsp
src/main/webapp/HP/BI/HPBI003.jsp
+34
-3
No files found.
src/main/webapp/HP/BI/HPBI003.jsp
View file @
3f23a442
...
...
@@ -265,7 +265,9 @@
queryXMinfoList
:[],
dataList
:[
'项目名称'
,
'计划完成时间'
,
'计划产量'
,
'实际产量'
,
'生产进度'
,
'发货进度'
],
testList
:[]
testList
:[],
extremes
:{},
};
},
mounted
()
{
...
...
@@ -468,12 +470,33 @@
IPLAT
.
EiCommunicator
.
send
(
'HPBI003'
,
'queryZHCLInfo'
,
inInfo
,
{
onSuccess
:
function
(
res
)
{
_this
.
queryZHCLInfoList
=
res
.
extAttr
.
result
;
_this
.
queryZHCLInfoList
.
forEach
(
item
=>
{
item
.
label
=
{
show
:
true
,
position
:
'top'
};
});
var
overallMax
=
-
Infinity
;
var
overallMin
=
Infinity
;
_this
.
queryZHCLInfoList
.
forEach
(
series
=>
{
series
.
data
.
forEach
(
value
=>
{
if
(
value
>
overallMax
)
{
overallMax
=
value
;
// 更新整体最大值
}
if
(
value
<
overallMin
)
{
overallMin
=
value
;
// 更新整体最小值
}
});
});
_this
.
extremes
=
{
max
:
overallMax
,
min
:
overallMin
};
console
.
log
(
'extremes'
,
_this
.
extremes
);
console
.
log
(
'queryZHCLInfoArray'
,
_this
.
queryZHCLInfoList
)
_this
.
queryZHCLInfoArray
=
res
.
extAttr
.
name
;
console
.
log
(
'queryZHCLInfoArray'
,
_this
.
queryZHCLInfoArray
)
...
...
@@ -494,6 +517,9 @@
color
:
'#A4B3C5'
,
fontSize
:
14
,
},
tooltip
:{
trigger
:
'axis'
},
legend
:
{
data
:
this
.
queryZHCLInfoArray
,
textStyle
:
{
...
...
@@ -513,9 +539,14 @@
data
:
this
.
queryZHCLInfoDate
},
yAxis
:
{
type
:
'value'
type
:
'value'
,
max
:
this
.
extremes
.
max
+
1
,
min
:
this
.
extremes
.
min
,
axisLabel
:
{
show
:
false
}
},
series
:
this
.
queryZHCLInfoList
series
:
this
.
queryZHCLInfoList
,
}
},
...
...
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