chore:1、迁移工作日志,禅道#2326;2、迁移工作日志查看,禅道#2327
Showing
1 changed file
with
20 additions
and
0 deletions
@@ -301,6 +301,26 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'xmSelect | @@ -301,6 +301,26 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'xmSelect | ||
301 | , cols: [cols] | 301 | , cols: [cols] |
302 | , done: function (res, curr, count) { | 302 | , done: function (res, curr, count) { |
303 | 303 | ||
304 | + //指标名称点击事件 | ||
305 | + $('[data-warn-zbmc]').unbind("click").on('click', function () { | ||
306 | + var name = $(this).data("name"); | ||
307 | + var params = { | ||
308 | + resId: $(this).data("resid"), | ||
309 | + kpiId: $(this).data("kpi"), | ||
310 | + flag: $(this).data("flag"), | ||
311 | + name: name, | ||
312 | + warning: $(this).data("warning"), | ||
313 | + ident: $(this).data("ident"), | ||
314 | + trend: $(this).data("trend") | ||
315 | + }; | ||
316 | + let win = window.parent; | ||
317 | + if (win) { | ||
318 | + window.parent.postMessage({ | ||
319 | + type: 'resKpiTrendChart', | ||
320 | + message: {'title':name,'params':params} | ||
321 | + }, '*') | ||
322 | + } | ||
323 | + }); | ||
304 | } | 324 | } |
305 | }) | 325 | }) |
306 | } | 326 | } |
-
Please register or login to post a comment