...
|
...
|
@@ -1246,7 +1246,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' |
|
|
}
|
|
|
form.render('select');
|
|
|
form.render();
|
|
|
//清空查询条件 joke add 20200409 开始
|
|
|
//清空查询条件 joke add 20200409 结束
|
|
|
|
|
|
var targetId = '';
|
|
|
var searchType = "";
|
...
|
...
|
@@ -1376,7 +1376,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' |
|
|
$("#res_minicomputer").parent().parent().removeClass("hide");
|
|
|
var minicomputerStr = '';
|
|
|
minicomputerStr = '<option value="">=小型机服务器=</option>';
|
|
|
let url = `${common.domainName}/api-web/home/res-list/HOST_MINICOMPUTER?access_token=${accessToken}&page=1&limit=30&resCategory=resources`
|
|
|
let url = `${common.domainName}/api-web/home/res-list/hostMinicomputerPartitionParents?access_token=${accessToken}`
|
|
|
$.ajax({
|
|
|
url: url,
|
|
|
method: 'get',
|
...
|
...
|
@@ -1399,7 +1399,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' |
|
|
if (targetId && searchType) {
|
|
|
var url = "/api-web/home/res-list/" + searchType + "?page=1&limit=50";
|
|
|
if(searchType == 'MIDDLEWARE_WEBLOGIC'){
|
|
|
url += '&parentId=null'
|
|
|
url += '&parentId=null&parentType=parent'
|
|
|
}
|
|
|
admin.req({
|
|
|
url: common.domainName + url
|
...
|
...
|
|