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
15fe5653
Commit
15fe5653
authored
Dec 14, 2018
by
wangqinghua
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://180.168.156.212:2903/qinghua/smart
parents
d605ece0
4a7ec3b5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
basi-check.component.html
...ain/webapp/app/modal/basi-check/basi-check.component.html
+1
-1
basi-check.component.ts
src/main/webapp/app/modal/basi-check/basi-check.component.ts
+2
-2
No files found.
src/main/webapp/app/modal/basi-check/basi-check.component.html
View file @
15fe5653
...
...
@@ -95,7 +95,7 @@
<nz-form-item>
<nz-form-label
[
nzSpan
]="
6
"
nzFor=
"itemtype"
>
监测点分类
</nz-form-label>
<nz-form-control
[
nzSpan
]="
14
"
>
<nz-select
style=
"width: 80%;display: inline-block"
nzPlaceHolder=
"选择监测点分类"
name=
"itemtype"
[
nzSize
]="
nzSize
"
nzMode=
"tags"
formControlName=
"application
id
s"
>
<nz-select
style=
"width: 80%;display: inline-block"
nzPlaceHolder=
"选择监测点分类"
name=
"itemtype"
[
nzSize
]="
nzSize
"
nzMode=
"tags"
formControlName=
"applications"
>
<nz-option
*
ngFor=
"let item of checkList"
nzValue=
"{{item.applicationid}}"
nzLabel=
"{{item.name}}"
></nz-option>
</nz-select>
...
...
src/main/webapp/app/modal/basi-check/basi-check.component.ts
View file @
15fe5653
...
...
@@ -86,7 +86,7 @@ export class BasiCheckComponent implements OnInit {
delay
:
[
null
,
[
Validators
.
required
]],
snmp_oid
:
[
null
],
snmp_community
:
[
'public'
],
application
id
s
:
[
null
],
applications
:
[
null
],
});
this
.
triggerObj
=
{
condition
:
''
,
...
...
@@ -222,7 +222,7 @@ export class BasiCheckComponent implements OnInit {
this
.
message
.
error
(
'请输入必填信息'
);
return
false
;
}
this
.
validateForm
.
value
.
application
ids
=
[
this
.
validateForm
.
value
.
applicationid
s
];
this
.
validateForm
.
value
.
application
s
=
[
this
.
validateForm
.
value
.
application
s
];
this
.
validateForm
.
value
.
hostid
=
this
.
hostId
;
if
(
this
.
title
==
'添加监测点'
)
{
this
.
create
();
...
...
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