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"); } /** 时间维度 */