From d3734f6f794adf88bcbec2c74952add4d12a3c19 Mon Sep 17 00:00:00 2001 From: yanyan Date: Wed, 28 May 2025 19:25:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=BC=E5=90=88=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/project/code/statistical/overall-analysis.html | 5 +++-- .../templates/project/code/statistical/single-analysis.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/overall-analysis.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/overall-analysis.html index 34a0c494..4ecde183 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/overall-analysis.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/overall-analysis.html @@ -442,15 +442,16 @@ dataType: 'json', contentType: "application/json", success: function(res) { + debugger var streetHtml = ''; var districtHtml = ''; if(res.success) { const datas = res.data; for(var i=0; i' } - if (datas[i].zone==='3') { + if (datas[i].zone===3) { districtHtml += ''+datas[i].deptName+'' } } diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/single-analysis.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/single-analysis.html index 42f93023..c8b407f8 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/single-analysis.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/single-analysis.html @@ -482,7 +482,7 @@ $.ajax({ url: ctx + "code/statisticalPanel/queryDept", type: "post", - data: JSON.stringify({"zone": "1"}), + data: JSON.stringify({"zone": 1}), dataType: 'json', contentType: "application/json", success: function(res) {