Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dwsproject
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
dws
dwsproject
Commits
77a2b753
Commit
77a2b753
authored
Jun 23, 2025
by
guibin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.rokedata.com/dws/dwsproject
parents
2effd657
00cc86c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
qdry_project/static/src/view/oee_analysis.html
+12
-1
No files found.
qdry_project/static/src/view/oee_analysis.html
View file @
77a2b753
...
@@ -2098,7 +2098,18 @@
...
@@ -2098,7 +2098,18 @@
// 存储OEE排名数据
// 存储OEE排名数据
this
.
apiData
.
oeeRankData
=
oeeRankData
;
this
.
apiData
.
oeeRankData
=
oeeRankData
;
if
(
this
.
devices
&&
this
.
devices
.
length
>
0
)
{
this
.
devices
.
forEach
(
equipment
=>
{
oeeRank
=
this
.
apiData
.
oeeRankData
.
find
(
(
device
)
=>
device
.
code
===
equipment
.
id
);
equipment
.
utilization_rate
=
oeeRank
?
oeeRank
.
utilization_rate
:
0
;
});
this
.
devices
.
sort
((
a
,
b
)
=>
b
.
utilization_rate
-
a
.
utilization_rate
);
this
.
selectedDevice
=
this
.
devices
[
0
].
id
;
console
.
log
(
"排序后的设备数据:"
,
JSON
.
stringify
(
this
.
devices
));
this
.
updateOEETrendChart
();
}
// 更新OEE排名图表
// 更新OEE排名图表
this
.
updateOEERankChart
();
this
.
updateOEERankChart
();
...
...
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