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
f0804268
Commit
f0804268
authored
May 11, 2020
by
Kerwin_Cui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.zorkdata.com/cuiyixiong/event-analysis
parents
414252aa
c8e5765d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
17 deletions
+6
-17
templates/event_analysis/error_alarm.html
templates/event_analysis/error_alarm.html
+6
-17
No files found.
templates/event_analysis/error_alarm.html
View file @
f0804268
...
...
@@ -36,6 +36,7 @@
<el-date-picker
v-model=
"formLine.dateoutinfo"
type=
"daterange"
value-format=
"yyyy-MM-dd"
style=
"width:80%;min-width:150px;"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
...
...
@@ -100,12 +101,10 @@
element-loading-text=
"拼命加载中"
element-loading-spinner=
"el-icon-loading"
element-loading-background=
"rgba(0, 0, 0, 0.8)"
ref=
"table"
@
select=
"handleSelectionChange"
@
select-all=
"handleSelectionChange"
ref=
"table"
stripe
.
2
:header-cell-style=
"{background:'#409EFF',color:'white'}"
>
<el-table-column
type=
"selection"
width=
"50"
></el-table-column>
<el-table-column
width=
"300"
prop=
"alarm_number"
label=
"预警编号"
header-align=
"center"
align=
"left"
></el-table-column>
<el-table-column
prop=
"alarm_summary"
label=
"故障预警摘要"
header-align=
"center"
align=
"left"
...
...
@@ -231,7 +230,7 @@
<div
style=
"line-height: 50px ;"
>
<template>
<el-table
:data=
"gridData"
style=
"width:100%"
@
select=
"handleSelectionChange"
@
select
ion-change
=
"handleSelectionChange"
max-height=
"300"
>
<el-table-column
type=
"selection"
width=
"30"
></el-table-column>
<el-table-column
fixed
prop=
"alarm_title"
label=
"告警标题"
width=
"300"
...
...
@@ -395,10 +394,9 @@
})
},
handleSelectionChange
(
selection
)
{
//this.selectData[this.currentPage] = [];
selection
.
map
((
item
,
index
)
=>
{
this
.
selectData
.
push
(
item
.
alarm_title
)
})
this
.
selectData
=
selection
},
createAlarmByIcube
(){
let
alarmList
=
[];
...
...
@@ -546,16 +544,7 @@
window
.
location
.
href
=
"
${SITE_URL}event_edit
"
})
}
,
handleSelectionChange
(
selection
)
{
this
.
selectData
[
this
.
currentPage
]
=
[];
selection
.
map
((
item
,
index
)
=>
{
this
.
selectData
[
this
.
currentPage
].
push
(
item
.
event_number
)
})
}
,
handleCurPageChange
()
...
...
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