...
|
...
|
@@ -121,6 +121,7 @@ layui.define(['common','sessions','commonDetail','mxClient','cascader'], functio |
|
|
loadTopoResAlarmTop5(topoId);
|
|
|
|
|
|
//加载拓扑
|
|
|
//xwx 2021-10-19 拓扑视图下拉选择框默认回填 --start
|
|
|
admin.req({
|
|
|
url:common.domainName + '/api-web/mxgraph/findByJtopoId',
|
|
|
data:{flag:false,jtopoId:topoId}
|
...
|
...
|
@@ -133,6 +134,7 @@ layui.define(['common','sessions','commonDetail','mxClient','cascader'], functio |
|
|
nodeInfo = res.map;
|
|
|
|
|
|
if (res.object.topoName) {
|
|
|
$("#mxgraph_topoTree").val(res.object.topoName);
|
|
|
// $("#mxgraph-topoTitle").text(" - " + res.object.topoName);
|
|
|
}
|
|
|
// 拓扑背景及样式
|
...
|
...
|
@@ -305,6 +307,8 @@ layui.define(['common','sessions','commonDetail','mxClient','cascader'], functio |
|
|
$('#viewGraphContainer').addClass('hide');
|
|
|
$('#newViewGraphContainer').removeClass('hide');
|
|
|
if (res.object.topoName) {
|
|
|
$("#mxgraph_topoTree").val(res.object.topoName);
|
|
|
//xwx 2021-10-29 拓扑视图下拉选择框默认回填 --end
|
|
|
// $("#mxgraph-topoTitle").text(" - " + res.object.topoName);
|
|
|
}
|
|
|
$('#newViewGraphContainer iframe').attr('src', `${common.graphEditorOrigin}/jgraph/grapheditor/viewer.html?access_token=${accessToken}&id=${topoId}`);
|
...
|
...
|
|