From fce95773a34c42f36af4372df043b144b72d6438 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 26 四月 2024 10:31:50 +0800 Subject: [PATCH] 1 --- Terra.YaoGan.Web/Terra.YaoGan.Web/html/tooljs/tool.js | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Terra.YaoGan.Web/Terra.YaoGan.Web/html/tooljs/tool.js b/Terra.YaoGan.Web/Terra.YaoGan.Web/html/tooljs/tool.js index 87de674..a908e3f 100644 --- a/Terra.YaoGan.Web/Terra.YaoGan.Web/html/tooljs/tool.js +++ b/Terra.YaoGan.Web/Terra.YaoGan.Web/html/tooljs/tool.js @@ -96,6 +96,8 @@ case "hsymfx": hsymfx(); break; + case "dataCount": + dataCount(); break; } }); $(".imgx").hover(function () { @@ -103,12 +105,27 @@ $(this).attr("src", dd); $(this).focus(); }, function () { - if($(this).attr("data-sel") == "f"){ + if ($(this).attr("data-sel") == "f") { var mr = $(this).attr("data-mr"); $(this).attr("src", mr); } }); -}) +}); + +// 缁煎悎缁熻 +var showDataCount = false; + +function dataCount() { + showDataCount = !showDataCount; + if (showDataCount) { + // TBAX.createBorderDialog("宸︿笂", url, lT.width, lT.height, lT.top, lT.left, lT.bottom, lT.right); + window.external.createPmDialogDock('showDataCount1', url + "../chart/L1.html", 530, 900, 50, 20, -1, -1); + window.external.createPmDialogDock('showDataCount2', url + "../chart/R1.html", 530, 900, 40, -1, -1, 20); + } else { + window.external.closeDialog("showDataCount1"); + window.external.closeDialog("showDataCount2"); + } +} //娲按娣规病鍒嗘瀽 function hsymfx() { -- Gitblit v1.9.3