From 897b48c6d2cb2f0dc4788260f3de0b7758a37e5d Mon Sep 17 00:00:00 2001 From: xwx <1594082401@qq.com> Date: Mon, 21 Mar 2022 19:07:54 +0800 Subject: [PATCH] 拓补视图告警查看bug修改 --- hg-monitor-web-qh/src/main/resources/static/src/controller/common.js | 11 +++++++++++ 1 file changed, 11 insertions(+), 0 deletions(-) diff --git a/hg-monitor-web-qh/src/main/resources/static/src/controller/common.js b/hg-monitor-web-qh/src/main/resources/static/src/controller/common.js index 6c8aa56..b8fc4f1 100644 --- a/hg-monitor-web-qh/src/main/resources/static/src/controller/common.js +++ b/hg-monitor-web-qh/src/main/resources/static/src/controller/common.js @@ -1290,6 +1290,17 @@ layui.define(['xmSelect', 'md5'], function (exports) { param = "=" + encodeURIComponent(layHref.split('=')[1]); } alink.setAttribute("lay-href",layHref.split('=')[0] + param); + document.body.appendChild(alink); + alink.click(); + document.body.removeChild(alink); + }, + openMxgraph: function (layHref) { + var alink = document.createElement('a'); + var param = ''; + if (layHref.indexOf('=') !== -1) { + param = "=" + encodeURIComponent(layHref.split('=')[1]); + } + alink.setAttribute("lay-href",layHref.split('=')[0] + param); admin.req({ url: obj.domainName + '/api-web/mxgraph/getJtopoInfoById/'+layHref.split('=')[2], success(response) { -- libgit2 0.24.0