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
554f2579
Commit
554f2579
authored
May 22, 2025
by
Cai Wei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(*): 布袋除尘页面开发
parent
4ab71b43
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
568 additions
and
4 deletions
+568
-4
index.js
src/router/index.js
+6
-2
chart.js
src/utils/chart.js
+92
-1
map-svg.vue
src/views/dashboard/components/map-svg.vue
+2
-1
bag-monitoring.vue
src/views/dustMonitoring/bag-monitoring.vue
+468
-0
No files found.
src/router/index.js
View file @
554f2579
...
...
@@ -2,13 +2,12 @@ import { createWebHistory, createRouter } from 'vue-router'
import
Dashboard
from
'../views/dashboard/index.vue'
import
DustOverview
from
'../views/dustOverview/index.vue'
import
HomeView
from
'../views/HomeView.vue'
import
AboutView
from
'../views/AboutView.vue'
import
User
from
'../views/user.vue'
import
Layout
from
'../layout/index.vue'
import
Login
from
'../views/login/index.vue'
import
equipmentManagement
from
'../views/equipmentManagement/index.vue'
import
dustMonitoring
from
'../views/dustMonitoring/index.vue'
import
bagMonitoring
from
'../views/dustMonitoring/bag-monitoring.vue'
import
myAgency
from
'@/views/closeManage/myAgency.vue'
;
import
myDone
from
'@/views/closeManage/myDone.vue'
;
...
...
@@ -37,6 +36,11 @@ const routes = [
component
:
dustMonitoring
,
meta
:
{
title
:
'除尘器监控'
},
},
{
path
:
'/bag-monitor'
,
component
:
bagMonitoring
,
meta
:
{
title
:
'BME布袋监测'
},
},
{
path
:
'/alerts'
,
component
:
AboutView
,
...
...
src/utils/chart.js
View file @
554f2579
...
...
@@ -57,4 +57,95 @@ export const getLineOption = (xData = [], seriesData = []) => ({
smooth
:
true
,
},
],
});
\ No newline at end of file
});
// 布袋监测图表配置
export
const
getBagMonitoringChartOption
=
(
xData
=
[],
seriesData
=
[])
=>
({
tooltip
:
{
trigger
:
'axis'
,
axisPointer
:
{
type
:
'line'
,
lineStyle
:
{
color
:
'#6E7079'
,
width
:
1
}
}
},
grid
:
{
left
:
'20'
,
right
:
'20'
,
bottom
:
'30'
,
top
:
'3%'
,
containLabel
:
true
},
xAxis
:
{
type
:
'category'
,
boundaryGap
:
false
,
axisLine
:
{
lineStyle
:
{
color
:
'#E9ECF2'
}
},
axisLabel
:
{
color
:
'rgba(0,0,0,0.6)'
,
fontSize
:
12
,
interval
:
'auto'
,
rotate
:
0
},
axisTick
:
{
show
:
false
},
data
:
xData
},
yAxis
:
{
type
:
'value'
,
min
:
0
,
max
:
600
,
interval
:
200
,
axisLabel
:
{
color
:
'rgba(0,0,0,0.6)'
,
formatter
:
'{value}'
},
splitLine
:
{
lineStyle
:
{
color
:
'#E9ECF2'
,
type
:
'dashed'
}
}
},
series
:
[
{
name
:
'监测值'
,
type
:
'line'
,
smooth
:
false
,
symbol
:
'none'
,
sampling
:
'average'
,
itemStyle
:
{
color
:
'#7B68EE'
},
lineStyle
:
{
width
:
1
},
areaStyle
:
{
color
:
{
type
:
'linear'
,
x
:
0
,
y
:
0
,
x2
:
0
,
y2
:
1
,
colorStops
:
[
{
offset
:
0
,
color
:
'rgba(123, 104, 238, 0.4)'
},
{
offset
:
1
,
color
:
'rgba(123, 104, 238, 0.1)'
}
]
}
},
data
:
seriesData
,
}
]
});
\ No newline at end of file
src/views/dashboard/components/map-svg.vue
View file @
554f2579
...
...
@@ -234,6 +234,7 @@ onBeforeUnmount(() => {
&
.active
{
box-shadow
:
0
0
10px
rgba
(
255
,
255
,
255
,
0
.5
);
z-index
:
100
;
}
.pulse
{
...
...
@@ -284,7 +285,7 @@ onBeforeUnmount(() => {
padding
:
12px
;
color
:
#fff
;
pointer-events
:
none
;
z-index
:
3
;
z-index
:
999
;
.text-status-normal
{
color
:
#00ff9d
!
important
;
...
...
src/views/dustMonitoring/bag-monitoring.vue
0 → 100644
View file @
554f2579
This diff is collapsed.
Click to expand it.
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