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
dc39c40b
Commit
dc39c40b
authored
May 30, 2025
by
蔡伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/layout-style' into 'dev'
feat(*): 除尘器总览添加跳转 See merge request
!24
parents
ac0b928c
ebcc25dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
6 deletions
+44
-6
AboutView.vue
src/views/AboutView/AboutView.vue
+14
-1
myAgency.vue
src/views/closeManage/myAgency.vue
+2
-2
index.vue
src/views/dustOverview/index.vue
+28
-3
No files found.
src/views/AboutView/AboutView.vue
View file @
dc39c40b
...
...
@@ -150,6 +150,8 @@ import { useRoute, useRouter } from "vue-router";
import
{
getDataFun
,
postDataJSON
}
from
"@/request/method.js"
;
import
moment
from
"moment"
;
const
route
=
useRoute
();
const
router
=
useRouter
();
const
formInline
=
ref
({
eventName
:
""
,
...
...
@@ -157,9 +159,20 @@ const formInline = ref({
dusterName
:
""
,
deviceType
:
""
,
suspendFlag
:
"2"
,
date
:
""
,
date
:
route
.
query
.
startTime
?
[
moment
(
new
Date
(
route
.
query
.
startTime
).
getTime
()).
format
(
"YYYY-MM-DD HH:mm:ss"
),
moment
(
new
Date
(
route
.
query
.
endTime
).
getTime
()).
format
(
"YYYY-MM-DD HH:mm:ss"
),
]
:
[],
});
const
currentPage
=
ref
(
1
);
const
pageSize
=
ref
(
20
);
const
equDialog
=
ref
(
false
);
...
...
src/views/closeManage/myAgency.vue
View file @
dc39c40b
...
...
@@ -46,8 +46,8 @@
/>
</el-form-item>
<el-form-item>
<el-button
class=
"default-btn"
@
click=
"onSearch"
>
搜索
</el-button>
<el-button
type=
"primary"
class=
"default-btn"
@
click=
"onReset"
>
重置
</el-button>
<el-button
type=
"primary"
class=
"default-btn"
@
click=
"onSearch"
>
搜索
</el-button>
<el-button
class=
"default-btn"
@
click=
"onReset"
>
重置
</el-button>
</el-form-item>
</el-form>
<div
class=
"table-box"
>
...
...
src/views/dustOverview/index.vue
View file @
dc39c40b
<
template
>
<div
class=
"page-container dust-container"
>
<div
class=
"header"
>
<div
class=
"item-box"
>
<div
class=
"item-box
crusor-click"
@
click=
"handleDusterLeakNumClick
"
>
<img
src=
"@/assets/icons/warn.png"
alt=
"dust"
/>
<div
class=
"title"
>
<span>
泄漏告警(条)
</span>
...
...
@@ -17,7 +17,7 @@
</div>
</div>
<div
class=
"item-box"
>
<div
class=
"item-box
crusor-click"
@
click=
"handleCloseLoopNumClick
"
>
<img
src=
"@/assets/icons/close.png"
alt=
"dust"
/>
<div
class=
"title"
>
<span>
闭环(条)
</span>
...
...
@@ -184,7 +184,7 @@ import { ElMessageBox, ElMessage } from "element-plus";
import
RoomSettingDialog
from
"./components/roomSettingDialog.vue"
;
import
ValveSettingDialog
from
"./components/valveSettingDialog.vue"
;
import
AddDustCollectorDialog
from
"./components/addDustCollectorDialog.vue"
;
import
moment
from
"moment"
;
const
router
=
useRouter
();
const
formInline
=
ref
({
...
...
@@ -368,6 +368,24 @@ const handleStatusDotClick = (row, colIndex) => {
});
};
const
handleDusterLeakNumClick
=
()
=>
{
router
.
push
({
path
:
"/alerts"
,
query
:
{
startTime
:
moment
().
format
(
"YYYY-MM-DD HH:mm:ss"
),
endTime
:
moment
().
subtract
(
24
,
'hours'
).
format
(
"YYYY-MM-DD HH:mm:ss"
),
},
});
};
const
handleCloseLoopNumClick
=
()
=>
{
router
.
push
({
path
:
"/my-loop/myAgency"
,
});
};
// 确认电磁阀设置
const
handleValveSettingConfirm
=
(
updatedStatusData
)
=>
{
const
list
=
updatedStatusData
.
map
((
item
)
=>
{
...
...
@@ -556,6 +574,13 @@ onBeforeUnmount(() => {});
margin-top
:
10px
;
}
}
.crusor-click
{
cursor
:
pointer
;
transition
:
box-shadow
0
.3s
ease
;
// 添加过渡动画
&
:hover
{
box-shadow
:
0px
1
.33px
16px
0px
rgba
(
83
,
100
,
170
,
0
.5
);
}
}
}
.content-box
{
margin-top
:
24px
;
...
...
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