Authored by 张凯

1、杭州-小型机分区获取对应小型机服务器查询框接口请求调整

2、杭州-资源视图屏蔽资源类型查询框
3、杭州-资源视图选择weblogic后所属控制台下拉框无数据处理
... ... @@ -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
... ...
... ... @@ -159,13 +159,13 @@
</div>
</div>
</div>
<div class="layui-inline hide" >
<div class="layui-input-inline">
<select name="label" id="res_sub_restype" lay-filter="sub_restype">
<option value="">=资源类型=</option>
</select>
</div>
</div>
<!-- <div class="layui-inline hide" >-->
<!-- <div class="layui-input-inline">-->
<!-- <select name="label" id="res_sub_restype" lay-filter="sub_restype">-->
<!-- <option value="">=资源类型=</option>-->
<!-- </select>-->
<!-- </div>-->
<!-- </div>-->
<div class="layui-inline hide">
<div class="layui-input-inline">
<select name="label" id="res_vendor" lay-filter="res_vendor">
... ...