Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DC-TOM
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
刘照晖
DC-TOM
Commits
9c889830
Commit
9c889830
authored
May 30, 2025
by
蔡伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/layout-style' into 'dev'
feat(*): 优化布袋切换问题及除尘器名称展示 See merge request
!22
parents
1ae0d6b6
2c95c7f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
bag-monitoring.vue
src/views/dustMonitoring/bag-monitoring.vue
+25
-4
index.vue
src/views/dustMonitoring/index.vue
+2
-0
index.vue
src/views/dustOverview/index.vue
+1
-0
No files found.
src/views/dustMonitoring/bag-monitoring.vue
View file @
9c889830
...
...
@@ -3,7 +3,7 @@
<div
class=
"header"
>
<div
class=
"select-container"
>
<span>
检测仪器
</span>
<el-select
v-model=
"selectedDevice"
placeholder=
"1#布袋检测仪"
>
<el-select
v-model=
"selectedDevice"
placeholder=
"1#布袋检测仪"
@
change=
"handleDeviceChange"
>
<el-option
v-for=
"item in deviceList"
:key=
"item.deviceNo"
...
...
@@ -12,7 +12,7 @@
></el-option>
</el-select>
</div>
<div
class=
"title"
>
BME布袋监测
</div>
<div
class=
"title"
>
BME布袋监测
-
{{
dusterName
}}
</div>
</div>
<div
class=
"chart-container"
>
...
...
@@ -175,8 +175,11 @@ let showRealtimeDeviceStatus = true;
// 从路由参数获取dusterNo
const
dusterNo
=
ref
(
route
.
params
.
dusterNo
||
route
.
query
.
dusterNo
||
"
ZH-ZL-1GL-001
"
route
.
params
.
dusterNo
||
route
.
query
.
dusterNo
||
""
);
// 默认值作为fallback
const
dusterName
=
ref
(
route
.
params
.
dusterName
||
route
.
query
.
dusterName
||
""
);
// 图表数据
const
chartData
=
reactive
({
...
...
@@ -223,6 +226,11 @@ const togglePanel = () => {
isPanelOpen
.
value
=
!
isPanelOpen
.
value
;
};
const
handleDeviceChange
=
(
value
)
=>
{
console
.
log
(
"value"
,
value
);
initChart
();
};
// 初始化图表
const
initChart
=
()
=>
{
if
(
chartInstance
)
{
...
...
@@ -733,6 +741,18 @@ onBeforeUnmount(() => {
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
.el-button
{
background-color
:
#2182a0
;
border-color
:
#2182a0
;
color
:
#fff
;
&
:hover
{
background-color
:
#1a6980
;
border-color
:
#1a6980
;
}
}
.time-desc
{
font-size
:
14px
;
color
:
#606266
;
...
...
@@ -749,9 +769,10 @@ onBeforeUnmount(() => {
}
.time-label
,
.time-unit
{
font-size
:
14px
;
margin
:
0
5px
;
margin-right
:
10px
;
}
.time-input
{
width
:
60px
;
}
...
...
src/views/dustMonitoring/index.vue
View file @
9c889830
...
...
@@ -542,6 +542,8 @@ const handleStatusDotClick = () => {
path
:
"/bag-monitor"
,
query
:
{
dusterNo
:
form
.
dusterNo
,
dusterName
:
dusterName
.
value
,
}
});
};
...
...
src/views/dustOverview/index.vue
View file @
9c889830
...
...
@@ -363,6 +363,7 @@ const handleStatusDotClick = (row, colIndex) => {
path
:
"/bag-monitor"
,
query
:
{
dusterNo
:
row
.
deviceNo
,
dusterName
:
row
.
deviceName
,
}
});
};
...
...
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