Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
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
Plain Diff
Browse Files
Authored by
鲁尚清
3 years ago
Commit
e0e18f4cde1edb2718422f89d6091b7c2fd1739a
2 parents
cde53403
220280e3
Merge branch 'master' of
http://192.168.1.136:82/monitor_v3/hg-monitor-web
into …
…master-v32-lushangqing
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/resindex.js
hg-monitor-web-base/src/main/resources/static/src/controller/reslist.js
hg-monitor-web-base/src/main/resources/static/src/views/res/index.html
hg-monitor-web-base/src/main/resources/static/src/controller/resindex.js
View file @
e0e18f4
...
...
@@ -349,6 +349,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
//加载虚拟化数据(平台、资源池、物理机、虚拟机)
function
loadVirtualizationView
(
parentNode
,
data
,
node
,
options
)
{
$
(
'#res_coll_protocol_select_div'
).
show
();
//绑定业务
// common.bizTypeSelect("treetableBizTypes", function () {
// form.render("select");
...
...
@@ -1337,6 +1338,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
limit
:
-
1
}
}).
done
(
function
(
res
)
{
$
(
'#res_coll_protocol_select_div'
).
show
();
xmSelect
.
render
({
el
:
'#collProtocolSelect'
,
filterable
:
true
...
...
@@ -1371,6 +1373,8 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
}
})
})
}
else
{
$
(
'#res_coll_protocol_select_div'
).
hide
();
}
if
(
resType
===
'HOST_MINICOMPUTER_PARTITION'
)
{
$
(
"#res_minicomputer"
).
parent
().
parent
().
removeClass
(
"hide"
);
...
...
hg-monitor-web-base/src/main/resources/static/src/controller/reslist.js
View file @
e0e18f4
...
...
@@ -163,6 +163,8 @@ layui.define(['table', 'form', 'admin', 'layer', 'common','sessions', 'xmSelect'
editMode
:
'true'
},
done
:
function
(
res
)
{
//更新table_data数据 joke add 20211206
table_data
=
res
.
data
;
if
(
resListSelectIds
.
length
>
0
){
$
.
each
(
res
.
data
,
function
(
i
,
e
)
{
$
.
each
(
resListSelectIds
,
function
(
j
,
k
)
{
...
...
hg-monitor-web-base/src/main/resources/static/src/views/res/index.html
View file @
e0e18f4
...
...
@@ -153,7 +153,7 @@
</select>
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
id=
"res_coll_protocol_select_div"
>
<div
class=
"layui-input-inline layui-input-inline--long"
style=
"width: 180px;"
>
<div
id=
"collProtocolSelect"
class=
"xm-select"
>
</div>
...
...
Please
register
or
login
to post a comment