From 98137eadda9575f61f684ab61c08709f4e26a9f8 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 26 四月 2024 12:28:46 +0800 Subject: [PATCH] 2024-04-26,修改统计图表 --- 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..d5a6cd6 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, 850, 100, 20, -1, -1); + window.external.createPmDialogDock('showDataCount2', url + "../chart/R1.html", 530, 850, 100, -1, -1, 20); + } else { + window.external.closeDialog("showDataCount1"); + window.external.closeDialog("showDataCount2"); + } +} //娲按娣规病鍒嗘瀽 function hsymfx() { -- Gitblit v1.9.3