Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
event-analysis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
崔义雄
event-analysis
Commits
30c76b98
Commit
30c76b98
authored
May 29, 2020
by
Kerwin_Cui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
8e28ef98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
event_analysis/views.py
event_analysis/views.py
+4
-4
templates/event_analysis/alarm_count.html
templates/event_analysis/alarm_count.html
+1
-1
No files found.
event_analysis/views.py
View file @
30c76b98
...
...
@@ -2643,10 +2643,10 @@ def alarm_count_info(request):
for
v
in
value
.
values
():
total
+=
v
dic
=
{
"system"
:
key
,
"total"
:
total
,
"bad_work"
:
value
[
"bad_work"
],
"main_work"
:
value
[
"main_work"
],
"system"
:
key
,
"total"
:
total
,
"bad_work"
:
value
[
"bad_work"
],
"main_work"
:
value
[
"main_work"
],
"normal_work"
:
value
[
"normal_work"
],
"bad_weekend"
:
value
[
"bad_weekend"
],
"main_weekend"
:
value
[
"main_weekend"
],
...
...
templates/event_analysis/alarm_count.html
View file @
30c76b98
...
...
@@ -96,7 +96,7 @@
}
}
}
console
.
log
(
finallist
)
let
newdata
=
{
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
...
...
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