Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqinghua
smart
Commits
b2acf8c5
Commit
b2acf8c5
authored
Jan 14, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单位
parent
8c185dd3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
alarm-modal.component.ts
...ain/webapp/app/modal/alarm-modal/alarm-modal.component.ts
+14
-0
basic-detail.component.html
...pp/overAll/basic/basic-detail/basic-detail.component.html
+0
-0
basic-detail.component.ts
.../app/overAll/basic/basic-detail/basic-detail.component.ts
+2
-6
No files found.
src/main/webapp/app/modal/alarm-modal/alarm-modal.component.ts
View file @
b2acf8c5
...
...
@@ -347,6 +347,20 @@ export class AlarmModalComponent implements OnInit {
this
.
message
.
error
(
"请输入发送信息"
);
return
false
;
}
if
(
this
.
isEvent
==
'1'
){
if
(
!
this
.
validateForm
.
event
.
title
){
this
.
message
.
error
(
"请输入事件标题"
);
return
false
;
}
if
(
!
this
.
validateForm
.
event
.
eventTypeId
){
this
.
message
.
error
(
"请选择事件分类"
);
return
false
;
}
if
(
this
.
operatorList
.
length
==
0
){
this
.
message
.
error
(
"请选择事件负责人"
);
return
false
;
}
}
let
number
=
true
;
this
.
sendInfoList
.
map
(
e
=>
{
...
...
src/main/webapp/app/overAll/basic/basic-detail/basic-detail.component.html
View file @
b2acf8c5
This diff is collapsed.
Click to expand it.
src/main/webapp/app/overAll/basic/basic-detail/basic-detail.component.ts
View file @
b2acf8c5
...
...
@@ -36,11 +36,6 @@ import {ThresholdComponent} from '../../../modal/threshold/threshold.component';
:host ::ng-deep .tabs-smart .ant-tabs-nav-scroll div.ant-tabs-tab:nth-child(3){
margin-right: 180px !important;
}
:host ::ng-deep .ant-tooltip-inner{
background-color: #fff;
border: 1px solid #ddd;
color: red;
}
`
]
})
...
...
@@ -76,7 +71,7 @@ export class BasicDetailComponent implements OnInit, AfterViewInit {
//监控点
isBasicEdit
;
itemTypeValue
=
""
;
itemTypeValue
;
interfaceList
:
any
[];
itemTypeList
:
any
[];
...
...
@@ -839,6 +834,7 @@ export class BasicDetailComponent implements OnInit, AfterViewInit {
if
(
null
!=
res
.
data
){
this
.
itemTypeList
.
unshift
(
data
);
}
this
.
itemTypeValue
=
''
;
}
);
...
...
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