Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-ui
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
mlge
7 years ago
Commit
c1684126b147e9f04a52eb9424f5ab55a03711f7
1 parent
c954f515
新增或者修改主机信息bug修改(cloudType)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
monitor-ui-web/src/main/webapp/jsp/host/hostInfoList.jsp
monitor-ui-web/src/main/webapp/jsp/host/hostInfoList.jsp
View file @
c168412
...
...
@@ -354,19 +354,19 @@
}
});
var
cloudDetailType
=
$
(
"#hostInfoForm #cloudDetailType"
).
val
();
var
cloudType
=
0
;
if
(
cloudDetailType
==
1
){
cloudType
=
1
;
}
else
if
(
cloudDetailType
==
21
||
cloudDetailType
==
22
){
var
cloudType
=
2
;
if
(
cloudDetailType
==
1
){
cloudType
=
1
;
}
/*else if(cloudDetailType == 21||cloudDetailType == 22){
cloudType= cloudDetailType - 20 ;
}
}
*/
if
(
cloudType
<=
0
){
/*
if(cloudType<=0){
$("#hostInfoForm #messageAlert").alerts({
content : "请选择正确的云可用区类型!",
type : "danger"
});
}
}
*/
var
alias
=
$
(
"#hostInfoForm #alias"
).
val
();
...
...
Please
register
or
login
to post a comment