Authored by 王涛

中间件WEBLOGIC资源的展示规则:

1,首页、业务视图、资源视图、域视图、不展示控制台(resType=MIDDLEWARE_WEBLOGIC;parendId=不为空)
2,资源管理:展示所有(resType=MIDDLEWARE_WEBLOGIC)
3,任务绑定资源:只展示控制台(resType=MIDDLEWARE_WEBLOGIC;parendId为空)
... ... @@ -723,7 +723,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'upload', 'admin', 'form',
var targetId = 'slt_res_manage_superior';
var optons = "<option value=''>=上级=</option>"
if (targetId && searchType) {
var url = "/api-web/home/res-list/" + resType + "?page=1&limit=50";
var url = "/api-web/home/res-list/" + resType + "?page=1&limit=50&pageName=resmanage";
admin.req({
url: common.domainName + url
}).done(function (res) {
... ... @@ -826,7 +826,8 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'upload', 'admin', 'form',
busId: $("#resManageIndexForm").find("input[name='busId']").val(),
state: $("#resManageIndexForm").find("select[name='state']").val(),
parentId: $("#resManageIndexForm").find("select[name='parentId']").val(),
collectionState: $("#resManageIndexForm").find("select[name='collectionState']").val()
collectionState: $("#resManageIndexForm").find("select[name='collectionState']").val(),
pageName:'resmanage'
}
, height: 'full-200'
, cellMinWidth: 80
... ... @@ -1698,7 +1699,9 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'upload', 'admin', 'form',
state: $("#resManageIndexForm").find("select[name='state']").val(),
parentId: $("#resManageIndexForm").find("select[name='parentId']").val(),
collectionState: $("#resManageIndexForm").find("select[name='collectionState']").val(),
sortKey: sortKey
sortKey: sortKey,
pageName:'resmanage'
}
})
}
... ...
... ... @@ -93,7 +93,8 @@ layui.define(['table', 'form', 'admin', 'layer', 'common','sessions', 'xmSelect'
protocolFlag:protocolFlag,
protocol:protocol,
editMode: 'true',
resCategory: 'resources'
resCategory: 'resources',
pageName:'reslist'
}
, height: 'full-350'
, cellMinWidth: 80
... ... @@ -242,4 +243,4 @@ layui.define(['table', 'form', 'admin', 'layer', 'common','sessions', 'xmSelect'
return { getData: getCheckData,getAllCheckData: getAllCheckData, reloadResTable: reloadTable};
});
});
\ No newline at end of file
});
... ...