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
068990c3
Commit
068990c3
authored
Jul 06, 2020
by
shiwr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
事件分析前端问题修复
parent
fb8cb1cd
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
848 additions
and
786 deletions
+848
-786
templates/base_index.html
templates/base_index.html
+4
-3
templates/event_analysis/alarm_count.html
templates/event_analysis/alarm_count.html
+1
-1
templates/event_analysis/error_alarm.html
templates/event_analysis/error_alarm.html
+165
-153
templates/event_analysis/event_edit.html
templates/event_analysis/event_edit.html
+664
-617
templates/event_analysis/eventmanagement_display.html
templates/event_analysis/eventmanagement_display.html
+14
-12
No files found.
templates/base_index.html
View file @
068990c3
...
...
@@ -72,7 +72,7 @@
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<div
style=
"
display: inline-block;float: left;padding-top:12px;margin-right:-5
px;"
>
<div
style=
"
float: left;padding-top:12
px;"
>
<img
src=
"../static/img/logoGT.png"
alt=
""
>
</div>
<a
class=
"navbar-brand"
href=
"${SITE_URL}"
>
...
...
@@ -137,8 +137,9 @@
console
.
log
(
window
.
location
.
href
)
//待调用的函数
if
(
window
.
location
.
href
.
indexOf
(
'
error_alarm
'
)
>-
1
)
{
document
.
getElementById
(
'
meu2
'
).
className
=
'
active
'
}
if
(
window
.
location
.
href
.
indexOf
(
''
)
>-
1
)
{
}
else
if
(
window
.
location
.
href
.
indexOf
(
'
alarm_count
'
)
>-
1
)
{
document
.
getElementById
(
'
meu3
'
).
className
=
'
active
'
}
else
{
document
.
getElementById
(
'
meu1
'
).
className
=
'
active
'
}
});
...
...
templates/event_analysis/alarm_count.html
View file @
068990c3
...
...
@@ -51,7 +51,7 @@
<el-table-column
prop=
"normal_weekend"
label=
"次要故障预警数(非交易日)"
align=
"center"
></el-table-column>
</el-table>
</div>
<div
class=
"block"
style=
"height: 50px; margin-top: 15px"
>
<div
v-if=
"total"
class=
"block"
style=
"height: 50px; margin-top: 15px"
>
<el-pagination
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
...
...
templates/event_analysis/error_alarm.html
View file @
068990c3
This diff is collapsed.
Click to expand it.
templates/event_analysis/event_edit.html
View file @
068990c3
This source diff could not be displayed because it is too large. You can
view the blob
instead.
templates/event_analysis/eventmanagement_display.html
View file @
068990c3
...
...
@@ -5,7 +5,9 @@
color
:
#44b549
;
}
.el-tooltip__popper
{
max-width
:
30%
}
.colorErrStyle
{
color
:
orangered
;
}
...
...
@@ -76,11 +78,11 @@
<span
style=
"font-weight:600;font-size:15.6px;"
>
事件查询:
</span>
</div>
<div
style=
"padding-bottom: 15px;padding-top: 10px"
>
<el-form-item
label=
"处理人"
style=
"display:inline-block;"
label-width=
"
7
0px"
>
<el-form-item
label=
"处理人"
style=
"display:inline-block;"
label-width=
"
16
0px"
>
<el-input
style=
"width:140px;"
v-model=
"formLine.relate_me"
></el-input>
</el-form-item>
<el-form-item
label=
"优先级"
style=
"display:inline-block; "
label-width=
"1
3
0px"
>
<el-select
style=
"width:1
0
0px;"
clearable
v-model=
"formLine.priority"
>
<el-form-item
label=
"优先级"
style=
"display:inline-block; "
label-width=
"1
6
0px"
>
<el-select
style=
"width:1
4
0px;"
clearable
v-model=
"formLine.priority"
>
<el-option
v-for=
"item in priorityOp"
:key=
"item.value"
:label=
"item.label"
...
...
@@ -89,7 +91,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"事件一级分类"
label-width=
"160px"
style=
"display:inline-block; "
>
<el-select
style=
"width:14
5
px;"
clearable
v-model=
"formLine.event_first_cat"
>
<el-select
style=
"width:14
0
px;"
clearable
v-model=
"formLine.event_first_cat"
>
<el-option
v-for=
"item in eventFirstCatOp"
:key=
"item.value"
:label=
"item.label"
...
...
@@ -98,7 +100,7 @@
</el-form-item>
<el-form-item
label=
"全局事件搜索"
style=
"display:inline-block; "
label-width=
"160px"
>
<el-input
style=
"width:1
6
0px;"
v-model=
"formLine.all_fields"
></el-input>
<el-input
style=
"width:1
4
0px;"
v-model=
"formLine.all_fields"
></el-input>
</el-form-item>
<el-popover
placement=
"top-start"
title=
"支持全局搜索字段"
...
...
@@ -110,7 +112,7 @@
</el-popover>
</div>
<div>
<el-form-item
label=
"事件编号"
style=
"display:inline-block;"
label-width=
"
7
0px"
>
<el-form-item
label=
"事件编号"
style=
"display:inline-block;"
label-width=
"
16
0px"
>
<el-input
style=
"width:140px;"
v-model=
"formLine.event_number"
>
</el-input>
</el-form-item>
...
...
@@ -123,14 +125,14 @@
<el-date-picker
v-model=
"formLine.event_hap_time"
type=
"daterange"
style=
"
margin-right: 20px;
padding: 0 15px;width: 300px"
style=
"padding: 0 15px;width: 300px"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-form-item>
</div>
<div
style=
"padding-top: 15px"
>
<el-form-item
label=
"事件状态"
label-width=
"
7
0px"
style=
"display:inline-block;"
>
<el-form-item
label=
"事件状态"
label-width=
"
16
0px"
style=
"display:inline-block;"
>
<el-select
style=
"width:140px;"
clearable
v-model=
"formLine.event_state"
>
<el-option
v-for=
"item in eventStateOp"
:key=
"item.value"
...
...
@@ -139,8 +141,8 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"事件标签"
label-width=
"1
45
px"
style=
"display:inline-block; "
>
<el-select
style=
"width:14
5
px;"
clearable
v-model=
"formLine.event_label"
<el-form-item
label=
"事件标签"
label-width=
"1
60
px"
style=
"display:inline-block; "
>
<el-select
style=
"width:14
0
px;"
clearable
v-model=
"formLine.event_label"
multiple
filterable
>
<el-option
v-for=
"item in labelList"
:key=
"item.value"
...
...
@@ -198,7 +200,7 @@
</el-table>
</div>
<div
class=
"block"
style=
"height: 35px; padding-top: 15px"
>
<div
v-if=
"total"
class=
"block"
style=
"height: 35px; padding-top: 15px"
>
<el-pagination
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
...
...
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