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 |   29 ++++++++++++++++++++++++++---
 1 files changed, 26 insertions(+), 3 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 e5594ad..d5a6cd6 100644
--- a/Terra.YaoGan.Web/Terra.YaoGan.Web/html/tooljs/tool.js
+++ b/Terra.YaoGan.Web/Terra.YaoGan.Web/html/tooljs/tool.js
@@ -93,6 +93,11 @@
             case "qtyzl":
                 qtyzl();
                 break;
+            case "hsymfx":
+                hsymfx();
+                break;
+            case "dataCount":
+                dataCount(); break;
         }
     });
     $(".imgx").hover(function () {
@@ -100,14 +105,32 @@
         $(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() {
+    sgworld.Command.Execute(1044, 0);
+}
 
 var url = window.location.href.substring(0, window.location.href.lastIndexOf('/') + 1);
 //缁樺埗
@@ -244,7 +267,7 @@
 
 function fzdx() {
     if (fzdxStatus) {
-        window.external.createPmDialogDock('tool', url + "tool/DuplicateObjects.html?lang=fzdx", 320, 300, 50, -1, -1, 10);
+        window.external.createPmDialogDock('tool', url + "tool/DuplicateObjects.html?lang=fzdx", 320, 260, 50, -1, -1, 10);
         fzdxStatus = false;
     } else {
         window.external.closeDialog("imgSelect");

--
Gitblit v1.9.3