Authored by 王涛

Merge branch 'master-V32-XuHaoJie' into 'master'

通用-资源管理、资源视图-华为云、阿里云暂无详情页



See merge request !13
@@ -816,6 +816,9 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'upload', 'admin', 'form', @@ -816,6 +816,9 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'upload', 'admin', 'form',
816 , cols: [cols] 816 , cols: [cols]
817 , done: function (res, curr, count) { 817 , done: function (res, curr, count) {
818 818
  819 + //XuHaoJie 2021/10/18 阿里云无详情页 华为云无详情页
  820 + $('button[data-restype="ALI_CLOUD_PLAT"][lay-tips="查看详情"]').remove()
  821 + $('button[data-restype="HUAWEI_CLOUD_PLAT"][lay-tips="查看详情"]').remove()
819 // 共享设备,厂商是H3C、HDS的设备不让查看详情页,没有数据 822 // 共享设备,厂商是H3C、HDS的设备不让查看详情页,没有数据
820 $('button[data-restype="STORAGE_SHARE"][data-provider="H3C"]').remove() 823 $('button[data-restype="STORAGE_SHARE"][data-provider="H3C"]').remove()
821 $('button[data-restype="STORAGE_SHARE"][data-provider="HDS"]').remove() 824 $('button[data-restype="STORAGE_SHARE"][data-provider="HDS"]').remove()
@@ -172,7 +172,11 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' @@ -172,7 +172,11 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
172 , page: false 172 , page: false
173 , cols: [cols] 173 , cols: [cols]
174 , done: function (res, curr, count) { 174 , done: function (res, curr, count) {
175 - 175 + //2021/10/18 徐毫杰 阿里云服务器更改样式
  176 + if(resType=='ALI_CLOUD_PLAT'){
  177 + $('.layui-table-view').height(170);
  178 + $('.layui-table-main').height(70);
  179 + }
176 //调用收藏方法 180 //调用收藏方法
177 resFavorites(); 181 resFavorites();
178 resTopo(); 182 resTopo();