Authored by 鲁尚清

Merge branch 'master' of http://192.168.1.136:82/monitor_v3/hg-monitor-web into …

…master-v32-lushangqing
@@ -1246,7 +1246,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' @@ -1246,7 +1246,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
1246 } 1246 }
1247 form.render('select'); 1247 form.render('select');
1248 form.render(); 1248 form.render();
1249 - //清空查询条件 joke add 20200409 开始 1249 + //清空查询条件 joke add 20200409 结束
1250 1250
1251 var targetId = ''; 1251 var targetId = '';
1252 var searchType = ""; 1252 var searchType = "";
@@ -1376,7 +1376,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' @@ -1376,7 +1376,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
1376 $("#res_minicomputer").parent().parent().removeClass("hide"); 1376 $("#res_minicomputer").parent().parent().removeClass("hide");
1377 var minicomputerStr = ''; 1377 var minicomputerStr = '';
1378 minicomputerStr = '<option value="">=小型机服务器=</option>'; 1378 minicomputerStr = '<option value="">=小型机服务器=</option>';
1379 - let url = `${common.domainName}/api-web/home/res-list/HOST_MINICOMPUTER?access_token=${accessToken}&page=1&limit=30&resCategory=resources` 1379 + let url = `${common.domainName}/api-web/home/res-list/hostMinicomputerPartitionParents?access_token=${accessToken}`
1380 $.ajax({ 1380 $.ajax({
1381 url: url, 1381 url: url,
1382 method: 'get', 1382 method: 'get',
@@ -1399,7 +1399,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' @@ -1399,7 +1399,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
1399 if (targetId && searchType) { 1399 if (targetId && searchType) {
1400 var url = "/api-web/home/res-list/" + searchType + "?page=1&limit=50"; 1400 var url = "/api-web/home/res-list/" + searchType + "?page=1&limit=50";
1401 if(searchType == 'MIDDLEWARE_WEBLOGIC'){ 1401 if(searchType == 'MIDDLEWARE_WEBLOGIC'){
1402 - url += '&parentId=null' 1402 + url += '&parentId=null&parentType=parent'
1403 } 1403 }
1404 admin.req({ 1404 admin.req({
1405 url: common.domainName + url 1405 url: common.domainName + url
@@ -30,7 +30,7 @@ layui.define(['laytpl', 'layer'], function(exports){ @@ -30,7 +30,7 @@ layui.define(['laytpl', 'layer'], function(exports){
30 //加载中 30 //加载中
31 view.loading = function(elem){ 31 view.loading = function(elem){
32 elem.append( 32 elem.append(
33 - this.elemLoad = $('<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon layui-icon-loading layadmin-loading"></i>') 33 + this.elemLoad = $('<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon layadmin-loading"></i>')
34 ); 34 );
35 }; 35 };
36 36
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 @Author:贤心 4 @Author:贤心
5 @Site:http://www.layui.com/admin/ 5 @Site:http://www.layui.com/admin/
6 @License:LPPL 6 @License:LPPL
7 - 7 +
8 */ 8 */
9 9
10 html #layuicss-layuiAdmin { 10 html #layuicss-layuiAdmin {
@@ -174,21 +174,21 @@ html { @@ -174,21 +174,21 @@ html {
174 174
175 /* 重置表格风格 */ 175 /* 重置表格风格 */
176 /* 176 /*
177 -.layui-table th,  
178 -.layui-table td, 177 +.layui-table th,
  178 +.layui-table td,
179 .layui-table[lay-skin="line"], 179 .layui-table[lay-skin="line"],
180 -.layui-table[lay-skin="row"],  
181 -.layui-table-view, 180 +.layui-table[lay-skin="row"],
  181 +.layui-table-view,
182 .layui-table-header, 182 .layui-table-header,
183 .layui-table-tool, 183 .layui-table-tool,
184 .layui-table-page, 184 .layui-table-page,
185 .layui-table-fixed-r, 185 .layui-table-fixed-r,
186 .layui-table-tips-main{border-color: #f6f6f6;} 186 .layui-table-tips-main{border-color: #f6f6f6;}
187 187
188 -.layui-table thead tr,  
189 -.layui-table-header, 188 +.layui-table thead tr,
  189 +.layui-table-header,
190 .layui-table-tool, 190 .layui-table-tool,
191 -.layui-table-patch, 191 +.layui-table-patch,
192 .layui-table-mend{background-color: #fff;} 192 .layui-table-mend{background-color: #fff;}
193 193
194 .layui-table[lay-even] tr:nth-child(even), 194 .layui-table[lay-even] tr:nth-child(even),
@@ -237,6 +237,10 @@ html { @@ -237,6 +237,10 @@ html {
237 margin: -16px -15px; 237 margin: -16px -15px;
238 font-size: 30px; 238 font-size: 30px;
239 color: #c2c2c2; 239 color: #c2c2c2;
  240 + background: url(/start/layui/css/modules/layer/default/loading-mj.png) no-repeat center;
  241 + background-size: 100% 100%;
  242 + width: 70px;
  243 + height: 70px;
240 } 244 }
241 245
242 .layadmin-fixed { 246 .layadmin-fixed {
@@ -759,9 +763,9 @@ html { @@ -759,9 +763,9 @@ html {
759 } 763 }
760 764
761 /* 765 /*
762 - 766 +
763 格局 767 格局
764 - 768 +
765 */ 769 */
766 770
767 .layui-fluid { 771 .layui-fluid {
@@ -803,9 +807,9 @@ html { @@ -803,9 +807,9 @@ html {
803 } 807 }
804 808
805 /* 809 /*
806 - 810 +
807 控制台 811 控制台
808 - 812 +
809 */ 813 */
810 814
811 /* 重置轮播样式 */ 815 /* 重置轮播样式 */
@@ -1040,9 +1044,9 @@ html { @@ -1040,9 +1044,9 @@ html {
1040 } 1044 }
1041 1045
1042 /******************************** 1046 /********************************
1043 - 1047 +
1044 其它主页开始 By star1029 1048 其它主页开始 By star1029
1045 - 1049 +
1046 *******************************/ 1050 *******************************/
1047 1051
1048 /* 主页示例一 by star1029 */ 1052 /* 主页示例一 by star1029 */
@@ -1291,7 +1295,7 @@ html { @@ -1291,7 +1295,7 @@ html {
1291 /* 1295 /*
1292 1296
1293 应用 1297 应用
1294 - 1298 +
1295 */ 1299 */
1296 1300
1297 /* 消息中心 */ 1301 /* 消息中心 */
@@ -1330,9 +1334,9 @@ html { @@ -1330,9 +1334,9 @@ html {
1330 } 1334 }
1331 1335
1332 /* 1336 /*
1333 - 1337 +
1334 系统 1338 系统
1335 - 1339 +
1336 */ 1340 */
1337 1341
1338 /* 头部图标重置 */ 1342 /* 头部图标重置 */
@@ -159,13 +159,13 @@ @@ -159,13 +159,13 @@
159 </div> 159 </div>
160 </div> 160 </div>
161 </div> 161 </div>
162 - <div class="layui-inline hide" >  
163 - <div class="layui-input-inline">  
164 - <select name="label" id="res_sub_restype" lay-filter="sub_restype">  
165 - <option value="">=资源类型=</option>  
166 - </select>  
167 - </div>  
168 - </div> 162 +<!-- <div class="layui-inline hide" >-->
  163 +<!-- <div class="layui-input-inline">-->
  164 +<!-- <select name="label" id="res_sub_restype" lay-filter="sub_restype">-->
  165 +<!-- <option value="">=资源类型=</option>-->
  166 +<!-- </select>-->
  167 +<!-- </div>-->
  168 +<!-- </div>-->
169 <div class="layui-inline hide"> 169 <div class="layui-inline hide">
170 <div class="layui-input-inline"> 170 <div class="layui-input-inline">
171 <select name="label" id="res_vendor" lay-filter="res_vendor"> 171 <select name="label" id="res_vendor" lay-filter="res_vendor">
1 <div> 1 <div>
2 <span class="el-dropdown-link" @click="showMachineRoomDialog(true)" > 2 <span class="el-dropdown-link" @click="showMachineRoomDialog(true)" >
3 - {{textString}}1111 3 + {{textString}}
4 </span> 4 </span>
5 5
6 <cm-dialog title="机房布局" :showFooter="false" :showDialogVisible="dialogFlg" @hidedialog="showMachineRoomDialog"> 6 <cm-dialog title="机房布局" :showFooter="false" :showDialogVisible="dialogFlg" @hidedialog="showMachineRoomDialog">
1 <div> 1 <div>
2 <span class="el-dropdown-link" @click="showMachineRoomDialog(true)" > 2 <span class="el-dropdown-link" @click="showMachineRoomDialog(true)" >
3 - {{textString}}2222 3 + {{textString}}
4 </span> 4 </span>
5 5
6 <cm-dialog title="机柜" :showFooter="false" :showDialogVisible="dialogFlg" @hidedialog="showMachineRoomDialog"> 6 <cm-dialog title="机柜" :showFooter="false" :showDialogVisible="dialogFlg" @hidedialog="showMachineRoomDialog">
@@ -81,7 +81,7 @@ export default { @@ -81,7 +81,7 @@ export default {
81 geo: { 81 geo: {
82 show: true, 82 show: true,
83 map: 'echarts', 83 map: 'echarts',
84 - roam: true, 84 + roam: false,
85 zoom: 1.25, 85 zoom: 1.25,
86 aspectScale:1,//地图的宽高比 86 aspectScale:1,//地图的宽高比
87 // 地图中心点的坐标, 可调节显示的偏移量 87 // 地图中心点的坐标, 可调节显示的偏移量