diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_homebody.jpg b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_homebody.jpg new file mode 100644 index 00000000..92636bc8 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_homebody.jpg differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tip.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tip.png new file mode 100644 index 00000000..45c2dfcb Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tip.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tip_line.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tip_line.png new file mode 100644 index 00000000..ac1dca7f Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tip_line.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tit.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tit.png new file mode 100644 index 00000000..6e7efaa3 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tit.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tit3.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tit3.png new file mode 100644 index 00000000..cdf48525 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/bg_tit3.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_data1.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_data1.png new file mode 100644 index 00000000..5e321b06 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_data1.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_data2.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_data2.png new file mode 100644 index 00000000..0e182c13 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_data2.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_dept50.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_dept50.png new file mode 100644 index 00000000..1daffbed Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_dept50.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_dist50.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_dist50.png new file mode 100644 index 00000000..f8f84f3b Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_dist50.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_dist50_1.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_dist50_1.png new file mode 100644 index 00000000..2be576f6 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_dist50_1.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_jc.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_jc.png new file mode 100644 index 00000000..510349d9 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_jc.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_posit.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_posit.png new file mode 100644 index 00000000..e57516be Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_posit.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_posit50.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_posit50.png new file mode 100644 index 00000000..520e6f00 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_posit50.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_qy.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_qy.png new file mode 100644 index 00000000..e37173f7 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_qy.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_ts.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_ts.png new file mode 100644 index 00000000..9acfb483 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_ts.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_yg.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_yg.png new file mode 100644 index 00000000..830185ad Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icon_yg.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icontop_home.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icontop_home.png new file mode 100644 index 00000000..992cd9e9 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/icontop_home.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/line_vert.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/line_vert.png new file mode 100644 index 00000000..29ad69ef Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/line_vert.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/szmap_3d.png b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/szmap_3d.png new file mode 100644 index 00000000..f9fe3928 Binary files /dev/null and b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/images/szmap_3d.png differ diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/scripts/charts-analyov-bak.js b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/scripts/charts-analyov-bak.js new file mode 100644 index 00000000..ed97f146 --- /dev/null +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/static/statistical/scripts/charts-analyov-bak.js @@ -0,0 +1,1194 @@ +//*****************统计分析图表 + +// $(function(){ +// sixIndicators_area(); +// reg_type(); +// enterprise_type(); +// complaint_type(); +// reg_order(); +// complaint_order(); +// bureau_order(); +// }); + +var chartArea_option = null; +var reg_type_option = null; +var enterprise_type_option = null; +var complaint_type_option = null; +var reg_order_option = null; +var complaint_order_option = null; +var bureau_order_option = null; + +/** 各区综合分析 */ +function sixIndicators_area(qy) { + $.ajax({ + url: ctx + "code/statisticalPanel/sixIndicators_area", + type: "get", + data: {dateType: "year", year:"2025", qy:qy}, + success: function(res) { + if(res.success) { + chartArea(res.data); + } + }, + error: function (error) { + $.modal.alertWarning("获取分析数据失败。"); + } + }); +} + +/** 检查类别数量及占比 */ +function reg_type(qy) { + $.ajax({ + url: ctx + "code/registration/echarts1", + type: "post", + data: {year: '2025', dateSearch: 'year', qy:qy}, + success: function(res) { + chartRegType(res); + }, + error: function (error) { + $.modal.alertWarning("获取分析数据失败。"); + } + }); +} + +/** 企业类别数量及占比 */ +function enterprise_type(qy) { + $.ajax({ + url: ctx + "code/statisticsEnterprise/type", + type: "get", + data: {qy:qy}, + success: function(res) { + chartEnterpriseType(res); + }, + error: function (error) { + $.modal.alertWarning("获取分析数据失败。"); + } + }); +} + +/** 投诉类别数量及占比 */ +function complaint_type(qy) { + $.ajax({ + url: ctx + "code/complaintStatic/list2", + type: "post", + data: {dateSearch:'year', year:'2025', qy:qy}, + success: function(res) { + chartComplaintType(res.rows); + }, + error: function (error) { + $.modal.alertWarning("获取分析数据失败。"); + } + }); +} + +/** 被检查企业次数排行 */ +function reg_order(qy) { + $.ajax({ + url: ctx + "code/statisticalPanel/staisticalRegistration_order", + type: "get", + data: {dateType:'year', year:'2025', qy:qy}, + success: function(res) { + chartReg_order(res.data); + }, + error: function (error) { + $.modal.alertWarning("获取分析数据失败。"); + } + }); +} + +/** 被投诉单位排行 */ +function complaint_order(qy) { + $.ajax({ + url: ctx + "code/statisticalPanel/staisticalComplaint_order", + type: "get", + data: {dateType:'year', year:'2025', qy:qy}, + success: function(res) { + chartComplaint_order(res.data); + }, + error: function (error) { + $.modal.alertWarning("获取分析数据失败。"); + } + }); +} + +/** 执法检查数量排行 */ +function bureau_order(qy) { + $.ajax({ + url: ctx + "code/statisticalPanel/staisticalBureau_order", + type: "get", + data: {dateType:'year', year:'2025', qy:qy}, + success: function(res) { + chartBureau_order(res.data); + }, + error: function (error) { + $.modal.alertWarning("获取分析数据失败。"); + } + }); +} + + +/*******综合数据***********/ + + +// 基于准备好的dom,初始化echarts实例 +function chartArea(datas) { + var areas = []; + var registrations = []; + var unite_registrations = []; + var lawEnforcements = []; + var complaints = []; + var warnings = []; + var enterprises = []; + for(var i=0; i: ', datas); + var top_num = 10; + if (datas.length < top_num) top_num = datas.length; + var names = []; + var nums = []; + for (var i=0; i