Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 31aa56c7
authored
Jun 16, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
警情日历 警情等级显示修改
1 parent
9bc0b27b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/views/alarmCenter/alarmDetail.vue
src/views/alarmCenter/alarmDetail.vue
View file @
31aa56c
...
...
@@ -327,7 +327,14 @@ export default {
let
arr
=
this
.
calendarData
.
calendarList
.
filter
(
val
=>
val
.
alarmTime
&&
val
.
alarmTime
.
split
(
' '
)[
0
]
===
data
.
day
)
||
[]
if
(
arr
.
length
>
0
)
{
flag
=
true
data
.
alarmLevel
=
(
arr
[
this
.
currIdx
]
&&
arr
[
this
.
currIdx
].
alarmLevel
)
||
arr
[
0
].
alarmLevel
data
.
alarmLevel
=
arr
[
0
].
alarmLevel
this
.
currItem
.
map
(
val
=>
{
arr
.
map
(
item
=>
{
if
(
val
.
id
===
item
.
id
)
{
data
.
alarmLevel
=
this
.
currItem
[
this
.
currIdx
].
alarmLevel
}
})
})
}
return
flag
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment