From af8909f82147723d44c7423cc6c785475f9d7a94 Mon Sep 17 00:00:00 2001 From: shil <452061493@qq.com> Date: Tue, 22 Jul 2025 11:46:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/project/code/statistical/home.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/home.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/home.html index 87e073e4..d3a07bc1 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/home.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/home.html @@ -373,7 +373,7 @@ function area_registration() { base_html += ' '; base_html += ' '; base_html += ' '; @@ -575,9 +575,14 @@ function analysis_njc_all() { function showDetail(idx, aElement) { var ame = $(aElement); - // ame.attr("flag", "1"); var aflag = ame.attr("flag"); var foldCoutArray = $(".fold_cont"); + for (let i = 0; i < 11; i++) { + if ((idx-1) != i) { + foldCoutArray.eq(i).attr("flag", "1"); + } + foldCoutArray.eq(i).hide(); + } if (aflag == "1") { foldCoutArray.eq(idx).show(); ame.attr("flag", "0"); @@ -587,6 +592,8 @@ function showDetail(idx, aElement) { ame.attr("flag", "1"); $(this).removeClass("active") } + // $(aElement).addClass("flag").siblings().removeClass("flag"); + // $(aElement).addClass("active").siblings().removeClass("active"); } /** 时间维度 */