Browse Source

综合分析

v6
yanyan 1 year ago
parent
commit
d3734f6f79
  1. 5
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/overall-analysis.html
  2. 2
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/single-analysis.html

5
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<datas.length; i++) {
if (datas[i].zone==='4') {
if (datas[i].zone===4) {
streetHtml += '<a class="selitem">'+datas[i].deptName+'</a>'
}
if (datas[i].zone==='3') {
if (datas[i].zone===3) {
districtHtml += '<a class="selitem">'+datas[i].deptName+'</a>'
}
}

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

Loading…
Cancel
Save