Authored by 王涛

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

杭州-首页-置顶业务后,点击取消置顶业务,下方按资源类型维度展示小卡片消失



See merge request !165
... ... @@ -300,7 +300,6 @@ layui.define(['common', 'swiper', 'admin','commonDetail','mxClient','sessions','
$(".index-line").show();
layui.use('laytpl', function () {
var laytpl = layui.laytpl;
//加载资源类型导航
var getResTypeTpl = document.getElementById("indexResTypeTabTpl").innerHTML;
laytpl(getResTypeTpl).render(data, function (html) {
... ... @@ -530,15 +529,14 @@ layui.define(['common', 'swiper', 'admin','commonDetail','mxClient','sessions','
, done: function (res) {
if(res.success){
layer.msg("取消置顶成功",{icon:1,time:2000});
if(mark == "resType"){
loadResTypeInfo()
}else {
loadBizInfo();
}
//同时刷新业务和资源类型
loadBizInfo();
loadResTypeInfo();
}
}
})
}
//渲染拓扑
function renderMxgraphView(topoId) {
... ...