|
@@ -349,6 +349,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' |
|
@@ -349,6 +349,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' |
349
|
|
349
|
|
350
|
//加载虚拟化数据(平台、资源池、物理机、虚拟机)
|
350
|
//加载虚拟化数据(平台、资源池、物理机、虚拟机)
|
351
|
function loadVirtualizationView(parentNode, data, node, options) {
|
351
|
function loadVirtualizationView(parentNode, data, node, options) {
|
|
|
352
|
+ $('#res_coll_protocol_select_div').show();
|
352
|
//绑定业务
|
353
|
//绑定业务
|
353
|
// common.bizTypeSelect("treetableBizTypes", function () {
|
354
|
// common.bizTypeSelect("treetableBizTypes", function () {
|
354
|
// form.render("select");
|
355
|
// form.render("select");
|
|
@@ -1337,6 +1338,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' |
|
@@ -1337,6 +1338,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' |
1337
|
limit: -1
|
1338
|
limit: -1
|
1338
|
}
|
1339
|
}
|
1339
|
}).done(function (res) {
|
1340
|
}).done(function (res) {
|
|
|
1341
|
+ $('#res_coll_protocol_select_div').show();
|
1340
|
xmSelect.render({
|
1342
|
xmSelect.render({
|
1341
|
el: '#collProtocolSelect'
|
1343
|
el: '#collProtocolSelect'
|
1342
|
, filterable: true
|
1344
|
, filterable: true
|
|
@@ -1371,6 +1373,8 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' |
|
@@ -1371,6 +1373,8 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' |
1371
|
}
|
1373
|
}
|
1372
|
})
|
1374
|
})
|
1373
|
})
|
1375
|
})
|
|
|
1376
|
+ }else{
|
|
|
1377
|
+ $('#res_coll_protocol_select_div').hide();
|
1374
|
}
|
1378
|
}
|
1375
|
if (resType === 'HOST_MINICOMPUTER_PARTITION') {
|
1379
|
if (resType === 'HOST_MINICOMPUTER_PARTITION') {
|
1376
|
$("#res_minicomputer").parent().parent().removeClass("hide");
|
1380
|
$("#res_minicomputer").parent().parent().removeClass("hide");
|