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) {