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
140ff6fc
Commit
140ff6fc
authored
Jun 02, 2025
by
liuzhaoh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG修复—2
parent
55317571
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
82 additions
and
40 deletions
+82
-40
AboutView.vue
src/views/AboutView/AboutView.vue
+1
-1
myAgency.vue
src/views/closeManage/myAgency.vue
+16
-1
warn.vue
src/views/dustMonitoring/components/warn.vue
+39
-34
index.vue
src/views/dustMonitoring/index.vue
+26
-4
No files found.
src/views/AboutView/AboutView.vue
View file @
140ff6fc
...
...
@@ -379,7 +379,7 @@ onMounted(async () => {
if
(
suspendStartTime
)
{
formInline
.
value
.
date
[
0
]
=
suspendStartTime
;
}
if
(
deviceNa
me
)
{
if
(
suspendEndTi
me
)
{
formInline
.
value
.
date
[
1
]
=
suspendEndTime
;
}
}
...
...
src/views/closeManage/myAgency.vue
View file @
140ff6fc
...
...
@@ -634,6 +634,9 @@ import { ElMessage } from 'element-plus'
import
{
storeToRefs
}
from
'pinia'
import
{
useUsersStore
}
from
"@/pinia/user.js"
;
import
{
useRoute
,
useRouter
}
from
"vue-router"
;
const
router
=
useRouter
();
const
route
=
useRoute
();
const
{
functionAuthority
}
=
storeToRefs
(
useUsersStore
());
const
total
=
ref
(
0
);
...
...
@@ -1191,8 +1194,20 @@ const disposeWorkSheetDetail = (obj)=> {
imgUrlList
.
value
=
imgUrl
.
split
(
";"
);
}
}
// 其他页面跳转当前页面,携带参数初始化
const
getInitParams
=
()
=>
{
if
(
route
.
query
)
{
const
{
suspendStartTime
,
suspendEndTime
}
=
route
.
query
;
if
(
suspendStartTime
)
{
formInline
.
value
.
createTime
[
0
]
=
suspendStartTime
;
}
if
(
suspendEndTime
)
{
formInline
.
value
.
createTime
[
1
]
=
suspendEndTime
;
}
}
}
onMounted
(()
=>
{
getInitParams
();
getProDuctLine
();
getWarnAndTicketConfigMap
();
getDeviceType
();
...
...
src/views/dustMonitoring/components/warn.vue
View file @
140ff6fc
<
template
>
<div
class=
"title layout1"
>
<span
class=
"warn-title"
>
{{
title
}}
:
</span>
<span
class=
"jump-icon"
>
>>
</span>
<span
class=
"warn-title"
>
{{
title
}}
:
</span>
<span
class=
"jump-icon"
@
click=
"toDetail"
>
>>
</span>
</div>
<div
class=
"content"
>
<div
class=
"item"
v-for=
"item in listInfo"
:key=
"item"
>
<img
src=
"@/assets/icons/notice.png"
alt=
""
>
{{
item
}}
<img
src=
"@/assets/icons/notice.png"
alt=
""
/>
{{
item
}}
</div>
</div>
</
template
>
<
script
setup
>
const
emit
=
defineEmits
([
"jumpPage"
]);
const
props
=
defineProps
({
listInfo
:
{
type
:
Array
,
...
...
@@ -18,54 +19,58 @@ const props = defineProps({
title
:
{
type
:
String
,
default
:
"告警"
,
}
}
,
});
const
toDetail
=
()
=>
{
emit
(
"jumpPage"
);
};
</
script
>
<
style
scoped
lang=
"scss"
>
.title
{
height
:
20px
;
.warn-title
{
font-weight
:
bold
;
color
:
rgb
(
217
,
10
,
10
);
}
.jump-icon
{
height
:
20px
;
.warn-title
{
font-weight
:
bold
;
color
:
rgb
(
217
,
10
,
10
);
}
.jump-icon
{
font-weight
:
bold
;
color
:
#018796
;
cursor
:
pointer
;
}
}
}
.content
{
width
:
100%
;
height
:
calc
(
15vh
-
30px
);
padding
:
10px
0px
10px
30px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
overflow-y
:
auto
;
.item
{
width
:
100%
;
height
:
calc
(
15vh
-
30px
);
padding
:
10px
0px
10px
30px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
overflow-y
:
auto
;
.item
{
width
:
100%
;
display
:
flex
;
align-items
:
center
;
margin-bottom
:
5px
;
padding
:
4px
0px
4px
2px
;
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
;
}
display
:
flex
;
align-items
:
center
;
margin-bottom
:
5px
;
padding
:
4px
0px
4px
2px
;
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
;
}
}
}
.
content
:
:-
webkit-scrollbar
{
width
:
0px
;
background-color
:
rgba
(
13
,
15
,
18
,
0
.1
);
}
.layout1
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
</
style
>
\ No newline at end of file
src/views/dustMonitoring/index.vue
View file @
140ff6fc
...
...
@@ -43,7 +43,7 @@
</div>
</div>
<div
class=
"warn-info"
>
<warnCom
title=
"告警"
:listInfo=
"warnInfoList"
></warnCom>
<warnCom
title=
"告警"
:listInfo=
"warnInfoList"
@
jumpPage=
"toWarnDetail"
></warnCom>
</div>
</div>
<div
class=
"right-box"
>
...
...
@@ -109,7 +109,7 @@
</div>
</div>
<div
class=
"warn-info"
>
<warnCom
title=
"闭环"
:listInfo=
"closedLoopInfoList"
></warnCom>
<warnCom
title=
"闭环"
:listInfo=
"closedLoopInfoList"
@
jumpPage=
"toCircleDetail"
></warnCom>
</div>
</div>
</div>
...
...
@@ -130,8 +130,8 @@ const userStore = useUsersStore();
const
form
=
reactive
({
dusterNo
:
""
,
dateValue
:
[
new
Date
(
new
Date
().
getTime
()
-
24
*
60
*
60
*
1000
*
10
)
,
new
Date
()
,
moment
(
new
Date
(
new
Date
().
getTime
()
-
24
*
60
*
60
*
1000
*
10
)).
format
(
"YYYY-MM-DD"
)
+
' 00:00:00'
,
moment
(
new
Date
()).
format
(
"YYYY-MM-DD"
)
+
' 00:00:00'
,
],
});
const
startVal
=
ref
(
null
);
...
...
@@ -515,6 +515,28 @@ const getDustDetail = () => {
};
const
closedLoopInfoList
=
ref
([]);
const
warnInfoList
=
ref
([]);
const
toWarnDetail
=
()
=>
{
router
.
push
({
path
:
"/alerts"
,
query
:
{
dusterNo
:
form
.
dusterNo
,
deviceName
:
dusterName
.
value
,
suspendStartTime
:
form
.
dateValue
[
0
],
suspendEndTime
:
form
.
dateValue
[
1
],
}
});
}
const
toCircleDetail
=
()
=>
{
router
.
push
({
path
:
"/my-loop/myAgency"
,
query
:
{
dusterNo
:
form
.
dusterNo
,
deviceName
:
dusterName
.
value
,
suspendStartTime
:
form
.
dateValue
[
0
],
suspendEndTime
:
form
.
dateValue
[
1
],
}
});
}
// 获取告警信息
const
getAlarmInfo
=
()
=>
{
if
(
!
form
.
dusterNo
)
{
...
...
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