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
c3807a12
Commit
c3807a12
authored
May 28, 2025
by
Cai Wei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(*): 布袋监测连调
parent
f61d456b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
407 additions
and
326 deletions
+407
-326
chart.js
src/utils/chart.js
+4
-0
bag-monitoring.vue
src/views/dustMonitoring/bag-monitoring.vue
+392
-325
index.vue
src/views/dustMonitoring/index.vue
+11
-0
index.vue
src/views/dustOverview/index.vue
+0
-1
No files found.
src/utils/chart.js
View file @
c3807a12
...
...
@@ -132,6 +132,7 @@ export const getBagMonitoringChartOption = (xData = [], seriesData = []) => ({
top
:
"3%"
,
containLabel
:
true
,
},
// x轴的文字去除年月日
xAxis
:
{
type
:
"category"
,
boundaryGap
:
false
,
...
...
@@ -145,6 +146,9 @@ export const getBagMonitoringChartOption = (xData = [], seriesData = []) => ({
fontSize
:
12
,
interval
:
"auto"
,
rotate
:
0
,
formatter
:
function
(
value
)
{
return
value
.
split
(
' '
)[
1
];
}
},
axisTick
:
{
show
:
false
,
...
...
src/views/dustMonitoring/bag-monitoring.vue
View file @
c3807a12
This diff is collapsed.
Click to expand it.
src/views/dustMonitoring/index.vue
View file @
c3807a12
...
...
@@ -74,6 +74,7 @@
class=
"point warn"
v-for=
"item in detailObj.compartHealthList[0]"
:key=
"item"
@
click=
"handleStatusDotClick()"
></div>
</div>
<div
class=
"part"
>
...
...
@@ -117,6 +118,7 @@
</
template
>
<
script
setup
>
import
{
ref
,
reactive
,
onMounted
,
onUnmounted
,
watch
,
computed
}
from
"vue"
;
import
{
useRouter
}
from
"vue-router"
;
import
*
as
echarts
from
"echarts"
;
import
{
getDataFun
}
from
"@/request/method.js"
;
import
{
useUsersStore
}
from
"@/pinia/user.js"
;
...
...
@@ -148,6 +150,7 @@ const option = {
},
],
};
const
router
=
useRouter
();
const
chartInstance
=
reactive
({});
const
chartData
=
reactive
([{},
{},
{}]);
const
initChart
=
(
instance
,
option
,
domEl
)
=>
{
...
...
@@ -546,6 +549,14 @@ const dusterName = computed(() => {
return
dusterList
.
value
.
find
((
item
)
=>
item
.
dusterNo
==
form
.
dusterNo
)
?.
dusterName
;
});
const
handleStatusDotClick
=
()
=>
{
router
.
push
({
path
:
"/bag-monitor"
,
query
:
{
dusterNo
:
form
.
dusterNo
,
}
});
};
</
script
>
<
style
lang=
"scss"
scoped
>
$borderColor
:
#bbbdc3
91
;
...
...
src/views/dustOverview/index.vue
View file @
c3807a12
...
...
@@ -362,7 +362,6 @@ const handleValveNumClick = (row) => {
};
const
handleStatusDotClick
=
(
row
,
colIndex
)
=>
{
console
.
log
(
"row"
,
row
);
router
.
push
({
path
:
"/bag-monitor"
,
query
:
{
...
...
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