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
93cc4124
Commit
93cc4124
authored
May 28, 2025
by
Cai Wei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(*): 布袋除尘连调
parent
ef68a0a1
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
270 additions
and
171 deletions
+270
-171
bagMonitor.js
src/request/api/bagMonitor.js
+24
-0
chart.js
src/utils/chart.js
+1
-1
map-svg.vue
src/views/dashboard/components/map-svg.vue
+1
-0
bag-monitoring.vue
src/views/dustMonitoring/bag-monitoring.vue
+217
-160
healthyProgress.vue
src/views/dustMonitoring/components/healthyProgress.vue
+1
-1
warn.vue
src/views/dustMonitoring/components/warn.vue
+6
-3
index.vue
src/views/dustMonitoring/index.vue
+2
-2
valveSettingDialog.vue
src/views/dustOverview/components/valveSettingDialog.vue
+2
-2
index.vue
src/views/dustOverview/index.vue
+16
-2
No files found.
src/request/api/bagMonitor.js
0 → 100644
View file @
93cc4124
import
request
from
"../index.js"
;
export
function
getMonitorRealtime
(
params
)
{
return
request
({
url
:
"/api/duster/monitor/chamber"
,
method
:
"get"
,
params
,
});
}
export
function
getMonitorToday
(
params
)
{
return
request
({
url
:
"/api/duster/monitor/curve"
,
method
:
"get"
,
params
,
});
}
export
function
getMonitorList
(
params
)
{
return
request
({
url
:
"/api/duster/monitor/list"
,
method
:
"get"
,
params
,
});
}
src/utils/chart.js
View file @
93cc4124
...
...
@@ -154,7 +154,7 @@ export const getBagMonitoringChartOption = (xData = [], seriesData = []) => ({
yAxis
:
{
type
:
"value"
,
min
:
0
,
max
:
600
,
//
max: 600,
interval
:
200
,
axisLabel
:
{
color
:
"rgba(0,0,0,0.6)"
,
...
...
src/views/dashboard/components/map-svg.vue
View file @
93cc4124
...
...
@@ -46,6 +46,7 @@
<span
class=
"label"
>
描述:
</span>
<div
class=
"value"
>
<span
class=
"value-item"
v-for=
"(item, index) in spot.description"
:key=
"index"
>
{{
item
}}
</span>
<span
class=
"value-item"
v-if=
"spot.description.length === 0"
>
暂无
</span>
</div>
</div>
...
...
src/views/dustMonitoring/bag-monitoring.vue
View file @
93cc4124
This diff is collapsed.
Click to expand it.
src/views/dustMonitoring/components/healthyProgress.vue
View file @
93cc4124
...
...
@@ -9,7 +9,7 @@
class=
"healthy-progress-bar h-full transition-all duration-500 ease-out bg-gradient-to-r from-secondary to-green-400 diagonal-pattern diagonal-pattern-animation"
></div>
<div
class=
"justify-between items-center mb-2 healthy-text-position"
>
<span
class=
"font-semibold"
>
健康度
</span>
<span
class=
"font-semibold"
>
健康度
:
</span>
<span
id=
"square-progress-value"
class=
"text-lg font-bold"
>
45%
</span>
</div>
</div>
...
...
src/views/dustMonitoring/components/warn.vue
View file @
93cc4124
<
template
>
<div
class=
"title layout1"
>
<span
class=
"warn-title"
>
告警:
</span>
<
span
class=
"jump-icon"
>
>>
</span
>
<
!--
<span
class=
"jump-icon"
>
>>
</span>
--
>
</div>
<div
class=
"content"
>
<div
class=
"item"
v-for=
"item in listInfo"
:key=
"item.id"
>
...
...
@@ -41,12 +41,15 @@ const props = defineProps({
width
:
100%
;
display
:
flex
;
align-items
:
center
;
margin-bottom
:
10
px
;
margin-bottom
:
5
px
;
padding
:
4px
0px
4px
2px
;
box-shadow
:
rgba
(
53
,
58
,
62
,
0
.08
)
0px
1px
10px
0px
,
rgba
(
53
,
58
,
62
,
0
.08
)
0px
2px
4px
0px
;
box-shadow
:
rgba
(
53
,
58
,
62
,
0
.04
)
0px
1px
10px
0px
,
rgba
(
53
,
58
,
62
,
0
.04
)
0px
2px
4px
0px
;
font-size
:
14px
;
color
:
#333
;
img
{
width
:
20px
;
height
:
auto
;
margin-right
:
10px
;
}
}
}
...
...
src/views/dustMonitoring/index.vue
View file @
93cc4124
...
...
@@ -512,7 +512,7 @@ $borderColor: #bbbdc391;
.part1
{
width
:
100%
;
height
:
6
vh
;
height
:
5
vh
;
border-radius
:
6px
;
border
:
1px
solid
rgba
(
13
,
15
,
18
,
0
.1
);
box-shadow
:
0px
3px
6px
0px
rgba
(
13
,
15
,
18
,
0
.1
);
...
...
@@ -527,7 +527,7 @@ $borderColor: #bbbdc391;
.part2
{
margin-top
:
10px
;
width
:
100%
;
height
:
calc
(
5
7
vh
-
10px
);
height
:
calc
(
5
8
vh
-
10px
);
border-radius
:
6px
;
border
:
1px
solid
rgba
(
13
,
15
,
18
,
0
.1
);
box-shadow
:
0px
3px
6px
0px
rgba
(
13
,
15
,
18
,
0
.1
);
...
...
src/views/dustOverview/components/valveSettingDialog.vue
View file @
93cc4124
...
...
@@ -345,7 +345,7 @@ const handleConfirm = () => {
}
.valve-cell
{
width
:
41px
;
min-
width
:
41px
;
background
:
white
;
padding
:
4px
8px
;
border-radius
:
4px
;
...
...
@@ -368,7 +368,7 @@ const handleConfirm = () => {
.cell-value
{
display
:
flex
;
justify-content
:
center
;
align-items
:
end
;
align-items
:
baseline
;
font-size
:
16px
;
color
:
#606266
;
span
{
...
...
src/views/dustOverview/index.vue
View file @
93cc4124
...
...
@@ -102,14 +102,15 @@
<
template
#
compartHealthList=
"{ row }"
>
<div
class=
"status-matrix"
v-if=
"row.compartHealthList.length > 0"
>
<div
v-for=
"(
r
ow, rowIndex) in row.compartHealthList"
v-for=
"(
childR
ow, rowIndex) in row.compartHealthList"
:key=
"rowIndex"
class=
"matrix-row"
>
<div
v-for=
"(status, colIndex) in
r
ow"
v-for=
"(status, colIndex) in
childR
ow"
:key=
"colIndex"
class=
"status-dot"
@
click=
"handleStatusDotClick(row, colIndex)"
:class=
"
{
'status-normal': status.healthStatus === 1,
'status-warning': status.healthStatus === 2,
...
...
@@ -175,6 +176,7 @@ import {
postAddCompartAllocation
,
postAddValveInfo
,
}
from
"@/request/api/dustOverview"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
getToken
}
from
"@/utils/auth"
;
import
CommonTable
from
"@/components/commonTable/index.vue"
;
import
{
ElMessageBox
,
ElMessage
}
from
"element-plus"
;
...
...
@@ -182,6 +184,8 @@ import RoomSettingDialog from "./components/roomSettingDialog.vue";
import
ValveSettingDialog
from
"./components/valveSettingDialog.vue"
;
import
AddDustCollectorDialog
from
"./components/addDustCollectorDialog.vue"
;
const
router
=
useRouter
();
const
formInline
=
ref
({
deviceName
:
""
,
region
:
"all"
,
...
...
@@ -357,6 +361,16 @@ const handleValveNumClick = (row) => {
}
};
const
handleStatusDotClick
=
(
row
,
colIndex
)
=>
{
console
.
log
(
"row"
,
row
);
router
.
push
({
path
:
"/bag-monitor"
,
query
:
{
dusterNo
:
row
.
deviceNo
,
}
});
};
// 确认电磁阀设置
const
handleValveSettingConfirm
=
(
updatedStatusData
)
=>
{
const
list
=
updatedStatusData
.
map
((
item
)
=>
{
...
...
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