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
1a039f47
Commit
1a039f47
authored
Nov 13, 2025
by
延飞 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oee时间利用率 loading 提示优化
parent
6f8f0893
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
qdry_project/static/src/view/oee_analysis.html
+7
-0
No files found.
qdry_project/static/src/view/oee_analysis.html
View file @
1a039f47
...
@@ -549,7 +549,11 @@
...
@@ -549,7 +549,11 @@
// 处理产线改变
// 处理产线改变
async
handleLineChange
()
{
async
handleLineChange
()
{
// 避免在init过程中重复设置loading状态
const
isAlreadyLoading
=
this
.
loading
;
if
(
!
isAlreadyLoading
)
{
this
.
loading
=
true
;
this
.
loading
=
true
;
}
try
{
try
{
console
.
log
(
"产线改变,新产线ID:"
,
this
.
selectedLine
);
console
.
log
(
"产线改变,新产线ID:"
,
this
.
selectedLine
);
...
@@ -640,8 +644,11 @@
...
@@ -640,8 +644,11 @@
console
.
error
(
"切换产线失败:"
,
error
);
console
.
error
(
"切换产线失败:"
,
error
);
this
.
$message
.
error
(
"切换产线失败"
);
this
.
$message
.
error
(
"切换产线失败"
);
}
finally
{
}
finally
{
// 只有当我们设置了loading状态时才关闭它
if
(
!
isAlreadyLoading
)
{
this
.
loading
=
false
;
this
.
loading
=
false
;
}
}
}
},
},
// 获取设备状态列表
// 获取设备状态列表
...
...
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