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
d2d28f6e
Commit
d2d28f6e
authored
May 13, 2020
by
shiwr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
f5d1998e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
templates/event_analysis/alarm_count.html
templates/event_analysis/alarm_count.html
+16
-9
No files found.
templates/event_analysis/alarm_count.html
View file @
d2d28f6e
...
...
@@ -49,7 +49,8 @@
<el-table-column
prop=
"normal_work"
label=
"次要故障预警数(交易日)"
align=
"center"
></el-table-column>
<el-table-column
prop=
"bad_weekend"
label=
"严重故障预警数(非交易日)"
align=
"center"
></el-table-column>
<el-table-column
prop=
"main_weekend"
label=
"主要故障预警数(非交易日)"
align=
"center"
></el-table-column>
<el-table-column
prop=
"normal_weekend"
label=
"次要故障预警数(非交易日)"
align=
"center"
></el-table-column>
<el-table-column
prop=
"normal_weekend"
label=
"次要故障预警数(非交易日)"
align=
"center"
></el-table-column>
</el-table>
</div>
<div
class=
"block"
style=
"height: 50px; margin-top: 15px"
>
...
...
@@ -79,8 +80,8 @@
currentPage
:
1
,
pageSize
:
10
,
time
:
''
,
total
:
0
,
sysGroup
:{}
total
:
0
,
sysGroup
:
{}
}
},
mounted
()
{
...
...
@@ -90,16 +91,22 @@
methods
:
{
searchList
(){
searchList
()
{
console
.
log
(
this
.
Group
)
console
.
log
(
this
.
sysGroup
)
console
.
log
(
this
.
sysGroup
[
this
.
Group
])
let
finallist
=
[]
for
(
let
temp
of
this
.
sysGroup
)
{
if
(
temp
.
group_name
==
this
.
Group
)
{
finallist
=
temp
.
group_system
}
}
let
newdata
=
{
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
syslist
:
this
.
sysGroup
[
this
.
Group
]
syslist
:
finallist
};
axios
.
post
(
'
${SITE_URL}alarm_count_info/
'
,
newdata
).
then
(
res
=>
{
axios
.
post
(
'
${SITE_URL}alarm_count_info/
'
,
newdata
).
then
(
res
=>
{
this
.
AlarmCountData
=
res
.
data
.
results
;
this
.
total
=
res
.
data
.
count
})
...
...
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