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
1d883036
Commit
1d883036
authored
May 12, 2020
by
Kerwin_Cui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口
parent
c10922d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
21 deletions
+1
-21
event_analysis/views.py
event_analysis/views.py
+1
-1
templates/event_analysis/alarm_edit.html
templates/event_analysis/alarm_edit.html
+0
-20
No files found.
event_analysis/views.py
View file @
1d883036
...
...
@@ -2424,7 +2424,7 @@ def create_alarm_by_icube(request):
auto_name
=
''
,
other_autoname
=
''
,
monitor_name
=
''
,
if_icube
=
''
,
if_icube
=
'
8
'
,
user
=
login_person
)
error_alarm
.
save
()
...
...
templates/event_analysis/alarm_edit.html
View file @
1d883036
...
...
@@ -185,16 +185,6 @@
}
var
keyArray
=
{
programLevel
:
[
{
label
:
'
数据库
'
,
value
:
'
1
'
},
{
label
:
'
中间件
'
,
value
:
'
2
'
},
{
label
:
'
其它程序
'
,
value
:
'
3
'
},
],
alarmTotalType
:
[
{
label
:
'
日志
'
,
value
:
'
1
'
},
{
label
:
'
指标
'
,
value
:
'
2
'
},
{
label
:
'
模式识别
'
,
value
:
'
3
'
},
],
alarmType
:
[
{
label
:
'
日志告警
'
,
value
:
'
2
'
},
{
label
:
'
指标告警
'
,
value
:
'
1
'
},
...
...
@@ -214,16 +204,6 @@
{
label
:
'
4级
'
,
value
:
'
4
'
},
{
label
:
'
5级
'
,
value
:
'
5
'
}
],
//报告来源
ReportSource
:
[
{
label
:
'
电话
'
,
value
:
'
1
'
},
{
label
:
'
微信
'
,
value
:
'
2
'
},
{
label
:
'
qq群
'
,
value
:
'
3
'
},
{
label
:
'
机房人工巡检
'
,
value
:
'
4
'
},
{
label
:
'
人工监控
'
,
value
:
'
5
'
},
{
label
:
'
程序自动监控
'
,
value
:
'
6
'
},
{
label
:
'
其他
'
,
value
:
'
7
'
}
],
//事件类型
eventType
:
[
{
label
:
'
严重
'
,
value
:
'
1
'
},
...
...
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