Browse Source

综合分析

v6
yanyan 1 year ago
parent
commit
37eb0db587
  1. 24
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/scripts/charts-analyov.js

24
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/scripts/charts-analyov.js

@ -27,11 +27,11 @@ var complaint_order_chart = null;
var bureau_order_chart = null;
/** 各区综合分析 */
function sixIndicators_area(deptId, area) {
function sixIndicators_area(deptId, area,beginTime,endTime,) {
$.ajax({
url: ctx + "code/statisticalPanel/sixIndicators_area",
type: "get",
data: {dateType: "year", year:"2025", deptId: deptId, qy: area},
data: {dateType: "year", year:"2025", deptId: deptId, qy: area,beginTime: beginTime,endTime: endTime},
success: function(res) {
if(res.success) {
// chartArea(res.data);
@ -165,12 +165,12 @@ function sixIndicators_area(deptId, area) {
}
/** 检查类别数量及占比 */
function reg_type(deptId) {
function reg_type(deptId,beginTime,endTime) {
$.ajax({
// url: ctx + "code/registration/echarts1",
url: ctx + "code/statisticalPanel/staisticalCheck_category",
type: "get",
data: {year: '2025', dateType: 'year', deptId: deptId},
data: {year: '2025', dateType: 'year', deptId: deptId,beginTime: beginTime,endTime: endTime},
success: function(res) {
var types = []
for (var i=0; i<res.data.length; i++) {
@ -188,12 +188,12 @@ function reg_type(deptId) {
}
/** 企业类别数量及占比 */
function enterprise_type(deptId) {
function enterprise_type(deptId,beginTime,endTime) {
$.ajax({
url: ctx + "code/statisticalPanel/staisticalEnterprise_category",
// url: ctx + "code/statisticsEnterprise/type",
type: "get",
data: {year: '2025', dateSearch: 'year', deptId: deptId},
data: {year: '2025', dateSearch: 'year', deptId: deptId,beginTime: beginTime,endTime: endTime},
success: function(res) {
var types = []
for (var i=0; i<res.data.length; i++) {
@ -211,12 +211,12 @@ function enterprise_type(deptId) {
}
/** 投诉类别数量及占比 */
function complaint_type(deptId) {
function complaint_type(deptId,beginTime,endTime) {
$.ajax({
// url: ctx + "code/complaintStatic/list2",
url: ctx + "code/statisticalPanel/staisticalEnforce_type",
type: "get",
data: {dateType:'year', year:'2025', deptId: deptId},
data: {dateType:'year', year:'2025', deptId: deptId,beginTime: beginTime,endTime: endTime},
success: function(res) {
var types = []
for (var i = 0; i < res.data.length; i++) {
@ -234,11 +234,11 @@ function complaint_type(deptId) {
}
/** 被检查企业次数排行 */
function reg_order(deptId) {
function reg_order(deptId,beginTime,endTime) {
$.ajax({
url: ctx + "code/statisticalPanel/staisticalRegistration_order",
type: "get",
data: {dateType:'year', year:'2025', deptId: deptId},
data: {dateType:'year', year:'2025', deptId: deptId,beginTime: beginTime,endTime: endTime},
success: function(res) {
var datas = res.data;
var top_num = 10;
@ -261,7 +261,7 @@ function reg_order(deptId) {
}
/** 被投诉单位排行 */
function complaint_order(deptId) {
function complaint_order(deptId,beginTime,endTime) {
$.ajax({
url: ctx + "code/statisticalPanel/staisticalComplaint_order",
type: "get",
@ -289,7 +289,7 @@ function complaint_order(deptId) {
}
/** 执法检查数量排行 */
function bureau_order(deptId) {
function bureau_order(deptId,beginTime,endTime) {
$.ajax({
url: ctx + "code/statisticalPanel/staisticalBureau_order",
type: "get",

Loading…
Cancel
Save