Authored by wangtao

fix: 卡片视图增加列表视图参数:classify

@@ -183,6 +183,7 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions @@ -183,6 +183,7 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions
183 var bizId = $(this).data("id"); 183 var bizId = $(this).data("id");
184 var topoId = $(this).data("topoid"); 184 var topoId = $(this).data("topoid");
185 var resNum = $(this).data("resnum"); 185 var resNum = $(this).data("resnum");
  186 + var classify = $(this).data("classify");
186 // render(topoId,bizId); 187 // render(topoId,bizId);
187 currentBizId = $(this).data("id"); 188 currentBizId = $(this).data("id");
188 189
@@ -219,8 +220,9 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions @@ -219,8 +220,9 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions
219 message: { 220 message: {
220 'type':"JumpToAlarmManagement", 221 'type':"JumpToAlarmManagement",
221 params:{ 222 params:{
222 - "tag":"BUS",  
223 - "id":bizId 223 + "tag": "BUS",
  224 + "id": bizId,
  225 + classify: classify
224 } 226 }
225 } 227 }
226 }, '*') 228 }, '*')
@@ -256,7 +258,8 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions @@ -256,7 +258,8 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions
256 'type':"JumpToListView", 258 'type':"JumpToListView",
257 params:{ 259 params:{
258 "tag":"BUS", 260 "tag":"BUS",
259 - "id":bizId 261 + "id":bizId,
  262 + classify: classify
260 } 263 }
261 } 264 }
262 }, '*') 265 }, '*')
@@ -295,6 +298,7 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions @@ -295,6 +298,7 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions
295 $("#indexbizhealth [data-index-banner-item='type'] .gj-detail-info li").unbind('click').on("click", function () { 298 $("#indexbizhealth [data-index-banner-item='type'] .gj-detail-info li").unbind('click').on("click", function () {
296 var level = $(this).data("level"); 299 var level = $(this).data("level");
297 var _bizId = $(this).data("bizid"); 300 var _bizId = $(this).data("bizid");
  301 + var classify = $(this).data("classify");
298 var _resType = $(this).data("restype"); 302 var _resType = $(this).data("restype");
299 var alarmTotal = $(this).find("b").text(); 303 var alarmTotal = $(this).find("b").text();
300 if (alarmTotal === '0') { 304 if (alarmTotal === '0') {
@@ -309,9 +313,8 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions @@ -309,9 +313,8 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions
309 'type':"JumpToListView", 313 'type':"JumpToListView",
310 params:{ 314 params:{
311 "tag":"BUS", 315 "tag":"BUS",
312 - "_resType":_resType,  
313 - "level":level,  
314 - "id":_bizId 316 + "id":_bizId,
  317 + classify: classify
315 } 318 }
316 } 319 }
317 }, '*'); 320 }, '*');
@@ -348,15 +348,15 @@ @@ -348,15 +348,15 @@
348 <!-- <b>{{item.resNUm}}</b>--> 348 <!-- <b>{{item.resNUm}}</b>-->
349 <!-- <div>资源量</div>--> 349 <!-- <div>资源量</div>-->
350 <!-- </li>--> 350 <!-- </li>-->
351 - <li data-bizid="{{item.busId}}" data-restype="HOST"> 351 + <li data-bizid="{{item.busId}}" data-restype="HOST" data-classify="{{item.classify}}">
352 <b>{{item.hostNum}}</b> 352 <b>{{item.hostNum}}</b>
353 <div>操作系统</div> 353 <div>操作系统</div>
354 </li> 354 </li>
355 - <li data-bizid="{{item.busId}}" data-restype="MIDDLEWARE"> 355 + <li data-bizid="{{item.busId}}" data-restype="MIDDLEWARE" data-classify="{{item.classify}}">
356 <b>{{item.middwareNum}}</b> 356 <b>{{item.middwareNum}}</b>
357 <div>中间件</div> 357 <div>中间件</div>
358 </li> 358 </li>
359 - <li data-bizid="{{item.busId}}" data-restype="DATABASE"> 359 + <li data-bizid="{{item.busId}}" data-restype="DATABASE" data-classify="{{item.classify}}">
360 <b>{{item.databaseNum}}</b> 360 <b>{{item.databaseNum}}</b>
361 <div>数据库</div> 361 <div>数据库</div>
362 </li> 362 </li>